|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.beans.PropertyEditorSupport
griffon.core.resources.editors.AbstractPropertyEditor
griffon.javafx.editors.ColorPropertyEditor
public class ColorPropertyEditor extends AbstractPropertyEditor
| Constructor Summary | |
ColorPropertyEditor()
|
|
| Method Summary | |
|---|---|
private double
|
getMapValue(Map map, String key, double defaultValue)
|
private void
|
handleAsList(List list)
|
private void
|
handleAsMap(Map map)
|
private void
|
handleAsNumber(Number value)
|
private void
|
handleAsString(String str)
|
private double
|
parse(String val)
|
private double
|
parse(Number val)
|
void
|
setAsText(String text)
|
void
|
setValue(Object value)
|
| Methods inherited from class AbstractPropertyEditor | |
|---|---|
| getValue, setValue, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, getSource, setSource, getAsText, isPaintable, paintValue, getJavaInitializationString, setAsText, getTags, getCustomEditor, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Methods inherited from class PropertyEditorSupport | |
|---|---|
| getValue, setValue, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, getSource, setSource, getAsText, isPaintable, paintValue, getJavaInitializationString, setAsText, getTags, getCustomEditor, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
ColorPropertyEditor()
| Method Detail |
|---|
private double getMapValue(Map map, String key, double defaultValue)
private void handleAsList(List list)
private void handleAsMap(Map map)
private void handleAsNumber(Number value)
private void handleAsString(String str)
private double parse(String val)
private double parse(Number val)
public void setAsText(String text)
public void setValue(Object value)
Groovy Documentation