| Modifier and Type | Class and Description |
|---|---|
| public static class | MotifTreeUI.
The plus sign button icon. |
| public static class | MotifTreeUI.
The minus sign button icon. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TreeCellRenderer | createDefaultCellRenderer()
Overrides javax. Returns the default cell renderer that is used to do the stamping of each node. |
| public static ComponentUI | createUI(JComponent x)
Hides javax. Constructs a new instance of |
| public void | installUI(JComponent c)
Overrides javax. Configures the specified component appropriately for the look and feel. |
| protected void | paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)
Overrides javax. Paints a horizontal line. |
| protected void | paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)
Overrides javax. Paints a vertical line. |
| HALF_SIZE | back to summary |
|---|---|
| pack-priv static final int HALF_SIZE | |
| SIZE | back to summary |
|---|---|
| pack-priv static final int SIZE | |
| MotifTreeUI | back to summary |
|---|---|
| public MotifTreeUI() creates a UI object to represent a Motif Tree widget | |
| createDefaultCellRenderer | back to summary |
|---|---|
| public TreeCellRenderer createDefaultCellRenderer() Overrides javax. Returns the default cell renderer that is used to do the stamping of each node.
| |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent x) Hides javax. Doc from javax. Constructs a new instance of | |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Doc from javax. Configures the specified component appropriately for the look and feel.
This method is invoked when the
| |
| paintHorizontalLine | back to summary |
|---|---|
| protected void paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right) Overrides javax. Doc from javax. Paints a horizontal line.
| |
| paintVerticalLine | back to summary |
|---|---|
| protected void paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom) Overrides javax. Doc from javax. Paints a vertical line.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Icon | |
| public void | paintIcon(Component c, Graphics g, int x, int y)
Overrides com. Implements javax. Draw the icon at the specified location. |
| MotifCollapsedIcon | back to summary |
|---|---|
| public MotifCollapsedIcon() | |
| createCollapsedIcon | back to summary |
|---|---|
| public static Icon createCollapsedIcon() | |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int x, int y) Overrides com. Implements javax. Doc from javax. Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static Color | |
| pack-priv static Color | |
| pack-priv static Color | |
| pack-priv static Color |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Icon | |
| public int | |
| public int | |
| public void | paintIcon(Component c, Graphics g, int x, int y)
Implements javax. Draw the icon at the specified location. |
| bg | back to summary |
|---|---|
| pack-priv static Color bg | |
| fg | back to summary |
|---|---|
| pack-priv static Color fg | |
| highlight | back to summary |
|---|---|
| pack-priv static Color highlight | |
| shadow | back to summary |
|---|---|
| pack-priv static Color shadow | |
| MotifExpandedIcon | back to summary |
|---|---|
| public MotifExpandedIcon() | |
| createExpandedIcon | back to summary |
|---|---|
| public static Icon createExpandedIcon() | |
| getIconHeight | back to summary |
|---|---|
| public int getIconHeight() Implements javax. Doc from javax. Returns the icon's height.
| |
| getIconWidth | back to summary |
|---|---|
| public int getIconWidth() Implements javax. Doc from javax. Returns the icon's width.
| |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int x, int y) Implements javax. Doc from javax. Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color.
| |