All Packages Class Hierarchy This Package Previous Next Index
Class berkeley.cs.dmc.dmod.TreePanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----berkeley.cs.dmc.dmod.TreePanel
- public class TreePanel
- extends Panel
- implements AdjustmentListener
-
TreePanel(Main)
-
-
addRootNode(TreeNode)
-
-
adjustmentValueChanged(AdjustmentEvent)
-
-
doLayout()
-
-
draw3DBorder(Graphics, int, int, int, int, boolean, Color)
-
-
draw3DBorder(Graphics, int, int, int, int, boolean, Color, Color)
-
-
getMinimumSize()
-
-
getPreferredSize()
-
-
paint(Graphics)
-
-
processMouseEvent(MouseEvent)
-
-
processMouseMotionEvent(MouseEvent)
-
-
update(Graphics)
-
-
updateDisplay()
-
TreePanel
public TreePanel(Main main)
updateDisplay
public void updateDisplay()
addRootNode
public void addRootNode(TreeNode node)
doLayout
public void doLayout()
- Overrides:
- doLayout in class Container
update
public void update(Graphics g)
- Overrides:
- update in class Container
paint
public void paint(Graphics cg)
- Overrides:
- paint in class Container
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Container
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class Container
processMouseEvent
protected void processMouseEvent(MouseEvent evt)
- Overrides:
- processMouseEvent in class Component
processMouseMotionEvent
protected void processMouseMotionEvent(MouseEvent evt)
- Overrides:
- processMouseMotionEvent in class Component
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
draw3DBorder
public static final void draw3DBorder(Graphics g,
int x,
int y,
int width,
int height,
boolean up,
Color c)
draw3DBorder
public static final void draw3DBorder(Graphics g,
int x,
int y,
int width,
int height,
boolean up,
Color light,
Color dark)
All Packages Class Hierarchy This Package Previous Next Index