|
||||||||||
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.BidirectionalListAddByIndex
public class BidirectionalListAddByIndex
Executes the add()
operation on a BidirectionalList
.
Constructor Summary | |
---|---|
BidirectionalListAddByIndex(BidirectionalProperty bidirectional,
java.util.List list,
int addIndex,
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.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 BidirectionalListAddByIndex(BidirectionalProperty bidirectional, java.util.List list, int addIndex, java.lang.Object addValue)
bidirectional
- the bidirectional list that this command is tied tolist
- the unidirectional list that this command is tied toaddIndex
- an index of an object that should be added to the collectionaddValue
- 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 |