public class TLfnVectorGXYPainterProvider extends Object implements ILcdGXYPainterProvider
Constructor and Description |
---|
TLfnVectorGXYPainterProvider(ALfnVectorGXYStyleProvider aStyleProvider)
Deprecated.
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
TLfnVectorGXYPainterProvider |
clone()
Deprecated.
Redefines
Object.clone to make it public. |
ILcdGXYPainter |
getGXYPainter(Object aObject)
Deprecated.
Finds an
ILcdGXYPainter that can be used to paint or locate the object passed. |
boolean |
getPaintCache()
Deprecated.
Checks whether the paint cache is enabled.
|
boolean |
getPaintFills()
Deprecated.
Checks whether fill painting is enabled.
|
boolean |
getPaintOutlines()
Deprecated.
Checks whether outline painting is enabled.
|
void |
setPaintCache(boolean aEnable)
Deprecated.
Configures the paint cache.
|
void |
setPaintFills(boolean aEnable)
Deprecated.
Configures the fill painting.
|
void |
setPaintOutlines(boolean aEnable)
Deprecated.
Configures the outline painting.
|
public TLfnVectorGXYPainterProvider(ALfnVectorGXYStyleProvider aStyleProvider)
public void setPaintCache(boolean aEnable)
aEnable
- enable or disablegetPaintCache()
public void setPaintOutlines(boolean aEnable)
aEnable
- enable or disablegetPaintOutlines()
public void setPaintFills(boolean aEnable)
aEnable
- enable or disablegetPaintFills()
public boolean getPaintCache()
true
if paint cache is enabled, false
otherwisepublic boolean getPaintOutlines()
true
if outline painting is enabled, false
otherwisepublic boolean getPaintFills()
true
if fill painting is enabled, false
otherwisepublic ILcdGXYPainter getGXYPainter(Object aObject)
ILcdGXYPainterProvider
ILcdGXYPainter
that 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;
}
getGXYPainter
in interface ILcdGXYPainterProvider
aObject
- the object to find a painter forpublic TLfnVectorGXYPainterProvider clone()
ILcdGXYPainterProvider
Object.clone
to make it public.clone
in interface ILcdCloneable
clone
in interface ILcdGXYPainterProvider
clone
in class Object
Object.clone()