public class ViewerSelectionEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADD
Flag indicating that selected objects should be added to the
current selection.
|
static int |
DRAG
Flag indicating that drag selection was performed.
|
static int |
OP_MASK
Flags mask for the selection operation.
|
static int |
SET
Flag indicating that selected objects should be set to the
current selection.
|
static int |
SUBTRACT
Flag indicating that selected objects should be subtracted from
the current selection.
|
static int |
XADD
Flag indicating that selected objects should be added to the
current selection, while excluding those already selected.
|
Constructor and Description |
---|
ViewerSelectionEvent() |
Modifier and Type | Method and Description |
---|---|
int |
getFlags()
Returns the mode flags associated with the selection.
|
int |
getModifiersEx()
Returns the extended keyboard modifiers that were in play at the
time the selection was invoked.
|
java.util.List<java.util.LinkedList<?>> |
getSelectedObjects()
Returns an array of object lists for each selection query that resulted
in a selection.
|
int |
numSelectedQueries()
Returns the number of selection queries that resulted in a selection.
|
void |
setFlags(int flags) |
void |
setModifiersEx(int modifiersEx)
Sets the extended keyboard modifiers that were in play at the
time the selection was invoked.
|
void |
setSelectedObjects(java.util.List<java.util.LinkedList<?>> lists)
Sets the value returned by
getSelectedObjects() . |
public static final int DRAG
public static final int OP_MASK
public static final int SET
public static final int ADD
public static final int SUBTRACT
public static final int XADD
public int getModifiersEx()
public void setModifiersEx(int modifiersEx)
public java.util.List<java.util.LinkedList<?>> getSelectedObjects()
public void setSelectedObjects(java.util.List<java.util.LinkedList<?>> lists)
getSelectedObjects()
. The value is set
by reference. For internal use only.lists
- array of object lists for each selected querypublic int numSelectedQueries()
public int getFlags()
public void setFlags(int flags)