public class TLcdGridReferenceEditor extends PropertyEditorSupport implements PropertyEditor
TLcdGridReference
.Constructor and Description |
---|
TLcdGridReferenceEditor() |
Modifier and Type | Method and Description |
---|---|
String |
getAsText()
Implements PropertyEditor.getAsText.
|
Component |
getCustomEditor()
Implements PropertyEditor.getCustomEditor.
|
String |
getJavaInitializationString() |
boolean |
isPaintable()
Implements PropertyEditor.isPaintable.
|
boolean |
isTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
paintValue(Graphics gfx,
Rectangle box)
Implements PropertyEditor.paintValue
It will draw
getAsText() in the given box. |
void |
setAsText(String text)
Implements PropertyEditor.setAsText.
|
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setTraceOn(boolean aTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setValue(Object aValue) |
boolean |
supportsCustomEditor()
Implements PropertyEditor.supportsCustomEditor.
|
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, removePropertyChangeListener, setSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getTags, getValue, removePropertyChangeListener
public static void setClassTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public void setTraceOn(boolean aTraceOn)
true
or false
as argument automatically turns
off tracing for all other class instances for which
setTraceOn
has not been called.
If the argument is false
then only the informative, warning
and error log messages are recorded.aTraceOn
- if true then all log messages are recorded for this
instance. If false, then only the informative, warning and
error log messages are recorded.public boolean isTraceOn()
true
if tracing is enabled for this class.public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
true
if getValue()
!= null
.PropertyEditor.supportsCustomEditor()
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
TLcdGridRefCustomizer
TLcdGridReferenceCustomizer
,
PropertyEditor.getCustomEditor()
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
getValue().toString()
.PropertyEditor.getAsText()
,
setAsText(java.lang.String)
public void setValue(Object aValue)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
PropertyEditor.setAsText(java.lang.String)
,
getAsText()
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
true
PropertyEditor.isPaintable()
public void paintValue(Graphics gfx, Rectangle box)
getAsText()
in the given box.paintValue
in interface PropertyEditor
paintValue
in class PropertyEditorSupport
PropertyEditor.paintValue(java.awt.Graphics, java.awt.Rectangle)