Groovy Documentation

griffon.swing.editors
[Java] Class GradientPaintPropertyEditor

java.lang.Object
  java.beans.PropertyEditorSupport
      griffon.core.resources.editors.AbstractPropertyEditor
          griffon.swing.editors.GradientPaintPropertyEditor

public class GradientPaintPropertyEditor
extends AbstractPropertyEditor

Authors:
Andres Almiray
Alexander Klein
Since:
1.1.0


Constructor Summary
GradientPaintPropertyEditor()

 
Method Summary
private Object getMapValue(Map map, String key, Object defaultValue)

private void handleAsList(List list)

private void handleAsMap(Map map)

private void handleAsString(String str)

private float parse(String val)

private int parse(Number val)

private boolean parseBoolean(String val)

private float parseValue(Object value)

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

GradientPaintPropertyEditor

GradientPaintPropertyEditor()


 
Method Detail

getMapValue

private Object getMapValue(Map map, String key, Object defaultValue)


handleAsList

private void handleAsList(List list)


handleAsMap

private void handleAsMap(Map map)


handleAsString

private void handleAsString(String str)


parse

private float parse(String val)


parse

private int parse(Number val)


parseBoolean

private boolean parseBoolean(String val)


parseValue

private float parseValue(Object value)


setAsText

public void setAsText(String text)


setValue

public void setValue(Object value)


 

Groovy Documentation