Package com.luciad.format.gml32.model
Class TLcdGML32AbstractGeometricAggregate
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.gml32.model.TLcdGML32AbstractGML
com.luciad.format.gml32.model.TLcdGML32AbstractGeometry
com.luciad.format.gml32.model.TLcdGML32AbstractGeometricAggregate
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdEditableShapeList
,ILcdShape
,ILcdShapeList
,ILcdCloneable
,ILcdDeepCloneable
,ILcdInvalidateable
,Serializable
,Cloneable
- Direct Known Subclasses:
TLcdGML32MultiCurve
,TLcdGML32MultiGeometry
,TLcdGML32MultiPoint
,TLcdGML32MultiSolid
,TLcdGML32MultiSurface
public class TLcdGML32AbstractGeometricAggregate
extends TLcdGML32AbstractGeometry
implements ILcdEditableShapeList, ILcdInvalidateable
gml:AbstractGeometricAggregate is the abstract head of the substitution group for all geometric aggregates.
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theaggregationType
attribute.Fields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGeometry
SRS_PROPERTY
Fields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
DESCRIPTION_PROPERTY, DESCRIPTION_REFERENCE_PROPERTY, ID_PROPERTY, IDENTIFIER_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
Inserts the specified shape at the specified position in thisILcdShapeList
.void
Appends the specified shape to the end of thisILcdShapeList
.void
Appends the specified array of shapes to the end of thisILcdShapeList
.void
Removes all of the shapes from thisILcdShapeList
.Returns the value of the property that maps to theaggregationType
attribute.getShape
(int aIndex) Returns theILcdShape
at the given index.int
Returns the number ofILcdShape
objects in the list.void
Invalidates all cached values of this object.removeShape
(int aIndex) Removes the shape at the specified position in thisILcdShapeList
.boolean
removeShape
(ILcdShape aShape) Removes the first occurrence of the specified shape in thisILcdShapeList
.void
removeShapes
(ILcdShape[] aShape) Removes all shapes from thisILcdShapeList
that are contained in the specified array of shapes.void
Sets the value of the property that maps to theaggregationType
attribute.Replaces the shape at the specified position in thisILcdShapeList
with the specified shape.void
Replace the list of shapes contained in thisILcdShapeList
with the specified array of shapes.void
shapeChanged
(int aIndex) Notifies thisILcdShapeList
that the shape at the specified position has changed.void
shapeChanged
(ILcdShape aShape) Notifies thisILcdShapeList
that the specified shape has changed.void
Notifies thisILcdShapeList
that some (possibly all) of its shapes have changed.Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGeometry
contains2D, contains2D, contains3D, contains3D, getBounds, getFocusPoint, getSrs, setSrs, toString
Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifier
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Field Details
-
AGGREGATION_TYPE_PROPERTY
Data property that maps to theaggregationType
attribute. The possible values for this property are instances ofELcdGML32Aggregation
.
-
-
Constructor Details
-
TLcdGML32AbstractGeometricAggregate
public TLcdGML32AbstractGeometricAggregate() -
TLcdGML32AbstractGeometricAggregate
-
-
Method Details
-
addShape
Description copied from interface:ILcdEditableShapeList
Inserts the specified shape at the specified position in thisILcdShapeList
.- Specified by:
addShape
in interfaceILcdEditableShapeList
- Parameters:
aIndex
- the index at which the shape is to be inserted.aShape
- the shape to be inserted.
-
addShape
Description copied from interface:ILcdEditableShapeList
Appends the specified shape to the end of thisILcdShapeList
.- Specified by:
addShape
in interfaceILcdEditableShapeList
- Parameters:
aShape
- the shape to be appended to thisILcdShapeList
.
-
addShapes
Description copied from interface:ILcdEditableShapeList
Appends the specified array of shapes to the end of thisILcdShapeList
.- Specified by:
addShapes
in interfaceILcdEditableShapeList
- Parameters:
aShape
- the array of shapes to be appended to thisILcdShapeList
.
-
clearShapes
public void clearShapes()Description copied from interface:ILcdEditableShapeList
Removes all of the shapes from thisILcdShapeList
.- Specified by:
clearShapes
in interfaceILcdEditableShapeList
-
removeShape
Description copied from interface:ILcdEditableShapeList
Removes the shape at the specified position in thisILcdShapeList
. Shifts any subsequent shapes to the left. Returns the shape that was removed from thisILcdShapeList
.- Specified by:
removeShape
in interfaceILcdEditableShapeList
- Parameters:
aIndex
- the index of the shape to removed.- Returns:
- the shape previously at the specified position.
-
removeShape
Description copied from interface:ILcdEditableShapeList
Removes the first occurrence of the specified shape in thisILcdShapeList
. If thisILcdShapeList
does not contain the shape, it is unchanged.- Specified by:
removeShape
in interfaceILcdEditableShapeList
- Parameters:
aShape
- the shape to be removed, if present.- Returns:
true
if thisILcdShapeList
contained the specified element.
-
removeShapes
Description copied from interface:ILcdEditableShapeList
Removes all shapes from thisILcdShapeList
that are contained in the specified array of shapes.- Specified by:
removeShapes
in interfaceILcdEditableShapeList
- Parameters:
aShape
- the array of shapes to be removed from thisILcdShapeList
.
-
setShape
Description copied from interface:ILcdEditableShapeList
Replaces the shape at the specified position in thisILcdShapeList
with the specified shape.- Specified by:
setShape
in interfaceILcdEditableShapeList
- Parameters:
aIndex
- index of shape to replace.aShape
- the shape to be stored at the specified position.- Returns:
- the shape previously at the specified position.
-
setShapes
Description copied from interface:ILcdEditableShapeList
Replace the list of shapes contained in thisILcdShapeList
with the specified array of shapes.- Specified by:
setShapes
in interfaceILcdEditableShapeList
- Parameters:
aShapes
- the array of shapes to be stored in thisILcdShapeList
.
-
shapeChanged
public void shapeChanged(int aIndex) Description copied from interface:ILcdEditableShapeList
Notifies thisILcdShapeList
that the shape at the specified position has changed.- Specified by:
shapeChanged
in interfaceILcdEditableShapeList
- Parameters:
aIndex
- the index of the shape that has changed.
-
shapeChanged
Description copied from interface:ILcdEditableShapeList
Notifies thisILcdShapeList
that the specified shape has changed.- Specified by:
shapeChanged
in interfaceILcdEditableShapeList
- Parameters:
aShape
- the shape that has changed.
-
shapesChanged
public void shapesChanged()Description copied from interface:ILcdEditableShapeList
Notifies thisILcdShapeList
that some (possibly all) of its shapes have changed.- Specified by:
shapesChanged
in interfaceILcdEditableShapeList
-
getShapeCount
public int getShapeCount()Description copied from interface:ILcdShapeList
Returns the number ofILcdShape
objects in the list.- Specified by:
getShapeCount
in interfaceILcdShapeList
- Returns:
- the number of
ILcdShape
objects in the list.
-
getShape
Description copied from interface:ILcdShapeList
Returns theILcdShape
at the given index.- Specified by:
getShape
in interfaceILcdShapeList
- Parameters:
aIndex
- a valid index in the list ofILcdShape
objects.- Returns:
- the
ILcdShape
at the given index. - Throws:
IndexOutOfBoundsException
- when the index is not valid.
-
invalidateObject
public void invalidateObject()Description copied from interface:ILcdInvalidateable
Invalidates all cached values of this object. Call this method whenever one or more of this object's compositing values has been changed, to notify this object it needs to recompute its cached values.- Specified by:
invalidateObject
in interfaceILcdInvalidateable
-
getAggregationType
Returns the value of the property that maps to theaggregationType
attribute.- Returns:
- the value of the
AGGREGATION_TYPE_PROPERTY
property.
-
setAggregationType
Sets the value of the property that maps to theaggregationType
attribute.- Parameters:
aValue
- the value to set for theAGGREGATION_TYPE_PROPERTY
property.
-