Package com.luciad.reference
Class TLcdGridReferenceEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.luciad.reference.TLcdGridReferenceEditor
- All Implemented Interfaces:
PropertyEditor
Editor support for a
TLcdGridReference
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionImplements PropertyEditor.getAsText.Implements PropertyEditor.getCustomEditor.boolean
Implements PropertyEditor.isPaintable.boolean
Deprecated.This method has been deprecated.void
paintValue
(Graphics gfx, Rectangle box) Implements PropertyEditor.paintValue It will drawgetAsText()
in the given box.void
Implements PropertyEditor.setAsText.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setTraceOn
(boolean aTraceOn) Deprecated.This method has been deprecated.void
boolean
Implements PropertyEditor.supportsCustomEditor.Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, removePropertyChangeListener, setSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getTags, getValue, removePropertyChangeListener
-
Constructor Details
-
TLcdGridReferenceEditor
public TLcdGridReferenceEditor()
-
-
Method Details
-
setClassTraceOn
public static void setClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istrue
then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn
- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
setTraceOn
public void setTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for this class instance. Calling this method with eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
then only the informative, warning and error log messages are recorded.- Parameters:
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.
-
isTraceOn
public boolean isTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
supportsCustomEditor
public boolean supportsCustomEditor()Implements PropertyEditor.supportsCustomEditor.- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
- Returns:
true
ifgetValue()
!=null
.- See Also:
-
getCustomEditor
Implements PropertyEditor.getCustomEditor.- Specified by:
getCustomEditor
in interfacePropertyEditor
- Overrides:
getCustomEditor
in classPropertyEditorSupport
- Returns:
- an instance of
TLcdGridRefCustomizer
- See Also:
-
getAsText
Implements PropertyEditor.getAsText.- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
- Returns:
getValue().toString()
.- See Also:
-
setValue
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
setAsText
Implements PropertyEditor.setAsText. It will throw an IllegalArgumentException.- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
- See Also:
-
getJavaInitializationString
- Specified by:
getJavaInitializationString
in interfacePropertyEditor
- Overrides:
getJavaInitializationString
in classPropertyEditorSupport
-
isPaintable
public boolean isPaintable()Implements PropertyEditor.isPaintable.- Specified by:
isPaintable
in interfacePropertyEditor
- Overrides:
isPaintable
in classPropertyEditorSupport
- Returns:
true
- See Also:
-
paintValue
Implements PropertyEditor.paintValue It will drawgetAsText()
in the given box.- Specified by:
paintValue
in interfacePropertyEditor
- Overrides:
paintValue
in classPropertyEditorSupport
- See Also:
-