Package org.gephi.preview.types.editors
Class BasicDependantColorPropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.gephi.preview.types.editors.BasicDependantColorPropertyEditor
-
- All Implemented Interfaces:
PropertyEditor
public class BasicDependantColorPropertyEditor extends PropertyEditorSupport
BasicPropertyEditor
forDependantColor
. It is necessary to define this basic editor without CustomEditor support in order to deserializeDependantColor
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
Constructors Constructor Description BasicDependantColorPropertyEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsText()
void
setAsText(String s)
boolean
supportsCustomEditor()
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
-
-
-
-
Method Detail
-
getAsText
public String getAsText()
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-
setAsText
public void setAsText(String s)
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
-
-