Package com.luciad.lucy.addons.decoders
Class TLcyGMLPainterProvider
java.lang.Object
com.luciad.lucy.addons.decoders.TLcyGMLPainterProvider
- All Implemented Interfaces:
ILcdCloneable,ILcdGXYPainterProvider,Serializable,Cloneable
Do not use this class. It's only public for beans compatibility.
This class is subject to change or disappear without notice.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()RedefinesObject.cloneto make it public.getGXYPainter(Object aObject) Finds anILcdGXYPainterthat can be used to paint or locate the object passed.
-
Constructor Details
-
TLcyGMLPainterProvider
public TLcyGMLPainterProvider()
-
-
Method Details
-
getGXYPainter
Description copied from interface:ILcdGXYPainterProviderFinds anILcdGXYPainterthat can be used to paint or locate the object passed.The painter provider is responsible for setting the object to the painter before returning the painter. An implementation should therefore have the following structure:
public ILcdGXYPainter getGXYPainter(Object aObject) { ILcdGXYPainter painter = ... // find the painter for the object if (painter != null) { painter.setObject(aObject); } return painter; }- Specified by:
getGXYPainterin interfaceILcdGXYPainterProvider- Parameters:
aObject- the object to find a painter for- Returns:
- a painter that can be used to paint or locate the object; or null if no painter could be found for the given object, or the object could not be set on the retrieved painter.
-
clone
Description copied from interface:ILcdGXYPainterProviderRedefinesObject.cloneto make it public.- Specified by:
clonein interfaceILcdCloneable- Specified by:
clonein interfaceILcdGXYPainterProvider- Overrides:
clonein classObject- Returns:
- a clone of this painter provider.
- See Also:
-