diagapplet.utils
Class FakeFastListPanel

java.lang.Object
  extended by diagapplet.utils.FakeFastListPanel
All Implemented Interfaces:
FastListPanelInterface

public class FakeFastListPanel
extends java.lang.Object
implements FastListPanelInterface

Tracks the same data as FastListPane without any actual display.


Field Summary
static boolean debug_on
           
static boolean display_on
           
 
Constructor Summary
FakeFastListPanel()
           
FakeFastListPanel(int rows, int cols, boolean set_multipleSelections, java.lang.Object p)
           
 
Method Summary
 void add(java.lang.String s)
           
 void add(java.lang.String s, int index)
           
 void add(java.lang.String s, int index, int var_number)
           
 void clear()
           
 int countItems()
           
 void deselect(int index)
           
 java.lang.String getItem(int index)
           
 int getItemCount()
           
 int getSelectedIndex()
           
 int[] getSelectedIndexes()
           
 java.lang.String getSelectedItem()
           
 java.lang.String[] getSelectedItems()
           
 java.lang.Object[] getSelectedObjects()
           
 int getSelectedVarNumber()
           
 int getVarNumber(int index)
           
 boolean isSelected(int index)
           
 void removeAll()
           
 void replaceItem(java.lang.String s, int index)
           
 void replaceItem(java.lang.String s, int index, int var_number)
           
 void select(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug_on

public static boolean debug_on

display_on

public static final boolean display_on
See Also:
Constant Field Values
Constructor Detail

FakeFastListPanel

public FakeFastListPanel()

FakeFastListPanel

public FakeFastListPanel(int rows,
                         int cols,
                         boolean set_multipleSelections,
                         java.lang.Object p)
Method Detail

add

public void add(java.lang.String s)
Specified by:
add in interface FastListPanelInterface

add

public void add(java.lang.String s,
                int index)
Specified by:
add in interface FastListPanelInterface

add

public void add(java.lang.String s,
                int index,
                int var_number)
Specified by:
add in interface FastListPanelInterface

replaceItem

public void replaceItem(java.lang.String s,
                        int index)
Specified by:
replaceItem in interface FastListPanelInterface

replaceItem

public void replaceItem(java.lang.String s,
                        int index,
                        int var_number)
Specified by:
replaceItem in interface FastListPanelInterface

removeAll

public void removeAll()
Specified by:
removeAll in interface FastListPanelInterface

clear

public void clear()
Specified by:
clear in interface FastListPanelInterface

select

public void select(int index)
Specified by:
select in interface FastListPanelInterface

deselect

public void deselect(int index)
Specified by:
deselect in interface FastListPanelInterface

isSelected

public boolean isSelected(int index)
Specified by:
isSelected in interface FastListPanelInterface

getSelectedIndex

public int getSelectedIndex()
Specified by:
getSelectedIndex in interface FastListPanelInterface

getSelectedItem

public java.lang.String getSelectedItem()
Specified by:
getSelectedItem in interface FastListPanelInterface

getSelectedVarNumber

public int getSelectedVarNumber()
Specified by:
getSelectedVarNumber in interface FastListPanelInterface

getSelectedIndexes

public int[] getSelectedIndexes()
Specified by:
getSelectedIndexes in interface FastListPanelInterface

getSelectedItems

public java.lang.String[] getSelectedItems()
Specified by:
getSelectedItems in interface FastListPanelInterface

getSelectedObjects

public java.lang.Object[] getSelectedObjects()
Specified by:
getSelectedObjects in interface FastListPanelInterface

getItem

public java.lang.String getItem(int index)
Specified by:
getItem in interface FastListPanelInterface

getVarNumber

public int getVarNumber(int index)
Specified by:
getVarNumber in interface FastListPanelInterface

countItems

public int countItems()
Specified by:
countItems in interface FastListPanelInterface

getItemCount

public int getItemCount()
Specified by:
getItemCount in interface FastListPanelInterface