org.apache.mina.integration.beans
Class LongEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.mina.integration.beans.AbstractPropertyEditor
          extended by org.apache.mina.integration.beans.NumberEditor
              extended by org.apache.mina.integration.beans.LongEditor
All Implemented Interfaces:
PropertyEditor

public class LongEditor
extends NumberEditor

A PropertyEditor which converts a String into a Long and vice versa.

Author:
Apache MINA Project

Constructor Summary
LongEditor()
           
 
Method Summary
protected  Object defaultValue()
           
protected  Object toValue(String text, int radix)
           
 
Methods inherited from class org.apache.mina.integration.beans.NumberEditor
toText, toValue
 
Methods inherited from class org.apache.mina.integration.beans.AbstractPropertyEditor
defaultText, getAsText, getValue, setAsText, setTrimText, setValue
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongEditor

public LongEditor()
Method Detail

toValue

protected Object toValue(String text,
                         int radix)
Overrides:
toValue in class NumberEditor

defaultValue

protected Object defaultValue()
Overrides:
defaultValue in class NumberEditor


Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.