org.rosuda.ibase
Class SCatSequence
java.lang.Object
org.rosuda.ibase.Notifier
org.rosuda.ibase.SCatSequence
public class SCatSequence
- extends Notifier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SCatSequence
public SCatSequence(SVar var,
java.lang.Object theOwner,
boolean notifyVariable)
SCatSequence
public SCatSequence(SVar var)
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