Class SelectionEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.swing.event.ChangeEvent
-
- oracle.spatial.network.nfe.vis.maps.core.SelectionEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class SelectionEvent extends javax.swing.event.ChangeEventRepresents a geo-object selection event.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intTYPE_SELECTION_ADDEDstatic intTYPE_SELECTION_CLEAREDstatic intTYPE_SELECTION_REMOVED
-
Constructor Summary
Constructors Constructor Description SelectionEvent(Layer src, int type)Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayergetSource()intgetType()Returns the type of selection eventvoidsetType(int type)Sets the type of selection event
-
-
-
Field Detail
-
TYPE_SELECTION_ADDED
public static final int TYPE_SELECTION_ADDED
- See Also:
- Constant Field Values
-
TYPE_SELECTION_REMOVED
public static final int TYPE_SELECTION_REMOVED
- See Also:
- Constant Field Values
-
TYPE_SELECTION_CLEARED
public static final int TYPE_SELECTION_CLEARED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SelectionEvent
public SelectionEvent(Layer src, int type)
Creates a new instance- Parameters:
src- the layer that fired the eventtype- the type of selection event
-
-
Method Detail
-
getSource
public Layer getSource()
- Overrides:
getSourcein classjava.util.EventObject
-
setType
public void setType(int type)
Sets the type of selection event- Parameters:
type-
-
getType
public int getType()
Returns the type of selection event- Returns:
-
-