Gephi Toolkit Javadoc

org.gephi.preview.types.propertyeditors
Class BasicEdgeColorPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.gephi.preview.types.propertyeditors.BasicEdgeColorPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class BasicEdgeColorPropertyEditor
extends java.beans.PropertyEditorSupport

Basic PropertyEditor for EdgeColor. It is necessary to define this basic editor without CustomEditor support in order to deserialize EdgeColor values from a project file when the full editor (from DesktopPreview module) is not available (when using the toolkit or when the Preview UI is not loaded yet).

Author:
Mathieu Bastian

Constructor Summary
BasicEdgeColorPropertyEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 void setAsText(java.lang.String s)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicEdgeColorPropertyEditor

public BasicEdgeColorPropertyEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String s)
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport

Gephi Toolkit Javadoc