Groovy Documentation

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

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

public class MonthsPropertyEditor
extends AbstractPropertyEditor

Authors:
Andres Almiray


Constructor Summary
MonthsPropertyEditor()

 
Method Summary
protected String getAsTextInternal()

String getFormattedValue()

private void handleAsString(String str)

private org.joda.time.Months parse(Number number)

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

MonthsPropertyEditor

MonthsPropertyEditor()


 
Method Detail

getAsTextInternal

protected String getAsTextInternal()


getFormattedValue

public String getFormattedValue()


handleAsString

private void handleAsString(String str)


parse

private org.joda.time.Months parse(Number number)


setValueInternal

protected void setValueInternal(Object value)


 

Groovy Documentation