Class testTable

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--testTable
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, rowSelectCallback, java.io.Serializable

public class testTable
extends java.applet.Applet
implements rowSelectCallback, java.awt.event.ActionListener

See Also:
Serialized Form

Inner classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Inner classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock
 
Field Summary
(package private) static testTable applet
           
(package private)  int[] colWidths
           
(package private) static boolean debug
           
(package private) static java.awt.Frame frame
           
(package private)  java.lang.String[] headers
           
(package private)  java.awt.TextField labelField
           
(package private)  java.awt.Button resize
           
(package private)  java.awt.Panel southPanel
           
(package private)  java.awt.TextField statusField
           
(package private)  rowTable table
           
(package private)  testBorder tBorder
           
(package private) static int Xsize
           
(package private) static int Ysize
           
 
Fields inherited from class java.applet.Applet
accessibleContext, serialVersionUID, stub
 
Fields inherited from class java.awt.Panel
base, nameCounter
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dbg, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
testTable()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void init()
           
static void main(java.lang.String[] argv)
           
 void resize()
           
 void rowDoubleSelected(java.lang.Object key)
          Called when a row is double selected (double clicked) in rowTable
 void rowMenuPerformed(java.lang.Object key, java.awt.event.ActionEvent e)
          Called when a row is unselected in rowTable
 void rowSelected(java.lang.Object key)
          Called when a row is selected in rowTable
 void rowUnSelected(java.lang.Object key, boolean endSelected)
          Called when a row is unselected in rowTable
 void start()
           
 
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, stop
 
Methods inherited from class java.awt.Panel
, addNotify, constructComponentName
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, adjustListeningChildren, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, doLayout, eventEnabled, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, initIDs, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paint, paintComponents, paintHeavyweightComponents, paramString, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, print, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, readObject, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusOwner, setFont, setLayout, transferFocus, update, validate, validateTree, writeObject
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkit, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, resetGC, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

debug

static final boolean debug

applet

static testTable applet

frame

static java.awt.Frame frame

Xsize

static final int Xsize

Ysize

static final int Ysize

table

rowTable table

tBorder

testBorder tBorder

statusField

java.awt.TextField statusField

southPanel

java.awt.Panel southPanel

labelField

java.awt.TextField labelField

resize

java.awt.Button resize

headers

java.lang.String[] headers

colWidths

int[] colWidths
Constructor Detail

testTable

public testTable()
Method Detail

init

public void init()
Overrides:
init in class java.applet.Applet

resize

public void resize()

start

public void start()
Overrides:
start in class java.applet.Applet

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

rowSelected

public void rowSelected(java.lang.Object key)
Description copied from interface: rowSelectCallback
Called when a row is selected in rowTable
Specified by:
rowSelected in interface rowSelectCallback
Following copied from interface: arlut.csd.JTable.rowSelectCallback
Parameters:
key - Hash key for the selected row

rowDoubleSelected

public void rowDoubleSelected(java.lang.Object key)
Description copied from interface: rowSelectCallback
Called when a row is double selected (double clicked) in rowTable
Specified by:
rowDoubleSelected in interface rowSelectCallback
Following copied from interface: arlut.csd.JTable.rowSelectCallback
Parameters:
key - Hash key for the selected row

rowUnSelected

public void rowUnSelected(java.lang.Object key,
                          boolean endSelected)
Description copied from interface: rowSelectCallback
Called when a row is unselected in rowTable
Specified by:
rowUnSelected in interface rowSelectCallback
Following copied from interface: arlut.csd.JTable.rowSelectCallback
Parameters:
key - Hash key for the unselected row
endSelected - false if the callback should assume that the final state of the system due to the user's present action will have no row selected

rowMenuPerformed

public void rowMenuPerformed(java.lang.Object key,
                             java.awt.event.ActionEvent e)
Description copied from interface: rowSelectCallback
Called when a row is unselected in rowTable
Specified by:
rowMenuPerformed in interface rowSelectCallback
Following copied from interface: arlut.csd.JTable.rowSelectCallback
Parameters:
key - Hash key for the row on which the popup menu item was performed
event - the original ActionEvent from the popupmenu. See event.getSource() to identify the menu item performed.

main

public static void main(java.lang.String[] argv)