javax.swing.JTree
.
Modifier and Type | Class and Description |
---|---|
private class | |
private static class | |
private class | SynthTreeUI.
A subclass of |
Modifier and Type | Field and Description |
---|---|
private SynthStyle | |
private boolean | |
private boolean | |
private Icon | |
private Object | |
private int | |
private SynthContext | |
private SynthStyle | |
private boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private void | |
protected TreeCellEditor | createDefaultCellEditor()
Overrides javax. |
protected TreeCellRenderer | createDefaultCellRenderer()
Overrides javax. |
public static ComponentUI | Returns: the UI objectcomponent to create UI object for x)
Creates a new UI object for the given component.
|
protected void | drawCentered(Component
a component c, Graphics a graphics context graphics, Icon an icon icon, int an X coordinate x, int an Y coordinate y)Overrides javax. icon centered at (x,y).
|
private int | |
private int | |
public SynthContext | getContext(JComponent
Component requesting SynthContext. c)Implements javax. |
private SynthContext | |
private SynthContext | |
private SynthContext | |
public Icon | getExpandedIcon()
Overrides javax. |
protected int | getRowX(int
Row to return x location for row, int Depth of the row depth)Overrides javax. |
protected void | installDefaults()
Overrides javax. |
protected void | installListeners()
Overrides javax. |
public void | paint(Graphics
the g, JComponent Graphics object used for paintingthe component being painted c)Overrides javax. |
protected void | paint(SynthContext
context for the component being painted context, Graphics the g)Graphics object used for paintingPaints the specified component. |
public void | paintBorder(SynthContext
a component context context, Graphics Graphics to paint onthe X coordinate x, int the Y coordinate y, int width of the border w, int height of the border h)Implements javax. |
protected void | paintDropLine(Graphics
Graphics object to draw on |
protected void | paintExpandControl(Graphics
a graphics context g, Rectangle a clipped rectangle clipBounds, Insets insets insets, Rectangle a bounding rectangle bounds, TreePath a tree path path, int a row row, boolean true if the path is expandedtrue if the path has been expandedtrue if the row is leafOverrides javax. |
protected void | paintHorizontalLine(Graphics
a graphics context g, JComponent a component c, int an Y coordinate y, int an X1 coordinate left, int an X2 coordinate right)Overrides javax. |
protected void | paintHorizontalPartOfLeg(Graphics
a graphics context g, Rectangle a clipped rectangle clipBounds, Insets insets insets, Rectangle a bounding rectangle bounds, TreePath a tree path path, int a row row, boolean true if the path is expandedtrue if the path has been expandedtrue if the path is leafOverrides javax. |
private void | paintRow(TreeCellRenderer renderer, DefaultTreeCellRenderer dtcr, SynthContext treeContext, SynthContext cellContext, Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, Rectangle rowBounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
|
protected void | paintVerticalLine(Graphics
a graphics context g, JComponent a component c, int an X coordinate x, int an Y1 coordinate top, int an Y2 coordinate bottom)Overrides javax. |
protected void | paintVerticalPartOfLeg(Graphics
a graphics context g, Rectangle a clipped rectangle clipBounds, Insets insets insets, TreePath a tree path path)Overrides javax. |
public void | propertyChange(PropertyChangeEvent
A PropertyChangeEvent object describing the event source
and the property that has changed. event)Implements java. |
private void | |
protected void | uninstallDefaults()
Overrides javax. |
protected void | uninstallListeners()
Overrides javax. |
public void | update(Graphics
the g, JComponent Graphics object used for paintingthe component being painted c)Overrides javax. |
private void |