Groovy Documentation

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

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

public class WeeksPropertyEditor
extends AbstractPropertyEditor

Authors:
Andres Almiray


Constructor Summary
WeeksPropertyEditor()

 
Method Summary
protected String getAsTextInternal()

String getFormattedValue()

private void handleAsString(String str)

private org.joda.time.Weeks 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

WeeksPropertyEditor

WeeksPropertyEditor()


 
Method Detail

getAsTextInternal

protected String getAsTextInternal()


getFormattedValue

public String getFormattedValue()


handleAsString

private void handleAsString(String str)


parse

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


setValueInternal

protected void setValueInternal(Object value)


 

Groovy Documentation