public class BasicEdgeColorPropertyEditor extends PropertyEditorSupport
PropertyEditor
for EdgeColor
. It is necessary
to define this basic editor without CustomEditor support in order to
deserialize EdgeColor
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 |
---|
BasicEdgeColorPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
String |
getAsText() |
void |
setAsText(String s) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String s)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
Copyright © 2007–2015 Gephi Consortium. All rights reserved.