|
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.swt.editors.ColorPropertyEditor
public class ColorPropertyEditor extends AbstractPropertyEditor
| Constructor Summary | |
ColorPropertyEditor()
|
|
| Method Summary | |
|---|---|
private int
|
getMapValue(Map map, String key, int defaultValue)
|
private void
|
handleAsList(List list)
|
private void
|
handleAsMap(Map map)
|
private void
|
handleAsNumber(Number value)
|
private void
|
handleAsString(String str)
|
private org.eclipse.swt.graphics.Color
|
newColor(int r, int g, int b)
|
private int
|
parse(String val)
|
private int
|
parse(Number val)
|
void
|
setAsText(String text)
|
void
|
setValue(Object value)
|
| Methods inherited from class AbstractPropertyEditor | |
|---|---|
| getValue, setValue, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, getSource, setSource, getTags, getAsText, isPaintable, paintValue, getJavaInitializationString, setAsText, getCustomEditor, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Methods inherited from class PropertyEditorSupport | |
|---|---|
| getValue, setValue, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, getSource, setSource, getTags, getAsText, isPaintable, paintValue, getJavaInitializationString, setAsText, getCustomEditor, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
ColorPropertyEditor()
| Method Detail |
|---|
private int getMapValue(Map map, String key, int defaultValue)
private void handleAsList(List list)
private void handleAsMap(Map map)
private void handleAsNumber(Number value)
private void handleAsString(String str)
private org.eclipse.swt.graphics.Color newColor(int r, int g, int b)
private int parse(String val)
private int parse(Number val)
public void setAsText(String text)
public void setValue(Object value)
Groovy Documentation