public class DataBoxSelectionEvent
extends java.util.EventObject
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
ELEMENT_ADDED
Indicate element is selected
|
static int |
ELEMENT_CLEARED
Indicate all selected elements are unselected
|
static int |
ELEMENT_REMOVED
Indicate element is unselected
|
Constructor and Description |
---|
DataBoxSelectionEvent(DataBoxSelectionModel source,
int type,
java.util.Collection elements)
Generate a new selection event with
the given data box selection model as event source.
|
Modifier and Type | Method and Description |
---|---|
DataBoxSelectionModel |
getBoxSelectionModel()
Get the event related BoxSelectionModel object.
|
java.util.Collection |
getElements()
Returns the elements that have changed in the selection
|
int |
getType()
Get event type
|
java.lang.String |
toString() |
public static final int ELEMENT_ADDED
public static final int ELEMENT_REMOVED
public static final int ELEMENT_CLEARED
public DataBoxSelectionEvent(DataBoxSelectionModel source, int type, java.util.Collection elements)
source
- DataBoxSelectionModel the event source selection modeltype
- int the event typeelements
- Collection the all related elements.public DataBoxSelectionModel getBoxSelectionModel()
public java.lang.String toString()
toString
in class java.util.EventObject
public int getType()
public java.util.Collection getElements()
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.