public class TLcyMapRotationAddOn extends ALcyAddOn
setApplicationPaneActive(boolean)
.Modifier and Type | Field and Description |
---|---|
static TLcyGroupDescriptor |
MAP_ROTATION_GROUP_DESCRIPTOR |
Constructor and Description |
---|
TLcyMapRotationAddOn() |
Modifier and Type | Method and Description |
---|---|
Color |
getArrowColor() |
Color |
getArrowColorShadow() |
Color |
getCompassFillColor() |
Color |
getLineColor() |
ILcyMapComponent[] |
getMapComponentArray()
Retrieve the array of map components on which the map rotation panel works.
|
Color |
getNorthArrowColor() |
Color |
getNorthArrowColorShadow() |
Dimension |
getSize() |
boolean |
is4SideArrow() |
boolean |
isApplicationPaneActive()
Returns
true if the ILcyApplicationPane is currently active, false otherwise. |
static boolean |
isClassTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
boolean |
isDisplayArrow() |
boolean |
isOpaque() |
void |
plugInto(ILcyLucyEnv aLucyEnv)
Plugs this addon into the given lucy environment.
|
void |
set4SideArrow(boolean a4SideArrow) |
void |
setApplicationPaneActive(boolean aActive)
Sets the active state of the map rotation
ILcyApplicationPane . |
void |
setArrowColor(Color aArrowColor) |
void |
setArrowColorShadow(Color aArrowColorShadow) |
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setCompassFillColor(Color aCompassFillColor) |
void |
setDisplayArrow(boolean aDisplayArrow) |
void |
setLineColor(Color aLineColor) |
void |
setMapComponentArray(ILcyMapComponent[] aMapComponentArray)
Set the list of
ILcyMapComponent s on which the map rotation panel
should work. |
void |
setNorthArrowColor(Color aArrowColor) |
void |
setNorthArrowColorShadow(Color aArrowColorShadow) |
void |
setOpaque(boolean aOpaque) |
void |
setSize(Dimension aSize) |
void |
unplugFrom(ILcyLucyEnv aLucyEnv)
Unplugs this addon from the given Lucy environment.
|
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
public static final TLcyGroupDescriptor MAP_ROTATION_GROUP_DESCRIPTOR
public void plugInto(ILcyLucyEnv aLucyEnv)
ALcyAddOn
plugInto
in class ALcyAddOn
aLucyEnv
- The lucy environment to plug into.ALcyAddOn.unplugFrom(com.luciad.lucy.ILcyLucyEnv)
public void unplugFrom(ILcyLucyEnv aLucyEnv)
ALcyAddOn
unplugFrom
in class ALcyAddOn
aLucyEnv
- The lucy environment to unplug from.ALcyAddOn.plugInto(com.luciad.lucy.ILcyLucyEnv)
public boolean isApplicationPaneActive()
true
if the ILcyApplicationPane
is currently active, false
otherwise.true
if the ILcyApplicationPane
is currently active, false
otherwise.setApplicationPaneActive(boolean)
public void setApplicationPaneActive(boolean aActive)
ILcyApplicationPane
. Active means the
ILcyApplicationPane
is present in the user interface.
Note that loading a workspace can change this property.aActive
- True
to make sure the ILcyApplicationPane
is present in the user
interface, false
to make sure the ILcyApplicationPane
is not present.public ILcyMapComponent[] getMapComponentArray()
public void setMapComponentArray(ILcyMapComponent[] aMapComponentArray)
ILcyMapComponent
s on which the map rotation panel
should work. If there is only one object in this list, no ComboBox will be displayed.aMapComponentArray
- Array of map components.public Dimension getSize()
public void setSize(Dimension aSize)
public boolean isDisplayArrow()
public void setDisplayArrow(boolean aDisplayArrow)
public boolean is4SideArrow()
public void set4SideArrow(boolean a4SideArrow)
public boolean isOpaque()
public void setOpaque(boolean aOpaque)
public Color getCompassFillColor()
public void setCompassFillColor(Color aCompassFillColor)
public Color getArrowColor()
public void setArrowColor(Color aArrowColor)
public Color getArrowColorShadow()
public void setArrowColorShadow(Color aArrowColorShadow)
public Color getNorthArrowColor()
public void setNorthArrowColor(Color aArrowColor)
public Color getNorthArrowColorShadow()
public void setNorthArrowColorShadow(Color aArrowColorShadow)
public Color getLineColor()
public void setLineColor(Color aLineColor)
@Deprecated public static boolean isClassTraceOn()
true
if tracing is enabled for this class.@Deprecated 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.