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

Class Index

 o MotifTreeUI.MotifCollapsedIcon
 o MotifTreeUI.MotifExpandedIcon

Constructor Index

 o MotifTreeUI()
creates a UI object to represent a Motif Tree widget

Method Index

 o createUI(JComponent)
 o drawHorizontalPartOfLeg(Graphics, JComponent, int, int, int, int, int, int)
 o drawVerticalPartOfLeg(Graphics, JComponent, int, int, int, int, int, int)
 o getDefaultCellRenderer()
Returns the default cell renderer that is used to do the stamping of each node.
 o installUI(JComponent)
 o shouldDrawLegToParent(VisibleTreeNode, VisibleTreeNode)
 o shouldPaintExpandControl(VisibleTreeNode, VisibleTreeNode)

Constructors

 o MotifTreeUI
public MotifTreeUI()
creates a UI object to represent a Motif Tree widget

Methods

 o installUI
public void installUI(JComponent c)
Overrides:
installUI in class BasicTreeUI
 o shouldDrawLegToParent
protected boolean shouldDrawLegToParent(VisibleTreeNode parentNode,
                                        VisibleTreeNode childNode)
Overrides:
shouldDrawLegToParent in class BasicTreeUI
 o shouldPaintExpandControl
protected boolean shouldPaintExpandControl(VisibleTreeNode parentNode,
                                           VisibleTreeNode childNode)
Overrides:
shouldPaintExpandControl in class BasicTreeUI
 o 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
 o 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
 o createUI
public static ComponentUI createUI(JComponent x)
 o 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