public final class ManagerSelectionChangedEvent extends ManagerEvent
ManagerSelectionChangedEvent
event is delivered to the
listeners of the selections in a manager.ManagerSelectionListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
OBJECT_DESELECTED
The type of the event when an object is deselected.
|
static int |
OBJECT_SELECTED
The type of the event when an object is selected.
|
source
Constructor and Description |
---|
ManagerSelectionChangedEvent(IlvManager manager,
IlvGraphic obj)
Creates the event.
|
Modifier and Type | Method and Description |
---|---|
IlvGraphic |
getGraphic()
Returns the graphic object whose selection has changed.
|
IlvManager |
getManager()
Returns the manager source of the event.
|
int |
getType()
Returns the type of the event.
|
boolean |
isAdjusting()
Returns
true if this event is part of a series of several
events. |
boolean |
isAdjustmentEnd()
Returns
true if this event is the last of a series of
several events. |
void |
setAdjusting(boolean set)
Changes the adjusting mode of the event
You should not call this method.
|
void |
setAdjustmentEnd(boolean set)
Changes the 'Adjustment' property of the event.
|
void |
setGraphic(IlvGraphic graphic)
Changes the graphic object whose selection has changed.
|
void |
setSource(Object source)
Changes the source of the event.
|
void |
setType(int type)
Sets the type of the event.
|
getSource, toString
public static final int OBJECT_SELECTED
public static final int OBJECT_DESELECTED
public ManagerSelectionChangedEvent(IlvManager manager, IlvGraphic obj)
manager
- The manager source of the event.obj
- The graphic object whose selection has changed.public void setSource(Object source)
source
- The new source.public IlvManager getManager()
getManager
in class ManagerEvent
public IlvGraphic getGraphic()
public void setGraphic(IlvGraphic graphic)
public boolean isAdjusting()
true
if this event is part of a series of several
events.public void setAdjusting(boolean set)
public boolean isAdjustmentEnd()
true
if this event is the last of a series of
several events.public void setAdjustmentEnd(boolean set)
public int getType()
OBJECT_SELECTED
,
OBJECT_DESELECTED
,
IlvManager.setSelectionAdjusting(boolean)
public void setType(int type)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.