Class TLcdKML22LatLonBox
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.geometry.TLcdKML22AbstractLatLonBox
com.luciad.format.kml22.model.geometry.TLcdKML22LatLonBox
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Domain class modeling the KML LatLonBoxType type.
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractObjectGroup
Note: since a KML LatLonBox can be rotated, it does not implement ILcdBounds
.
- Since:
- 10.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theAbstractLatLonBoxObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractLatLonBoxSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theeast
element.static final TLcdDataProperty
Data property that maps to theLatLonBoxObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theLatLonBoxSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thenorth
element.static final TLcdDataProperty
Data property that maps to therotation
element.static final TLcdDataProperty
Data property that maps to thesouth
element.static final TLcdDataProperty
Data property that maps to thewest
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML22LatLonBox
(TLcdDataType aType) Creates a newTLcdKML22LatLonBox
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a deep clone of this object.Returns a deep clone of this object.getEast()
Returns the value of the property that maps to theeast
element.getNorth()
Returns the value of the property that maps to thenorth
element.Returns the value of the property that maps to therotation
element.getSouth()
Returns the value of the property that maps to thesouth
element.getWest()
Returns the value of the property that maps to thewest
element.void
Sets the value of the property that maps to theeast
element.void
Sets the value of the property that maps to thenorth
element.void
setRotation
(Double aValue) Sets the value of the property that maps to therotation
element.void
Sets the value of the property that maps to thesouth
element.void
setValue
(TLcdDataProperty aTLcdDataProperty, Object o) Sets the value of the given property for this data object.void
Sets the value of the property that maps to thewest
element.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
Methods inherited from class com.luciad.datamodel.TLcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, toString
-
Field Details
-
ROTATION_PROPERTY
Data property that maps to therotation
element. The possible values for this property are instances ofDouble
. -
LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theLatLonBoxSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theLatLonBoxObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
NORTH_PROPERTY
Data property that maps to thenorth
element. The possible values for this property are instances ofDouble
. -
SOUTH_PROPERTY
Data property that maps to thesouth
element. The possible values for this property are instances ofDouble
. -
EAST_PROPERTY
Data property that maps to theeast
element. The possible values for this property are instances ofDouble
. -
WEST_PROPERTY
Data property that maps to thewest
element. The possible values for this property are instances ofDouble
. -
ABSTRACT_LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractLatLonBoxSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractLatLonBoxObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22LatLonBox
Creates a newTLcdKML22LatLonBox
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
setValue
Description copied from interface:ILcdDataObject
Sets the value of the given property for this data object. The implementation is allowed to throw an exception if the given value can't be set.
The given property must be declared in thedata object's type
or in one of its super types. In other words, getDataType().getProperties().contains( aProperty ) should always be true. Otherwise, the implementation should throw anIllegalArgumentException
.- Specified by:
setValue
in interfaceILcdDataObject
- Overrides:
setValue
in classTLcdDataObject
- Parameters:
aTLcdDataProperty
- the property for which the value is to be seto
- the value to set- See Also:
-
getSouth
Returns the value of the property that maps to thesouth
element.- Returns:
- the value of the
SOUTH_PROPERTY
property.
-
getEast
Returns the value of the property that maps to theeast
element.- Returns:
- the value of the
EAST_PROPERTY
property.
-
getWest
Returns the value of the property that maps to thewest
element.- Returns:
- the value of the
WEST_PROPERTY
property.
-
getNorth
Returns the value of the property that maps to thenorth
element.- Returns:
- the value of the
NORTH_PROPERTY
property.
-
getRotation
Returns the value of the property that maps to therotation
element.- Returns:
- the value of the
ROTATION_PROPERTY
property.
-
clone
Description copied from class:TLcdDataObject
Returns a deep clone of this object. This method delegates toTLcdDataObject.clone(Map)
.- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classTLcdDataObject
- Returns:
- a deep clone of this object
- See Also:
-
clone
Description copied from class:TLcdDataObject
Returns a deep clone of this object. If the clone is not already present in the dictionary, a new instance if created as follows:- First, a new instance is created using Java's clone() mechanism.
- Then, all properties of this object are cloned and set on the newly created
instance. A property is cloned as follows:
- If the property value is an
ILcdDataObject
, the value is cloned by first creating a new instance via thevalue.getDataType().newInstance()
method, and then cloning its properties one by one. - If the value implements
ILcdDeepCloneable
orILcdCloneable
then this interface is used to clone the value. - Otherwise, the property value is copied by reference.
- If the property value is an
- Specified by:
clone
in interfaceILcdDeepCloneable
- Overrides:
clone
in classTLcdDataObject
- Parameters:
aObjectDictionary
- the Object dictionary that keeps track of the objects for which a clone has already been made, and their corresponding clone Object.- Returns:
- a deep clone of this object
-
setRotation
Sets the value of the property that maps to therotation
element.- Parameters:
aValue
- the value to set for theROTATION_PROPERTY
property.
-
setNorth
Sets the value of the property that maps to thenorth
element.- Parameters:
aValue
- the value to set for theNORTH_PROPERTY
property.
-
setSouth
Sets the value of the property that maps to thesouth
element.- Parameters:
aValue
- the value to set for theSOUTH_PROPERTY
property.
-
setEast
Sets the value of the property that maps to theeast
element.- Parameters:
aValue
- the value to set for theEAST_PROPERTY
property.
-
setWest
Sets the value of the property that maps to thewest
element.- Parameters:
aValue
- the value to set for theWEST_PROPERTY
property.
-