Groovy Documentation

griffon.plugins.jodatime.editors
[Java] Class IntervalPropertyEditor

java.lang.Object
  java.beans.PropertyEditorSupport
      griffon.core.resources.editors.AbstractPropertyEditor
          griffon.plugins.jodatime.editors.IntervalPropertyEditor

public class IntervalPropertyEditor
extends AbstractPropertyEditor

Authors:
Andres Almiray


Constructor Summary
IntervalPropertyEditor()

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

private void handleAsList(List list)

private void handleAsMap(Map map)

private void handleAsString(String str)

private long parse(String val)

private long parse(Number number)

private long parseValue(Object value)

protected void setValueInternal(Object value)

 
Methods inherited from class AbstractPropertyEditor
setValue, setFormat, getFormat, getAsText, setAsText, getFormattedValue, setFormattedValue, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, getSource, setSource, getValue, getTags, isPaintable, paintValue, getCustomEditor, getJavaInitializationString, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class PropertyEditorSupport
setValue, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, getSource, setSource, getValue, getTags, getAsText, isPaintable, setAsText, paintValue, getCustomEditor, getJavaInitializationString, supportsCustomEditor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

IntervalPropertyEditor

IntervalPropertyEditor()


 
Method Detail

getMapValue

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


handleAsList

private void handleAsList(List list)


handleAsMap

private void handleAsMap(Map map)


handleAsString

private void handleAsString(String str)


parse

private long parse(String val)


parse

private long parse(Number number)


parseValue

private long parseValue(Object value)


setValueInternal

protected void setValueInternal(Object value)


 

Groovy Documentation