public class BasicDependantOriginalColorPropertyEditor extends PropertyEditorSupport
PropertyEditor for DependantOriginalColor. It
is necessary to define this basic editor without CustomEditor support in
order to deserialize DependantOriginalColor 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 |
|---|
BasicDependantOriginalColorPropertyEditor() |
| 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 BasicDependantOriginalColorPropertyEditor()
public 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.