Gephi Toolkit Javadoc

org.gephi.preview.types.propertyeditors
Class BasicDependantColorPropertyEditor

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

public class BasicDependantColorPropertyEditor
extends java.beans.PropertyEditorSupport

Basic PropertyEditor for DependantColor. It is necessary to define this basic editor without CustomEditor support in order to deserialize DependantColor 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
BasicDependantColorPropertyEditor()
           
 
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

BasicDependantColorPropertyEditor

public BasicDependantColorPropertyEditor()
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