com.enspire.gemini.commands
Class BidirectionalListCommand

java.lang.Object
  extended by com.enspire.gemini.commands.BidirectionalPropertyCommand
      extended by com.enspire.gemini.commands.BidirectionalListCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
BidirectionalListAddByIndex, BidirectionalListRemoveByIndex

public abstract class BidirectionalListCommand
extends BidirectionalPropertyCommand

A command that is tied to a specific List.

Since:
1.0
Author:
Dragan Djuric

Constructor Summary
BidirectionalListCommand(BidirectionalProperty bidirectionalProperty, java.util.List list)
          Creates a command and sets its dependencies.
 
Method Summary
 java.util.List getList()
          Sets the unidirectional list (wrapped bu this command's bidirectional collection) that this command is tied to.
 void setList(java.util.List list)
          Sets the unidirectional collection (wrapped bu this command's bidirectional collection) that this command is tied to.
 
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
 
Methods inherited from interface com.enspire.gemini.commands.Command
execute, undo
 

Constructor Detail

BidirectionalListCommand

public BidirectionalListCommand(BidirectionalProperty bidirectionalProperty,
                                java.util.List list)
Creates a command and sets its dependencies.

Parameters:
bidirectionalProperty -
list -
Method Detail

getList

public java.util.List getList()
Sets the unidirectional list (wrapped bu this command's bidirectional collection) that this command is tied to.

Returns:
the unidirectional list

setList

public void setList(java.util.List list)
Sets the unidirectional collection (wrapped bu this command's bidirectional collection) that this command is tied to.

Parameters:
list - an unidirectional collection to set.


Copyright © 2005 e-nspire. All Rights Reserved.