uk.org.toot.control
Class CompoundControlChain.ChainMutation

java.lang.Object
  extended by uk.org.toot.control.CompoundControlChain.ChainMutation
Enclosing class:
CompoundControlChain

public static class CompoundControlChain.ChainMutation
extends java.lang.Object

A ChainMutation is used to notify relevant observers to modify their structure to match this CompoundControlChain in a thread-safe manner.


Field Summary
static int COMMENCE
           
static CompoundControlChain.ChainMutation COMMENCE_INSTANCE
           
static int COMPLETE
           
static CompoundControlChain.ChainMutation COMPLETE_INSTANCE
           
static int DELETE
           
static int INSERT
           
static int MOVE
           
 
Constructor Summary
CompoundControlChain.ChainMutation(int type)
           
CompoundControlChain.ChainMutation(int type, int index)
           
CompoundControlChain.ChainMutation(int type, int index0, int index1)
           
 
Method Summary
 int getIndex0()
           
 int getIndex1()
           
 int getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DELETE

public static final int DELETE
See Also:
Constant Field Values

INSERT

public static final int INSERT
See Also:
Constant Field Values

MOVE

public static final int MOVE
See Also:
Constant Field Values

COMMENCE

public static final int COMMENCE
See Also:
Constant Field Values

COMPLETE

public static final int COMPLETE
See Also:
Constant Field Values

COMMENCE_INSTANCE

public static final CompoundControlChain.ChainMutation COMMENCE_INSTANCE

COMPLETE_INSTANCE

public static final CompoundControlChain.ChainMutation COMPLETE_INSTANCE
Constructor Detail

CompoundControlChain.ChainMutation

public CompoundControlChain.ChainMutation(int type)

CompoundControlChain.ChainMutation

public CompoundControlChain.ChainMutation(int type,
                                          int index)

CompoundControlChain.ChainMutation

public CompoundControlChain.ChainMutation(int type,
                                          int index0,
                                          int index1)
Method Detail

getType

public int getType()

getIndex0

public int getIndex0()

getIndex1

public int getIndex1()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.