org.opengis.go.display.event
Interface AggregationChangeEvent
-
public interface AggregationChangeEventProvides a mechanism for notification of additions, removals, and reorderings of elements in an aggregation.
-
-
Field Summary
Fields Modifier and Type Field and Description static intELEMENT_ADDEDFlag for one or more elements added to the aggregation.static intELEMENT_REMOVEDFlag for one or more elements removed from the aggregation.static intELEMENTS_REORDEREDFlag for the case of the element order changing within the aggregation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Graphic[]getElements()Gets theGraphicelements pertinent to the event.intgetID()Get the ID flag for this event.
-
-
-
Field Detail
-
ELEMENT_ADDED
static final int ELEMENT_ADDED
Flag for one or more elements added to the aggregation.- See Also:
- Constant Field Values
-
ELEMENT_REMOVED
static final int ELEMENT_REMOVED
Flag for one or more elements removed from the aggregation.- See Also:
- Constant Field Values
-
ELEMENTS_REORDERED
static final int ELEMENTS_REORDERED
Flag for the case of the element order changing within the aggregation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
int getID()
Get the ID flag for this event.- Returns:
- The event type. One of the
ELEMENT_ADDED,ELEMENT_REMOVEDorELEMENTS_REORDEREDconstants.
-
getElements
Graphic[] getElements()
Gets theGraphicelements pertinent to the event.- Returns:
- an array of
Graphics that were affected by the event, or an empty array.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG