Package org.gephi.preview.types.editors
Class BasicDependantColorPropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.gephi.preview.types.editors.AbstractColorPropertyEditor
-
- org.gephi.preview.types.editors.BasicDependantColorPropertyEditor
-
- All Implemented Interfaces:
PropertyEditor
public class BasicDependantColorPropertyEditor extends AbstractColorPropertyEditor
BasicPropertyEditorforDependantColor. It is necessary to define this basic editor without CustomEditor support in order to deserializeDependantColorvalues 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 StringgetAsText()voidsetAsText(String s)booleansupportsCustomEditor()-
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:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
setAsText
public void setAsText(String s)
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
-