public class TLcdGridReferenceEditor
extends java.beans.PropertyEditorSupport
implements java.beans.PropertyEditor
TLcdGridReference
.Constructor and Description |
---|
TLcdGridReferenceEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
Implements PropertyEditor.getAsText.
|
java.awt.Component |
getCustomEditor()
Implements PropertyEditor.getCustomEditor.
|
java.lang.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(java.awt.Graphics gfx,
java.awt.Rectangle box)
Implements PropertyEditor.paintValue
It will draw
getAsText() in the given box. |
void |
setAsText(java.lang.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(java.lang.Object aValue) |
boolean |
supportsCustomEditor()
Implements PropertyEditor.supportsCustomEditor.
|
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, removePropertyChangeListener, setSource
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 java.beans.PropertyEditor
supportsCustomEditor
in class java.beans.PropertyEditorSupport
true
if getValue()
!= null
.PropertyEditor.supportsCustomEditor()
public java.awt.Component getCustomEditor()
getCustomEditor
in interface java.beans.PropertyEditor
getCustomEditor
in class java.beans.PropertyEditorSupport
TLcdGridRefCustomizer
TLcdGridReferenceCustomizer
,
PropertyEditor.getCustomEditor()
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
getValue().toString()
.PropertyEditor.getAsText()
,
setAsText(java.lang.String)
public void setValue(java.lang.Object aValue)
setValue
in interface java.beans.PropertyEditor
setValue
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
PropertyEditor.setAsText(java.lang.String)
,
getAsText()
public java.lang.String getJavaInitializationString()
getJavaInitializationString
in interface java.beans.PropertyEditor
getJavaInitializationString
in class java.beans.PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface java.beans.PropertyEditor
isPaintable
in class java.beans.PropertyEditorSupport
true
PropertyEditor.isPaintable()
public void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box)
getAsText()
in the given box.paintValue
in interface java.beans.PropertyEditor
paintValue
in class java.beans.PropertyEditorSupport
PropertyEditor.paintValue(java.awt.Graphics, java.awt.Rectangle)