public class TLcyAreaOfInterestLayer extends TLcdGXYLayer
Modifier and Type | Field and Description |
---|---|
static String |
MODEL_DISPLAY_NAME
The display name of a model descriptor of an area of interest layer.
|
static String |
MODEL_TYPE_NAME
The type name of a model descriptor of an area of interest layer.
|
PLACED_LABELS
Constructor and Description |
---|
TLcyAreaOfInterestLayer()
Creates a new un-initialized
TLcyAreaOfInterestLayer . |
Modifier and Type | Method and Description |
---|---|
ILcd2DEditableBounds |
getActiveAreaOfInterest()
Returns the active area of interest.
|
TLcdLonLatBounds |
getLonLatBounds()
Returns the lon lat bounds of this area of interest layer.
|
void |
moveLonLatBounds2D(double aX,
double aY,
boolean aUpdateModel)
Moves the bounds of the currently active area of interest of this
TLcyAreaOfInterestLayer . |
void |
setActiveAreaOfInterest(ILcd2DEditableBounds aAreaOfInterest)
Sets the active area of interest.
|
void |
setLonLatBounds(TLcdLonLatBounds aLonLatBounds)
Changes the lon lat bounds of the currently active TLcyAreaOfInterestObject
of this
TLcyAreaOfInterestLayer . |
void |
setLonLatBoundsHeight(double aHeight,
boolean aUpdateModel)
Sets the height of the currently active area of interest.
|
void |
setLonLatBoundsWidth(double aWidth,
boolean aUpdateModel)
Sets the width of the currently active area of interest.
|
applyOnInteract, applyOnInteract, applyOnInteract, applyOnInteractLabels, asFactory, create, getBounds, getGXYEditor, getGXYEditorProvider, getGXYLabelEditor, getGXYLabelEditorProvider, getGXYLabelingAlgorithm, getGXYLabelingAlgorithmProvider, getGXYLabelPainter, getGXYLabelPainterProvider, getGXYLayerLabelPainter, getGXYPainter, getGXYPainterProvider, getGXYPainterProviderArray, getGXYPainters, getGXYPen, getIcon, getInteractMargin, getLabelLocations, getLabelMapScaleRange, getLabelScaleRange, getMapScaleRange, getMinimumObjectSizeForPainting, getModelElementComparator, getModelQueryConfiguration, getModelXYWorldTransfoClass, getPaintLabelsScaleRatioInterval, getScaleRange, isEditableSupported, isLabeled, isLabeledSupported, isLabelsEditable, isLabelsEditableSupported, isPaintFromOverlaps, isSelectionLabeled, isStopPainting, isTraceOn, modeToString, paint, paintFromModel, paintFromOverlaps, setClassTraceOn, setFilter, setGXYEditorProvider, setGXYLabelEditorProvider, setGXYLabelingAlgorithmProvider, setGXYLabelPainterProvider, setGXYLayerLabelPainter, setGXYPainterProvider, setGXYPainterProviderArray, setGXYPen, setIcon, setInteractMargin, setLabeled, setLabelLocations, setLabelMapScaleRange, setLabelScaleRange, setLabelsEditable, setMapScaleRange, setMinimumObjectSizeForPainting, setModel, setModelElementComparator, setModelQueryConfiguration, setModelXYWorldTransfoClass, setPaintFromOverlaps, setPaintLabelsScaleRatioInterval, setScaleRange, setSelectionLabeled, setTraceOn, setVisible, startPainting, stopPainting
addPropertyChangeListener, addSelectionListener, clearSelection, fireCollectedSelectionChanges, firePropertyChangeEvent, getFilter, getLabel, getModel, getSelectionCount, invalidate, isEditable, isSelectable, isSelectableSupported, isSelected, isVisible, removePropertyChangeListener, removeSelectionListener, selectedObjects, selectObject, selectObjects, setEditable, setLabel, setSelectable, setSelectableSupported, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearSelection, fireCollectedSelectionChanges, getLabel, getModel, isEditable, isSelectable, isSelectableSupported, isVisible, selectObject, setEditable, setLabel, setSelectable
addSelectionListener, getSelectedObjects, getSelectionCount, isSelected, removeSelectionListener, selectedObjects
addPropertyChangeListener, removePropertyChangeListener
public static final String MODEL_TYPE_NAME
public static final String MODEL_DISPLAY_NAME
public TLcyAreaOfInterestLayer()
TLcyAreaOfInterestLayer
.
Use TLcyMapComponentFactory.createGXYLayer(int, TLcyMapComponent)
with ID
TLcyMapComponentFactory.AREA_OF_INTEREST_LAYER
to create a usable AOI layer.public void setActiveAreaOfInterest(ILcd2DEditableBounds aAreaOfInterest)
aAreaOfInterest
- The ILcd2DEditableBounds to set as the active Area Of Interestpublic ILcd2DEditableBounds getActiveAreaOfInterest()
public TLcdLonLatBounds getLonLatBounds()
public void setLonLatBounds(TLcdLonLatBounds aLonLatBounds)
TLcyAreaOfInterestLayer
. These bounds are interpreted as WGS84 bounds and
shall be transformed to the modelreference of this layer.aLonLatBounds
- The lon lat bounds.public void moveLonLatBounds2D(double aX, double aY, boolean aUpdateModel)
TLcyAreaOfInterestLayer
. The coordinates aX and aY are interpreted as a WGS84
coordinates and will be transformed to the reference of the model of this layer.aX
- The longitude.aY
- The latitude.aUpdateModel
- True if it should warn the model that an element has changed.public void setLonLatBoundsHeight(double aHeight, boolean aUpdateModel)
aHeight
- The height of the bounds, in degrees.aUpdateModel
- True if it should warn the model that an element has changed.public void setLonLatBoundsWidth(double aWidth, boolean aUpdateModel)
aWidth
- The width of the bounds, in degrees.aUpdateModel
- True if it should warn the model that an element has changed.