org.rosuda.ibase
Class SCatSequence

java.lang.Object
  extended by org.rosuda.ibase.Notifier
      extended by org.rosuda.ibase.SCatSequence

public class SCatSequence
extends Notifier


Constructor Summary
SCatSequence(SVar var)
           
SCatSequence(SVar var, java.lang.Object theOwner, boolean notifyVariable)
           
 
Method Summary
 int catAtPos(int id)
          returns the category ID at position pos
 java.lang.Object getOwner()
           
 boolean moveCatAtPosTo(int p1, int p2)
           
 int posOfCat(int id)
          returns the position of the category id
 void reset()
           
 void setNotifyVarOnChange(boolean noc)
           
 int size()
           
 boolean swapCats(int c1, int c2)
           
 boolean swapCatsAtPositions(int p1, int p2)
           
 java.lang.String toString()
           
 
Methods inherited from class org.rosuda.ibase.Notifier
addDepend, beginBatch, delDepend, endBatch, NotifyAll, NotifyAll, NotifyAll, NotifyAll, startCascadedNotifyAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCatSequence

public SCatSequence(SVar var,
                    java.lang.Object theOwner,
                    boolean notifyVariable)

SCatSequence

public SCatSequence(SVar var)
Method Detail

setNotifyVarOnChange

public void setNotifyVarOnChange(boolean noc)

getOwner

public java.lang.Object getOwner()

size

public int size()

catAtPos

public int catAtPos(int id)
returns the category ID at position pos


posOfCat

public int posOfCat(int id)
returns the position of the category id


reset

public void reset()

swapCatsAtPositions

public boolean swapCatsAtPositions(int p1,
                                   int p2)

swapCats

public boolean swapCats(int c1,
                        int c2)

moveCatAtPosTo

public boolean moveCatAtPosTo(int p1,
                              int p2)

toString

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