public abstract class ALcyPrintableMapComponentFactory<M extends ILcyGenericMapComponent> extends Object
createPrintableComponent(M, com.luciad.lucy.util.TLcyProperties)
Modifier | Constructor and Description |
---|---|
protected |
ALcyPrintableMapComponentFactory()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract TLcyPrintableMapComponent |
createPrintableComponent(M aMapComponent,
TLcyProperties aProperties)
Creates a printable component for the given
ILcyMapComponent . |
abstract ILcyLucyEnv |
getLucyEnv()
Returns the associated lucy environment.
|
abstract void |
setLucyEnv(ILcyLucyEnv aLucyEnv)
Sets the associated lucy environment.
|
protected ALcyPrintableMapComponentFactory()
public abstract ILcyLucyEnv getLucyEnv()
setLucyEnv(com.luciad.lucy.ILcyLucyEnv)
public abstract void setLucyEnv(ILcyLucyEnv aLucyEnv)
aLucyEnv
- The lucy environment.getLucyEnv()
public abstract TLcyPrintableMapComponent createPrintableComponent(M aMapComponent, TLcyProperties aProperties)
ILcyMapComponent
. It will typically
return a component that contains the same data as the given map component, possibly decorated
with a legend, overview, header text, ...
The parameter TLcyProperties
contains a number of settings, which can be used while
creating the TLcyPrintableMapComponent
, for example to find out if an
overview needs to be added or not. Furthermore, the
TLcyPrintableMapComponent
should update itself whenever applicable properties
in aProperties are changed. What properties are applicable, depends on the implementation
of this factory. It could for example show/hide the overview based on a boolean value of the
properties object.
The keys and values that can be expected in aProperties are described in the various
_KEY
and _VALUE
constants of TLcyPrintAddOn
.aMapComponent
- The map component.aProperties
- The property node.