public class

WindowsTreeUI

extends BasicTreeUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.TreeUI
       ↳ javax.swing.plaf.basic.BasicTreeUI
         ↳ com.sun.java.swing.plaf.windows.WindowsTreeUI

Class Overview

A Windows tree.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Summary

Nested Classes
class WindowsTreeUI.CollapsedIcon The plus sign button icon

Warning: Serialized objects of this class will not be compatible with future Swing releases. 

class WindowsTreeUI.ExpandedIcon The minus sign button icon

Warning: Serialized objects of this class will not be compatible with future Swing releases. 

class WindowsTreeUI.WindowsTreeCellRenderer  
Constants
int HALF_SIZE
int SIZE
[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicTreeUI
Public Constructors
WindowsTreeUI()
Public Methods
static ComponentUI createUI(JComponent c)
Protected Methods
TreeCellRenderer createDefaultCellRenderer()
Returns the default cell renderer that is used to do the stamping of each node.
void ensureRowsAreVisible(int beginRow, int endRow)
Ensures that the rows identified by beginRow through endRow are visible.
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicTreeUI
From class javax.swing.plaf.TreeUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Constants

protected static final int HALF_SIZE

Constant Value: 4 (0x00000004)

protected static final int SIZE

Constant Value: 9 (0x00000009)

Public Constructors

public WindowsTreeUI ()

Public Methods

public static ComponentUI createUI (JComponent c)

Protected Methods

protected TreeCellRenderer createDefaultCellRenderer ()

Returns the default cell renderer that is used to do the stamping of each node.

protected void ensureRowsAreVisible (int beginRow, int endRow)

Ensures that the rows identified by beginRow through endRow are visible.