|
||||||||||
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.BidirectionalCollectionRemove
public class BidirectionalCollectionRemove
Executes the remove()
operation on a BidirectionalCollection
.
Constructor Summary | |
---|---|
BidirectionalCollectionRemove(BidirectionalProperty bidirectional,
java.util.Collection collection,
java.lang.Object removeValue)
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 BidirectionalCollectionRemove(BidirectionalProperty bidirectional, java.util.Collection collection, java.lang.Object removeValue)
bidirectional
- the bidirectional collection that this command is tied tocollection
- the unidirectional collection that this command is tied toremoveValue
- an object that should be removed from 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 |