Groovy Documentation

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

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

public class YearsPropertyEditor
extends AbstractPropertyEditor

Authors:
Andres Almiray


Constructor Summary
YearsPropertyEditor()

 
Method Summary
protected String getAsTextInternal()

String getFormattedValue()

private void handleAsString(String str)

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

protected void setValueInternal(Object value)

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

Constructor Detail

YearsPropertyEditor

YearsPropertyEditor()


 
Method Detail

getAsTextInternal

protected String getAsTextInternal()


getFormattedValue

public String getFormattedValue()


handleAsString

private void handleAsString(String str)


parse

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


setValueInternal

protected void setValueInternal(Object value)


 

Groovy Documentation