Groovy Documentation

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

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

public class SecondsPropertyEditor
extends AbstractPropertyEditor

Authors:
Andres Almiray


Constructor Summary
SecondsPropertyEditor()

 
Method Summary
protected String getAsTextInternal()

String getFormattedValue()

private void handleAsString(String str)

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

SecondsPropertyEditor

SecondsPropertyEditor()


 
Method Detail

getAsTextInternal

protected String getAsTextInternal()


getFormattedValue

public String getFormattedValue()


handleAsString

private void handleAsString(String str)


parse

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


setValueInternal

protected void setValueInternal(Object value)


 

Groovy Documentation