net.sf.efhnbm/0 0.4 5

net.sf.efhnbm.options.classic
Class OptionPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by net.sf.efhnbm.options.classic.OptionPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

Deprecated.

@Deprecated
public class OptionPropertyEditor
extends java.beans.PropertyEditorSupport

option property editor

Version:
$Id: OptionPropertyEditor.java 40 2007-12-13 15:25:01Z anegrin $
Author:
alessandro negrin

Constructor Summary
OptionPropertyEditor()
          Deprecated. Creates a new instance of OptionPropertyEditor
 
Method Summary
 java.lang.String getAsText()
          Deprecated. map real value to choice
 java.lang.String[] getTags()
          Deprecated. get allowed values
 void setAsText(java.lang.String string)
          Deprecated. map choice to real value
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionPropertyEditor

public OptionPropertyEditor()
Deprecated. 
Creates a new instance of OptionPropertyEditor

Method Detail

getTags

public java.lang.String[] getTags()
Deprecated. 
get allowed values

Specified by:
getTags in interface java.beans.PropertyEditor
Overrides:
getTags in class java.beans.PropertyEditorSupport
Returns:
the list of available values

setAsText

public void setAsText(java.lang.String string)
               throws java.lang.IllegalArgumentException
Deprecated. 
map choice to real value

Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Parameters:
string - choosen tag
Throws:
java.lang.IllegalArgumentException - if something goes wrong

getAsText

public java.lang.String getAsText()
Deprecated. 
map real value to choice

Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport
Returns:
the choice that maps the current value

net.sf.efhnbm/0 0.4 5