public class BasicDependantColorPropertyEditor extends PropertyEditorSupport
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).| Constructor and Description |
|---|
BasicDependantColorPropertyEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
private boolean |
matchColorMode(String s,
String identifier) |
void |
setAsText(String s) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValuepublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic void setAsText(String s)
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportCopyright © 2007–2016 Gephi Consortium. All rights reserved.