Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hsqldb.util
Class Tree  view Tree download Tree.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byorg.hsqldb.util.Tree
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

class Tree
extends java.awt.Panel

Version:
1.7.0

Nested Class Summary
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  java.awt.Dimension dMinimum
           
private static java.awt.Font fFont
           
private static java.awt.FontMetrics fMetrics
           
private  java.awt.Graphics gImage
           
private  int iFirstRow
           
private  int iHeight
           
private  java.awt.Image iImage
           
private static int iIndentWidth
           
private  int iMaxTextLength
           
private  int iRowCount
           
private static int iRowHeight
           
private  int iSbHeight
           
private  int iSbWidth
           
private  int iTreeHeight
           
private  int iTreeWidth
           
private  int iWidth
           
private  int iX
           
private  int iY
           
private  java.awt.Scrollbar sbHoriz
           
private  java.awt.Scrollbar sbVert
           
private  java.util.Vector vData
           
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
(package private) Tree()
          Constructor declaration
 
Method Summary
 void addRow(java.lang.String key, java.lang.String value)
          Method declaration
 void addRow(java.lang.String key, java.lang.String value, java.lang.String state, int color)
          Method declaration
(package private)  void adjustScroll()
          Method declaration
private static int getMaxHeight(java.awt.FontMetrics f)
          Method declaration
 java.awt.Dimension getMinimumSize()
          Method declaration
 java.awt.Dimension getPreferredSize()
          Method declaration
 boolean handleEvent(java.awt.Event e)
          Method declaration
 java.awt.Dimension minimumSize()
          Method declaration
 boolean mouseDown(java.awt.Event e, int x, int y)
          Method declaration
 void paint(java.awt.Graphics g)
          Method declaration
 java.awt.Dimension preferredSize()
          Method declaration
 void removeAll()
          Method declaration
 void setBounds(int x, int y, int w, int h)
          Method declaration
 void setMinimumSize(java.awt.Dimension d)
          Method declaration
 void update()
          Method declaration
 void update(java.awt.Graphics g)
          Method declaration
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, paintComponents, paramString, print, printComponents, processContainerEvent, processEvent, remove, remove, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fFont

private static java.awt.Font fFont

fMetrics

private static java.awt.FontMetrics fMetrics

iRowHeight

private static int iRowHeight

iIndentWidth

private static int iIndentWidth

iMaxTextLength

private int iMaxTextLength

dMinimum

private java.awt.Dimension dMinimum

gImage

private java.awt.Graphics gImage

iImage

private java.awt.Image iImage

iWidth

private int iWidth

iHeight

private int iHeight

iFirstRow

private int iFirstRow

iTreeWidth

private int iTreeWidth

iTreeHeight

private int iTreeHeight

iX

private int iX

iY

private int iY

vData

private java.util.Vector vData

iRowCount

private int iRowCount

sbHoriz

private java.awt.Scrollbar sbHoriz

sbVert

private java.awt.Scrollbar sbVert

iSbWidth

private int iSbWidth

iSbHeight

private int iSbHeight
Constructor Detail

Tree

Tree()
Constructor declaration

Method Detail

setMinimumSize

public void setMinimumSize(java.awt.Dimension d)
Method declaration


setBounds

public void setBounds(int x,
                      int y,
                      int w,
                      int h)
Method declaration


removeAll

public void removeAll()
Method declaration


addRow

public void addRow(java.lang.String key,
                   java.lang.String value,
                   java.lang.String state,
                   int color)
Method declaration


addRow

public void addRow(java.lang.String key,
                   java.lang.String value)
Method declaration


update

public void update()
Method declaration


adjustScroll

void adjustScroll()
Method declaration


handleEvent

public boolean handleEvent(java.awt.Event e)
Method declaration


paint

public void paint(java.awt.Graphics g)
Method declaration


update

public void update(java.awt.Graphics g)
Method declaration


preferredSize

public java.awt.Dimension preferredSize()
Method declaration


getPreferredSize

public java.awt.Dimension getPreferredSize()
Method declaration


getMinimumSize

public java.awt.Dimension getMinimumSize()
Method declaration


minimumSize

public java.awt.Dimension minimumSize()
Method declaration


mouseDown

public boolean mouseDown(java.awt.Event e,
                         int x,
                         int y)
Method declaration


getMaxHeight

private static int getMaxHeight(java.awt.FontMetrics f)
Method declaration