public class BehaviorCollectionChangedInfo extends Object
Constructor and Description |
---|
BehaviorCollectionChangedInfo(ChartBehavior added,
ChartBehavior removed,
CollectionChangeAction action)
Creates a new instance of the
BehaviorCollectionChangedInfo class. |
Modifier and Type | Method and Description |
---|---|
CollectionChangeAction |
getAction()
Gets the current action that was performed on the collection.
|
ChartBehavior |
getAddedBehavior()
Gets the current behaviour that was added.
|
ChartBehavior |
getRemovedBehavior()
Gets the current behaviour that was removed.
|
void |
setAction(CollectionChangeAction action)
Sets the current action that was performed on the collection.
|
void |
setAddedBehavior(ChartBehavior addedBehavior)
Sets the current behaviour that was added.
|
void |
setRemovedBehavior(ChartBehavior removedBehavior)
Sets the current behaviour that was removed.
|
public BehaviorCollectionChangedInfo(ChartBehavior added, ChartBehavior removed, CollectionChangeAction action)
BehaviorCollectionChangedInfo
class.added
- the behaviour that has been added.removed
- the behaviour that has been removed.action
- the action that was performed on the collection.public ChartBehavior getAddedBehavior()
public void setAddedBehavior(ChartBehavior addedBehavior)
addedBehavior
- the new added behaviour.public ChartBehavior getRemovedBehavior()
public void setRemovedBehavior(ChartBehavior removedBehavior)
removedBehavior
- the new removed behaviour.public CollectionChangeAction getAction()
public void setAction(CollectionChangeAction action)
action
- the new action.