|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enspire.gemini.commands.BidirectionalPropertyCommand
com.enspire.gemini.commands.BidirectionalCollectionCommand
com.enspire.gemini.commands.BidirectionalCollectionAdd
public class BidirectionalCollectionAdd
Executes the add()
operation on a BidirectionalCollection
.
Constructor Summary | |
---|---|
BidirectionalCollectionAdd(BidirectionalProperty bidirectional,
java.util.Collection collection,
java.lang.Object addValue)
Creates a command and sets its dependencies. |
Method Summary | |
---|---|
void |
execute()
Executes the command. |
void |
undo()
Undoes the command. |
Methods inherited from class com.enspire.gemini.commands.BidirectionalCollectionCommand |
---|
getCollection, setCollection |
Methods inherited from class com.enspire.gemini.commands.BidirectionalPropertyCommand |
---|
getBidirectionalProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BidirectionalCollectionAdd(BidirectionalProperty bidirectional, java.util.Collection collection, java.lang.Object addValue)
bidirectional
- the bidirectional collection that this command is tied tocollection
- the unidirectional collection that this command is tied toaddValue
- an object that should be added to the collectionMethod Detail |
---|
public void execute()
Command
Command.execute()
public void undo()
Command
Command.undo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |