All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.motif.MotifTreeUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.TreeUI
|
+----java.awt.swing.basic.AbstractTreeUI
|
+----java.awt.swing.basic.BasicTreeUI
|
+----java.awt.swing.motif.MotifTreeUI
- public class MotifTreeUI
- extends BasicTreeUI
MotifTreeUI.MotifCollapsedIcon-
MotifTreeUI.MotifExpandedIcon-
MotifTreeUI()
- creates a UI object to represent a Motif Tree widget
createUI(JComponent)
-
drawHorizontalPartOfLeg(Graphics, JComponent, int, int, int, int, int, int)
-
drawVerticalPartOfLeg(Graphics, JComponent, int, int, int, int, int, int)
-
getDefaultCellRenderer()
- Returns the default cell renderer that is used to do the
stamping of each node.
installUI(JComponent)
-
shouldDrawLegToParent(VisibleTreeNode, VisibleTreeNode)
-
shouldPaintExpandControl(VisibleTreeNode, VisibleTreeNode)
-
MotifTreeUI
public MotifTreeUI()
- creates a UI object to represent a Motif Tree widget
installUI
public void installUI(JComponent c)
- Overrides:
- installUI in class BasicTreeUI
shouldDrawLegToParent
protected boolean shouldDrawLegToParent(VisibleTreeNode parentNode,
VisibleTreeNode childNode)
- Overrides:
- shouldDrawLegToParent in class BasicTreeUI
shouldPaintExpandControl
protected boolean shouldPaintExpandControl(VisibleTreeNode parentNode,
VisibleTreeNode childNode)
- Overrides:
- shouldPaintExpandControl in class BasicTreeUI
drawVerticalPartOfLeg
protected void drawVerticalPartOfLeg(Graphics g,
JComponent c,
int parentX,
int parentY,
int childX,
int childY,
int parentRowHeight,
int childRowHeight)
- Overrides:
- drawVerticalPartOfLeg in class BasicTreeUI
drawHorizontalPartOfLeg
protected void drawHorizontalPartOfLeg(Graphics g,
JComponent c,
int parentX,
int parentY,
int childX,
int childY,
int parentRowHeight,
int childRowHeight)
- Overrides:
- drawHorizontalPartOfLeg in class BasicTreeUI
createUI
public static ComponentUI createUI(JComponent x)
getDefaultCellRenderer
public TreeCellRenderer getDefaultCellRenderer()
- Returns the default cell renderer that is used to do the
stamping of each node.
- Overrides:
- getDefaultCellRenderer in class BasicTreeUI
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature