java.lang.Object
java.beans.PropertyEditorSupport
org.jxbeans.utilities.LogPriorityPropertyEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor
- public class LogPriorityPropertyEditor
- extends java.beans.PropertyEditorSupport
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, 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 |
LogPriorityPropertyEditor
public LogPriorityPropertyEditor()
getTags
public java.lang.String[] getTags()
- Description copied from class:
java.beans.PropertyEditorSupport
- Returns a list of possible choices for the value.
setAsText
public void setAsText(java.lang.String aString)
throws java.lang.IllegalArgumentException
- Description copied from class:
java.beans.PropertyEditorSupport
- Sets the value as text.
In this class, you cannot count on setAsText() doing
anything useful across implementations.
Implementation Note: In this
implementation it checks if the String is "null", and
if it is, sets the value to null, otherwise it throws
an IllegalArgumentException.