org.jclarion.clarion
Class TreeClarionQueue

java.lang.Object
  extended by org.jclarion.clarion.TreeClarionQueue
All Implemented Interfaces:
ClarionQueueListener, ClarionQueueReader

public class TreeClarionQueue
extends java.lang.Object
implements ClarionQueueReader, ClarionQueueListener


Constructor Summary
TreeClarionQueue(ClarionQueueReader base, int depthColumn)
           
 
Method Summary
 void addListener(ClarionQueueListener cmcl)
           
 int convertQueueIndexToScreenIndex(int v)
           
 int convertScreenIndexToQueueIndex(int v)
           
 ClarionObject[] getRecord(int pos)
           
 boolean[] getSiblingTree(int row, int pos)
           
 ClarionObject getValueAt(int row, int column)
           
 boolean hasChildren(int row, int pos)
           
 void queueModified(ClarionQueueEvent event)
           
 int records()
           
 void removeListener(ClarionQueueListener cmcl)
           
 void toggle(int record, int column)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeClarionQueue

public TreeClarionQueue(ClarionQueueReader base,
                        int depthColumn)
Method Detail

addListener

public void addListener(ClarionQueueListener cmcl)
Specified by:
addListener in interface ClarionQueueReader

removeListener

public void removeListener(ClarionQueueListener cmcl)
Specified by:
removeListener in interface ClarionQueueReader

getRecord

public ClarionObject[] getRecord(int pos)
Specified by:
getRecord in interface ClarionQueueReader

getSiblingTree

public boolean[] getSiblingTree(int row,
                                int pos)
Specified by:
getSiblingTree in interface ClarionQueueReader

hasChildren

public boolean hasChildren(int row,
                           int pos)
Specified by:
hasChildren in interface ClarionQueueReader

records

public int records()
Specified by:
records in interface ClarionQueueReader

toggle

public void toggle(int record,
                   int column)
Specified by:
toggle in interface ClarionQueueReader

getValueAt

public ClarionObject getValueAt(int row,
                                int column)
Specified by:
getValueAt in interface ClarionQueueReader

queueModified

public void queueModified(ClarionQueueEvent event)
Specified by:
queueModified in interface ClarionQueueListener

convertQueueIndexToScreenIndex

public int convertQueueIndexToScreenIndex(int v)
Specified by:
convertQueueIndexToScreenIndex in interface ClarionQueueReader

convertScreenIndexToQueueIndex

public int convertScreenIndexToQueueIndex(int v)
Specified by:
convertScreenIndexToQueueIndex in interface ClarionQueueReader


Copyright © 2010. All Rights Reserved.