|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Panel netcom.gui.Tree
Title: Tree
Description: Implementation of a Tree in AWT
Copyright: Copyright (c) 2002
Company: NETCOM
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 | |
java.util.Vector |
grayHighlight
|
static int |
GRAYHIGHLIGHT
|
static int |
MAX_BITMASK_SUM
|
static int |
NOCHILDREN
|
static int |
OPENED
|
int |
OVER_ERROR
|
static int |
SHOWN
|
java.util.Hashtable |
tree_folder_status
|
java.util.Vector |
vData
|
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 | |
Tree()
|
|
Tree(int a)
|
Method Summary | |
void |
addFolderBitmaskFlag(java.lang.String s,
int i)
|
void |
addRow(java.lang.String[] args)
|
void |
addRow(java.lang.String key,
java.lang.String value)
|
void |
addRow(java.lang.String key,
java.lang.String value,
java.lang.String state,
int color)
|
void |
addRow(java.lang.String key,
java.lang.String value,
java.lang.String state,
int color,
java.lang.String shortcut,
java.lang.String strimage,
java.lang.String restype)
|
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent p1)
|
void |
deleteFolderBitmask(java.lang.String s)
|
int |
getFolderBitmask(java.lang.String s)
|
java.awt.Dimension |
getMinimumSize()
|
java.awt.Dimension |
getPreferredSize()
|
java.lang.String |
getSelectedName()
|
java.lang.String |
getSelectedPath()
|
java.lang.String |
getSelectedShortcut()
|
java.lang.String |
getSelectedType()
|
int |
getSessionID()
|
int |
getVertScrollValue()
|
boolean |
isClosable()
|
boolean |
isForBrowse()
|
java.awt.Dimension |
minimumSize()
|
void |
mouseClicked(java.awt.event.MouseEvent p1)
|
void |
mouseEntered(java.awt.event.MouseEvent p1)
|
void |
mouseExited(java.awt.event.MouseEvent p1)
|
void |
mousePressed(java.awt.event.MouseEvent p1)
|
void |
mouseReleased(java.awt.event.MouseEvent p1)
|
void |
paint(java.awt.Graphics g)
|
java.awt.Dimension |
preferredSize()
|
void |
removeAll()
|
void |
removeFolderBitmaskFlag(java.lang.String s,
int i)
|
void |
reshape(int x,
int y,
int w,
int h)
|
void |
setClosable(boolean s)
|
void |
setFolderBitmask(java.lang.String s,
int i)
|
void |
setForBrowse(boolean s)
|
void |
setMaxIndent(int i)
|
void |
setMinimumSize(java.awt.Dimension d)
|
void |
setSelected(java.lang.String s)
|
void |
setVertScrollValue(int n)
|
void |
update()
|
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, 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, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, 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, handleEvent, 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, mouseDown, 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, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int OPENED
public static final int SHOWN
public static final int NOCHILDREN
public static final int GRAYHIGHLIGHT
public static final int MAX_BITMASK_SUM
public final int OVER_ERROR
public java.util.Vector vData
public java.util.Vector grayHighlight
public java.util.Hashtable tree_folder_status
Constructor Detail |
public Tree()
public Tree(int a)
Method Detail |
public void setSelected(java.lang.String s)
public boolean isForBrowse()
public void setForBrowse(boolean s)
public boolean isClosable()
public void setClosable(boolean s)
public int getSessionID()
public int getFolderBitmask(java.lang.String s)
public void setFolderBitmask(java.lang.String s, int i)
public void removeFolderBitmaskFlag(java.lang.String s, int i)
public void addFolderBitmaskFlag(java.lang.String s, int i)
public void deleteFolderBitmask(java.lang.String s)
public java.lang.String getSelectedPath()
public java.lang.String getSelectedName()
public java.lang.String getSelectedType()
public int getVertScrollValue()
public void setVertScrollValue(int n)
public java.lang.String getSelectedShortcut()
public void setMinimumSize(java.awt.Dimension d)
public void reshape(int x, int y, int w, int h)
public void removeAll()
public void addRow(java.lang.String key, java.lang.String value, java.lang.String state, int color, java.lang.String shortcut, java.lang.String strimage, java.lang.String restype)
public void setMaxIndent(int i)
public void addRow(java.lang.String[] args) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void addRow(java.lang.String key, java.lang.String value, java.lang.String state, int color)
public void addRow(java.lang.String key, java.lang.String value)
public void update()
public void paint(java.awt.Graphics g)
public java.awt.Dimension preferredSize()
public java.awt.Dimension getPreferredSize()
public java.awt.Dimension getMinimumSize()
public java.awt.Dimension minimumSize()
public void mouseReleased(java.awt.event.MouseEvent p1)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent p1)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent p1)
mouseClicked
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent p1)
mousePressed
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent p1)
mouseExited
in interface java.awt.event.MouseListener
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent p1)
adjustmentValueChanged
in interface java.awt.event.AdjustmentListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |