(Automatically generated from BeanInfo)
Generated Object
A javax.swing.JTree is returned, unless the user passes in a subclass of JTree as the value argument, in which case the value argument is returned.
Attributes
Declared in javax.swing.JTree
- UI <TreeUI> The UI object that implements the Component's LookAndFeel.
- anchorSelectionPath <TreePath> Anchor selection path
- cellEditor <TreeCellEditor> The cell editor. A null value implies the tree cannot be edited.
- cellRenderer <TreeCellRenderer> The TreeCellRenderer that will be used to draw each cell.
- dragEnabled <boolean> determines whether automatic drag handling is enabled
- editable <boolean> Whether the tree is editable.
- expandsSelectedPaths <boolean> Indicates whether changes to the selection should make the parent of the path visible.
- invokesStopCellEditing <boolean> Determines what happens when editing is interrupted, selecting another node in the tree, a change in the tree's data, or some other means.
- largeModel <boolean> Whether the UI should use a large model.
- leadSelectionPath <TreePath> Lead selection path
- model <TreeModel> The TreeModel that will provide the data.
- rootVisible <boolean> Whether or not the root node from the TreeModel is visible.
- rowHeight <int> The height of each cell.
- scrollsOnExpand <boolean> Indicates if a node descendant should be scrolled when expanded.
- selectionModel <TreeSelectionModel> The tree's selection model.
- showsRootHandles <boolean> Whether the node handles are to be displayed.
- toggleClickCount <int> Number of clicks before a node will expand/collapse.
- visibleRowCount <int> The number of rows that are to be displayed.
- editing <boolean>
- editingPath <TreePath>
- fixedRowHeight <boolean>
- lastSelectedPathComponent <Object>
- leadSelectionRow <int>
- maxSelectionRow <int>
- minSelectionRow <int>
- preferredScrollableViewportSize <Dimension>
- rowCount <int>
- scrollableTracksViewportHeight <boolean>
- scrollableTracksViewportWidth <boolean>
- selectionCount <int>
- selectionEmpty <boolean>
- selectionPath <TreePath>
- selectionPaths <TreePath[]>
- selectionRows <int[]>
Declared in javax.swing.JComponent
- autoscrolls <boolean> Determines if this component automatically scrolls its contents when dragged.
- border <Border> The component's border.
- componentPopupMenu <JPopupMenu> Popup to show
- debugGraphicsOptions <int> Diagnostic options for graphics operations.
- inheritsPopupMenu <boolean> Whether or not the JPopupMenu is inherited
- inputVerifier <InputVerifier> The component's input verifier.
- opaque <boolean> The component's opacity
- toolTipText <String> The text to display in a tool tip.
- transferHandler <TransferHandler> Mechanism for transfer of data to and from the component
- verifyInputWhenFocusTarget <boolean> Whether the Component verifies input before accepting focus.
- UIClassID <String>
- accessibleContext <AccessibleContext>
- actionMap <ActionMap>
- doubleBuffered <boolean>
- graphics <Graphics>
- height <int>
- managingFocus <boolean>
- nextFocusableComponent <Component>
- optimizedDrawingEnabled <boolean>
- paintingTile <boolean>
- registeredKeyStrokes <KeyStroke[]>
- requestFocusEnabled <boolean>
- rootPane <JRootPane>
- topLevelAncestor <Container>
- validateRoot <boolean>
- visibleRect <Rectangle>
- width <int>
- x <int>
- y <int>
Declared in java.awt.Container
- alignmentX <float>
- alignmentY <float>
- componentCount <int>
- components <Component[]>
- focusCycleRoot <boolean>
- focusTraversalPolicy <FocusTraversalPolicy>
- focusTraversalPolicyProvider <boolean>
- focusTraversalPolicySet <boolean>
- insets <Insets>
- layout <LayoutManager>
- maximumSize <Dimension>
- minimumSize <Dimension>
- preferredSize <Dimension>
Events
Declared in javax.swing.JTree
- treeCollapsed (TreeExpansionEvent) - part of TreeExpansionListener
- treeExpanded (TreeExpansionEvent) - part of TreeExpansionListener
- valueChanged (TreeSelectionEvent) - part of TreeSelectionListener
- treeWillCollapse (TreeExpansionEvent) - part of TreeWillExpandListener
- treeWillExpand (TreeExpansionEvent) - part of TreeWillExpandListener
Declared in javax.swing.JComponent
- vetoableChange (PropertyChangeEvent) - part of VetoableChangeListener
- ancestorMoved (AncestorEvent) - part of AncestorListener
- ancestorAdded (AncestorEvent) - part of AncestorListener
- ancestorRemoved (AncestorEvent) - part of AncestorListener
Declared in java.awt.Container
- componentAdded (ContainerEvent) - part of ContainerListener
- componentRemoved (ContainerEvent) - part of ContainerListener
Declared in java.awt.Component
- keyPressed (KeyEvent) - part of KeyListener
- keyReleased (KeyEvent) - part of KeyListener
- keyTyped (KeyEvent) - part of KeyListener
- componentHidden (ComponentEvent) - part of ComponentListener
- componentMoved (ComponentEvent) - part of ComponentListener
- componentResized (ComponentEvent) - part of ComponentListener
- componentShown (ComponentEvent) - part of ComponentListener
- hierarchyChanged (HierarchyEvent) - part of HierarchyListener
- mouseClicked (MouseEvent) - part of MouseListener
- mouseEntered (MouseEvent) - part of MouseListener
- mouseExited (MouseEvent) - part of MouseListener
- mousePressed (MouseEvent) - part of MouseListener
- mouseReleased (MouseEvent) - part of MouseListener
- mouseDragged (MouseEvent) - part of MouseMotionListener
- mouseMoved (MouseEvent) - part of MouseMotionListener
- propertyChange (PropertyChangeEvent) - part of PropertyChangeListener
- ancestorMoved (HierarchyEvent) - part of HierarchyBoundsListener
- ancestorResized (HierarchyEvent) - part of HierarchyBoundsListener
- focusGained (FocusEvent) - part of FocusListener
- focusLost (FocusEvent) - part of FocusListener
- mouseWheelMoved (MouseWheelEvent) - part of MouseWheelListener
- caretPositionChanged (InputMethodEvent) - part of InputMethodListener
- inputMethodTextChanged (InputMethodEvent) - part of InputMethodListener
Observable Attributes
- UI
- alignmentX
- alignmentY
- anchorSelectionPath
- background
- border
- cellEditor
- cellRenderer
- component
- componentCount
- componentPopupMenu
- components
- containerListeners
- editable
- enabled
- expandsSelectedPaths
- focusCycleRoot
- focusTraversalKeys
- focusTraversalPolicy
- focusTraversalPolicyProvider
- focusTraversalPolicySet
- focusable
- font
- foreground
- inheritsPopupMenu
- inputVerifier
- insets
- invokesStopCellEditing
- largeModel
- layout
- leadSelectionPath
- maximumSize
- minimumSize
- model
- opaque
- preferredSize
- rootVisible
- rowHeight
- scrollsOnExpand
- selectionModel
- showsRootHandles
- toggleClickCount
- transferHandler
- verifyInputWhenFocusTarget
- visibleRowCount






