|
||||||||||
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.BidirectionalListCommand
com.enspire.gemini.commands.BidirectionalListRemoveByIndex
public class BidirectionalListRemoveByIndex
Executes the remove()
operation on a BidirectionalList
.
Constructor Summary | |
---|---|
BidirectionalListRemoveByIndex(BidirectionalProperty bidirectional,
java.util.List list,
int removeIndex,
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.BidirectionalListCommand |
---|
getList, setList |
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 BidirectionalListRemoveByIndex(BidirectionalProperty bidirectional, java.util.List list, int removeIndex, java.lang.Object removeValue)
bidirectional
- the bidirectional list that this command is tied tolist
- the unidirectional list that this command is tied toremoveIndex
- an index of an object that should be removed to the collectionremoveValue
- an object that should be added to the listMethod 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 |