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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theAbstractLatLonBoxObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theAbstractLatLonBoxSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to theeastelement.static final TLcdDataPropertyData property that maps to theLatLonBoxObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theLatLonBoxSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to thenorthelement.static final TLcdDataPropertyData property that maps to therotationelement.static final TLcdDataPropertyData property that maps to thesouthelement.static final TLcdDataPropertyData property that maps to thewestelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdKML22LatLonBox(TLcdDataType aType) Creates a newTLcdKML22LatLonBoxwith 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 theeastelement.getNorth()Returns the value of the property that maps to thenorthelement.Returns the value of the property that maps to therotationelement.getSouth()Returns the value of the property that maps to thesouthelement.getWest()Returns the value of the property that maps to thewestelement.voidSets the value of the property that maps to theeastelement.voidSets the value of the property that maps to thenorthelement.voidsetRotation(Double aValue) Sets the value of the property that maps to therotationelement.voidSets the value of the property that maps to thesouthelement.voidsetValue(TLcdDataProperty aTLcdDataProperty, Object o) Sets the value of the given property for this data object.voidSets the value of the property that maps to thewestelement.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetIdMethods inherited from class com.luciad.datamodel.TLcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, toString
-
Field Details
-
ROTATION_PROPERTY
Data property that maps to therotationelement. The possible values for this property are instances ofDouble. -
LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theLatLonBoxSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theLatLonBoxObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>. -
NORTH_PROPERTY
Data property that maps to thenorthelement. The possible values for this property are instances ofDouble. -
SOUTH_PROPERTY
Data property that maps to thesouthelement. The possible values for this property are instances ofDouble. -
EAST_PROPERTY
Data property that maps to theeastelement. The possible values for this property are instances ofDouble. -
WEST_PROPERTY
Data property that maps to thewestelement. The possible values for this property are instances ofDouble. -
ABSTRACT_LAT_LON_BOX_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractLatLonBoxSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
ABSTRACT_LAT_LON_BOX_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractLatLonBoxObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML22LatLonBox
Creates a newTLcdKML22LatLonBoxwith a customTLcdDataType.- Parameters:
aType- a customTLcdDataType
-
-
Method Details
-
setValue
Description copied from interface:ILcdDataObjectSets 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 typeor 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:
setValuein interfaceILcdDataObject- Overrides:
setValuein 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 thesouthelement.- Returns:
- the value of the
SOUTH_PROPERTYproperty.
-
getEast
Returns the value of the property that maps to theeastelement.- Returns:
- the value of the
EAST_PROPERTYproperty.
-
getWest
Returns the value of the property that maps to thewestelement.- Returns:
- the value of the
WEST_PROPERTYproperty.
-
getNorth
Returns the value of the property that maps to thenorthelement.- Returns:
- the value of the
NORTH_PROPERTYproperty.
-
getRotation
Returns the value of the property that maps to therotationelement.- Returns:
- the value of the
ROTATION_PROPERTYproperty.
-
clone
Description copied from class:TLcdDataObjectReturns a deep clone of this object. This method delegates toTLcdDataObject.clone(Map).- Specified by:
clonein interfaceILcdCloneable- Overrides:
clonein classTLcdDataObject- Returns:
- a deep clone of this object
- See Also:
-
clone
Description copied from class:TLcdDataObjectReturns 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
ILcdDeepCloneableorILcdCloneablethen this interface is used to clone the value. - Otherwise, the property value is copied by reference.
- If the property value is an
- Specified by:
clonein interfaceILcdDeepCloneable- Overrides:
clonein 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 therotationelement.- Parameters:
aValue- the value to set for theROTATION_PROPERTYproperty.
-
setNorth
Sets the value of the property that maps to thenorthelement.- Parameters:
aValue- the value to set for theNORTH_PROPERTYproperty.
-
setSouth
Sets the value of the property that maps to thesouthelement.- Parameters:
aValue- the value to set for theSOUTH_PROPERTYproperty.
-
setEast
Sets the value of the property that maps to theeastelement.- Parameters:
aValue- the value to set for theEAST_PROPERTYproperty.
-
setWest
Sets the value of the property that maps to thewestelement.- Parameters:
aValue- the value to set for theWEST_PROPERTYproperty.
-