Java Doc for JTree.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » javax package » javax.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JComponent
   javax.swing.JTree

JTree
public class JTree extends JComponent implements Scrollable,Accessible(Code)

JTree

Implementation Notes:

  • The serialVersionUID fields are explicitly declared as a performance optimization, not as a guarantee of serialization compatibility.

Inner Class :protected class AccessibleJTree extends AccessibleJComponent implements AccessibleSelection,TreeSelectionListener,TreeModelListener,TreeExpansionListener
Inner Class :public static class DynamicUtilTreeNode extends DefaultMutableTreeNode
Inner Class :protected static class EmptySelectionModel extends DefaultTreeSelectionModel
Inner Class :protected class TreeModelHandler implements TreeModelListener
Inner Class :protected class TreeSelectionRedirector implements Serializable,TreeSelectionListener

Field Summary
final public static  StringANCHOR_SELECTION_PATH_PROPERTY
    
final public static  StringCELL_EDITOR_PROPERTY
    
final public static  StringCELL_RENDERER_PROPERTY
    
final public static  StringEDITABLE_PROPERTY
    
final public static  StringEXPANDS_SELECTED_PATHS_PROPERTY
    
final public static  StringINVOKES_STOP_CELL_EDITING_PROPERTY
    
final public static  StringLARGE_MODEL_PROPERTY
    
final public static  StringLEAD_SELECTION_PATH_PROPERTY
    
final public static  StringROOT_VISIBLE_PROPERTY
    
final public static  StringROW_HEIGHT_PROPERTY
    
final public static  StringSCROLLS_ON_EXPAND_PROPERTY
    
final public static  StringSELECTION_MODEL_PROPERTY
    
final public static  StringSHOWS_ROOT_HANDLES_PROPERTY
    
final public static  StringTOGGLE_CLICK_COUNT_PROPERTY
    
final public static  StringTREE_MODEL_PROPERTY
    
final public static  StringVISIBLE_ROW_COUNT_PROPERTY
    
protected transient  TreeCellEditorcellEditor
    
protected transient  TreeCellRenderercellRenderer
    
protected  booleaneditable
    
protected  booleaninvokesStopCellEditing
    
protected  booleanlargeModel
    
protected  booleanrootVisible
    
protected  introwHeight
    
protected  booleanscrollsOnExpand
    
protected transient  TreeSelectionModelselectionModel
    
protected transient  TreeSelectionRedirectorselectionRedirector
    
protected  booleanshowsRootHandles
    
protected  inttoggleClickCount
    
protected transient  TreeModeltreeModel
    
protected transient  TreeModelListenertreeModelListener
    
protected  intvisibleRowCount
    

Constructor Summary
public  JTree()
    
public  JTree(Object[] value)
    
public  JTree(Vector value)
    
public  JTree(Hashtable value)
    
public  JTree(TreeNode root)
    
public  JTree(TreeNode root, boolean asksAllowsChildren)
    
public  JTree(TreeModel model)
    

Method Summary
public  voidaddSelectionInterval(int index0, int index1)
    
public  voidaddSelectionPath(TreePath path)
    
public  voidaddSelectionPaths(TreePath[] paths)
    
public  voidaddSelectionRow(int row)
    
public  voidaddSelectionRows(int[] rows)
    
public  voidaddTreeExpansionListener(TreeExpansionListener l)
    
public  voidaddTreeSelectionListener(TreeSelectionListener l)
    
public  voidaddTreeWillExpandListener(TreeWillExpandListener l)
    
public  voidcancelEditing()
    
public  voidclearSelection()
    
protected  voidclearToggledPaths()
    
public  voidcollapsePath(TreePath path)
    
public  voidcollapseRow(int row)
    
public  StringconvertValueToText(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
    
protected static  TreeModelcreateTreeModel(Object value)
    
protected  TreeModelListenercreateTreeModelListener()
    
public  voidexpandPath(TreePath path)
    
public  voidexpandRow(int row)
    
public  voidfireTreeCollapsed(TreePath path)
    
public  voidfireTreeExpanded(TreePath path)
    
public  voidfireTreeWillCollapse(TreePath path)
    
public  voidfireTreeWillExpand(TreePath path)
    
protected  voidfireValueChanged(TreeSelectionEvent e)
    
public  AccessibleContextgetAccessibleContext()
    
public  TreePathgetAnchorSelectionPath()
    
public  TreeCellEditorgetCellEditor()
    
public  TreeCellRenderergetCellRenderer()
    
public  TreePathgetClosestPathForLocation(int x, int y)
    
public  intgetClosestRowForLocation(int x, int y)
    
protected static  TreeModelgetDefaultTreeModel()
    
protected  Enumeration<TreePath>getDescendantToggledPaths(TreePath parent)
    
public  booleangetDragEnabled()
    
public  TreePathgetEditingPath()
    
public  Enumeration<TreePath>getExpandedDescendants(TreePath parent)
    
public  booleangetExpandsSelectedPaths()
    
public  booleangetInvokesStopCellEditing()
    
public  ObjectgetLastSelectedPathComponent()
    
public  TreePathgetLeadSelectionPath()
    
public  intgetLeadSelectionRow()
    
public  intgetMaxSelectionRow()
    
public  intgetMinSelectionRow()
    
public  TreeModelgetModel()
    
public  TreePathgetNextMatch(String prefix, int startingRow, Position.Bias bias)
    
protected  TreePath[]getPathBetweenRows(int index0, int index1)
    
public  RectanglegetPathBounds(TreePath path)
    
public  TreePathgetPathForLocation(int x, int y)
    
public  TreePathgetPathForRow(int row)
    
public  DimensiongetPreferredScrollableViewportSize()
    
public  RectanglegetRowBounds(int row)
    
public  intgetRowCount()
    
public  intgetRowForLocation(int x, int y)
    
public  intgetRowForPath(TreePath path)
    
public  intgetRowHeight()
    
public  intgetScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
    
public  booleangetScrollableTracksViewportHeight()
    
public  booleangetScrollableTracksViewportWidth()
    
public  intgetScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
    
public  booleangetScrollsOnExpand()
    
public  intgetSelectionCount()
    
public  TreeSelectionModelgetSelectionModel()
    
public  TreePathgetSelectionPath()
    
public  TreePath[]getSelectionPaths()
    
public  int[]getSelectionRows()
    
public  booleangetShowsRootHandles()
    
public  intgetToggleClickCount()
    
public  StringgetToolTipText(MouseEvent event)
    
public  TreeExpansionListener[]getTreeExpansionListeners()
    
public  TreeSelectionListener[]getTreeSelectionListeners()
    
public  TreeWillExpandListener[]getTreeWillExpandListeners()
    
public  TreeUIgetUI()
    
public  StringgetUIClassID()
    
public  intgetVisibleRowCount()
    
public  booleanhasBeenExpanded(TreePath path)
    
public  booleanisCollapsed(TreePath path)
    
public  booleanisCollapsed(int row)
    
public  booleanisEditable()
    
public  booleanisEditing()
    
public  booleanisExpanded(TreePath path)
    
public  booleanisExpanded(int row)
    
public  booleanisFixedRowHeight()
    
public  booleanisLargeModel()
    
public  booleanisPathEditable(TreePath path)
    
public  booleanisPathSelected(TreePath path)
    
public  booleanisRootVisible()
    
public  booleanisRowSelected(int row)
    
public  booleanisSelectionEmpty()
    
public  booleanisVisible(TreePath path)
    
public  voidmakeVisible(TreePath path)
    
protected  booleanremoveDescendantSelectedPaths(TreePath path, boolean includePath)
    
protected  voidremoveDescendantToggledPaths(Enumeration<TreePath> toRemove)
    
public  voidremoveSelectionInterval(int index0, int index1)
    
public  voidremoveSelectionPath(TreePath path)
    
public  voidremoveSelectionPaths(TreePath[] paths)
    
public  voidremoveSelectionRow(int row)
    
public  voidremoveSelectionRows(int[] rows)
    
public  voidremoveTreeExpansionListener(TreeExpansionListener l)
    
public  voidremoveTreeSelectionListener(TreeSelectionListener l)
    
public  voidremoveTreeWillExpandListener(TreeWillExpandListener l)
    
public  voidscrollPathToVisible(TreePath path)
    
public  voidscrollRowToVisible(int row)
    
public  voidsetAnchorSelectionPath(TreePath path)
    
public  voidsetCellEditor(TreeCellEditor editor)
    
public  voidsetCellRenderer(TreeCellRenderer renderer)
    
public  voidsetDragEnabled(boolean enabled)
    
public  voidsetEditable(boolean flag)
    
protected  voidsetExpandedState(TreePath path, boolean state)
    
public  voidsetExpandsSelectedPaths(boolean expand)
    
public  voidsetInvokesStopCellEditing(boolean invokesStop)
    
public  voidsetLargeModel(boolean large)
    
public  voidsetLeadSelectionPath(TreePath path)
    
public  voidsetModel(TreeModel model)
    
public  voidsetRootVisible(boolean visible)
    
public  voidsetRowHeight(int height)
    
public  voidsetScrollsOnExpand(boolean scroll)
    
public  voidsetSelectionInterval(int index0, int index1)
    
public  voidsetSelectionModel(TreeSelectionModel model)
    
public  voidsetSelectionPath(TreePath path)
    
public  voidsetSelectionPaths(TreePath[] paths)
    
public  voidsetSelectionRow(int row)
    
public  voidsetSelectionRows(int[] rows)
    
public  voidsetShowsRootHandles(boolean showHandles)
    
public  voidsetToggleClickCount(int clickCount)
    
public  voidsetUI(TreeUI ui)
    
public  voidsetVisibleRowCount(int count)
    
public  voidstartEditingAtPath(TreePath path)
    
public  booleanstopEditing()
    
public  voidtreeDidChange()
    
public  voidupdateUI()
    

Field Detail
ANCHOR_SELECTION_PATH_PROPERTY
final public static String ANCHOR_SELECTION_PATH_PROPERTY(Code)



CELL_EDITOR_PROPERTY
final public static String CELL_EDITOR_PROPERTY(Code)



CELL_RENDERER_PROPERTY
final public static String CELL_RENDERER_PROPERTY(Code)



EDITABLE_PROPERTY
final public static String EDITABLE_PROPERTY(Code)



EXPANDS_SELECTED_PATHS_PROPERTY
final public static String EXPANDS_SELECTED_PATHS_PROPERTY(Code)



INVOKES_STOP_CELL_EDITING_PROPERTY
final public static String INVOKES_STOP_CELL_EDITING_PROPERTY(Code)



LARGE_MODEL_PROPERTY
final public static String LARGE_MODEL_PROPERTY(Code)



LEAD_SELECTION_PATH_PROPERTY
final public static String LEAD_SELECTION_PATH_PROPERTY(Code)



ROOT_VISIBLE_PROPERTY
final public static String ROOT_VISIBLE_PROPERTY(Code)



ROW_HEIGHT_PROPERTY
final public static String ROW_HEIGHT_PROPERTY(Code)



SCROLLS_ON_EXPAND_PROPERTY
final public static String SCROLLS_ON_EXPAND_PROPERTY(Code)



SELECTION_MODEL_PROPERTY
final public static String SELECTION_MODEL_PROPERTY(Code)



SHOWS_ROOT_HANDLES_PROPERTY
final public static String SHOWS_ROOT_HANDLES_PROPERTY(Code)



TOGGLE_CLICK_COUNT_PROPERTY
final public static String TOGGLE_CLICK_COUNT_PROPERTY(Code)



TREE_MODEL_PROPERTY
final public static String TREE_MODEL_PROPERTY(Code)



VISIBLE_ROW_COUNT_PROPERTY
final public static String VISIBLE_ROW_COUNT_PROPERTY(Code)



cellEditor
protected transient TreeCellEditor cellEditor(Code)



cellRenderer
protected transient TreeCellRenderer cellRenderer(Code)



editable
protected boolean editable(Code)



invokesStopCellEditing
protected boolean invokesStopCellEditing(Code)



largeModel
protected boolean largeModel(Code)



rootVisible
protected boolean rootVisible(Code)



rowHeight
protected int rowHeight(Code)



scrollsOnExpand
protected boolean scrollsOnExpand(Code)



selectionModel
protected transient TreeSelectionModel selectionModel(Code)



selectionRedirector
protected transient TreeSelectionRedirector selectionRedirector(Code)



showsRootHandles
protected boolean showsRootHandles(Code)



toggleClickCount
protected int toggleClickCount(Code)



treeModel
protected transient TreeModel treeModel(Code)



treeModelListener
protected transient TreeModelListener treeModelListener(Code)



visibleRowCount
protected int visibleRowCount(Code)




Constructor Detail
JTree
public JTree()(Code)



JTree
public JTree(Object[] value)(Code)



JTree
public JTree(Vector value)(Code)



JTree
public JTree(Hashtable value)(Code)



JTree
public JTree(TreeNode root)(Code)



JTree
public JTree(TreeNode root, boolean asksAllowsChildren)(Code)



JTree
public JTree(TreeModel model)(Code)




Method Detail
addSelectionInterval
public void addSelectionInterval(int index0, int index1)(Code)



addSelectionPath
public void addSelectionPath(TreePath path)(Code)



addSelectionPaths
public void addSelectionPaths(TreePath[] paths)(Code)



addSelectionRow
public void addSelectionRow(int row)(Code)



addSelectionRows
public void addSelectionRows(int[] rows)(Code)



addTreeExpansionListener
public void addTreeExpansionListener(TreeExpansionListener l)(Code)



addTreeSelectionListener
public void addTreeSelectionListener(TreeSelectionListener l)(Code)



addTreeWillExpandListener
public void addTreeWillExpandListener(TreeWillExpandListener l)(Code)



cancelEditing
public void cancelEditing()(Code)



clearSelection
public void clearSelection()(Code)



clearToggledPaths
protected void clearToggledPaths()(Code)



collapsePath
public void collapsePath(TreePath path)(Code)



collapseRow
public void collapseRow(int row)(Code)



convertValueToText
public String convertValueToText(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)(Code)



createTreeModel
protected static TreeModel createTreeModel(Object value)(Code)



createTreeModelListener
protected TreeModelListener createTreeModelListener()(Code)



expandPath
public void expandPath(TreePath path)(Code)



expandRow
public void expandRow(int row)(Code)



fireTreeCollapsed
public void fireTreeCollapsed(TreePath path)(Code)



fireTreeExpanded
public void fireTreeExpanded(TreePath path)(Code)



fireTreeWillCollapse
public void fireTreeWillCollapse(TreePath path) throws ExpandVetoException(Code)



fireTreeWillExpand
public void fireTreeWillExpand(TreePath path) throws ExpandVetoException(Code)



fireValueChanged
protected void fireValueChanged(TreeSelectionEvent e)(Code)



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)



getAnchorSelectionPath
public TreePath getAnchorSelectionPath()(Code)



getCellEditor
public TreeCellEditor getCellEditor()(Code)



getCellRenderer
public TreeCellRenderer getCellRenderer()(Code)



getClosestPathForLocation
public TreePath getClosestPathForLocation(int x, int y)(Code)



getClosestRowForLocation
public int getClosestRowForLocation(int x, int y)(Code)



getDefaultTreeModel
protected static TreeModel getDefaultTreeModel()(Code)



getDescendantToggledPaths
protected Enumeration<TreePath> getDescendantToggledPaths(TreePath parent)(Code)



getDragEnabled
public boolean getDragEnabled()(Code)



getEditingPath
public TreePath getEditingPath()(Code)



getExpandedDescendants
public Enumeration<TreePath> getExpandedDescendants(TreePath parent)(Code)



getExpandsSelectedPaths
public boolean getExpandsSelectedPaths()(Code)



getInvokesStopCellEditing
public boolean getInvokesStopCellEditing()(Code)



getLastSelectedPathComponent
public Object getLastSelectedPathComponent()(Code)



getLeadSelectionPath
public TreePath getLeadSelectionPath()(Code)



getLeadSelectionRow
public int getLeadSelectionRow()(Code)



getMaxSelectionRow
public int getMaxSelectionRow()(Code)



getMinSelectionRow
public int getMinSelectionRow()(Code)



getModel
public TreeModel getModel()(Code)



getNextMatch
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias)(Code)



getPathBetweenRows
protected TreePath[] getPathBetweenRows(int index0, int index1)(Code)



getPathBounds
public Rectangle getPathBounds(TreePath path)(Code)



getPathForLocation
public TreePath getPathForLocation(int x, int y)(Code)



getPathForRow
public TreePath getPathForRow(int row)(Code)



getPreferredScrollableViewportSize
public Dimension getPreferredScrollableViewportSize()(Code)



getRowBounds
public Rectangle getRowBounds(int row)(Code)



getRowCount
public int getRowCount()(Code)



getRowForLocation
public int getRowForLocation(int x, int y)(Code)



getRowForPath
public int getRowForPath(TreePath path)(Code)



getRowHeight
public int getRowHeight()(Code)



getScrollableBlockIncrement
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)(Code)



getScrollableTracksViewportHeight
public boolean getScrollableTracksViewportHeight()(Code)



getScrollableTracksViewportWidth
public boolean getScrollableTracksViewportWidth()(Code)



getScrollableUnitIncrement
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)(Code)



getScrollsOnExpand
public boolean getScrollsOnExpand()(Code)



getSelectionCount
public int getSelectionCount()(Code)



getSelectionModel
public TreeSelectionModel getSelectionModel()(Code)



getSelectionPath
public TreePath getSelectionPath()(Code)



getSelectionPaths
public TreePath[] getSelectionPaths()(Code)



getSelectionRows
public int[] getSelectionRows()(Code)



getShowsRootHandles
public boolean getShowsRootHandles()(Code)



getToggleClickCount
public int getToggleClickCount()(Code)



getToolTipText
public String getToolTipText(MouseEvent event)(Code)



getTreeExpansionListeners
public TreeExpansionListener[] getTreeExpansionListeners()(Code)



getTreeSelectionListeners
public TreeSelectionListener[] getTreeSelectionListeners()(Code)



getTreeWillExpandListeners
public TreeWillExpandListener[] getTreeWillExpandListeners()(Code)



getUI
public TreeUI getUI()(Code)



getUIClassID
public String getUIClassID()(Code)



getVisibleRowCount
public int getVisibleRowCount()(Code)



hasBeenExpanded
public boolean hasBeenExpanded(TreePath path)(Code)



isCollapsed
public boolean isCollapsed(TreePath path)(Code)



isCollapsed
public boolean isCollapsed(int row)(Code)



isEditable
public boolean isEditable()(Code)



isEditing
public boolean isEditing()(Code)



isExpanded
public boolean isExpanded(TreePath path)(Code)



isExpanded
public boolean isExpanded(int row)(Code)



isFixedRowHeight
public boolean isFixedRowHeight()(Code)



isLargeModel
public boolean isLargeModel()(Code)



isPathEditable
public boolean isPathEditable(TreePath path)(Code)



isPathSelected
public boolean isPathSelected(TreePath path)(Code)



isRootVisible
public boolean isRootVisible()(Code)



isRowSelected
public boolean isRowSelected(int row)(Code)



isSelectionEmpty
public boolean isSelectionEmpty()(Code)



isVisible
public boolean isVisible(TreePath path)(Code)



makeVisible
public void makeVisible(TreePath path)(Code)



removeDescendantSelectedPaths
protected boolean removeDescendantSelectedPaths(TreePath path, boolean includePath)(Code)



removeDescendantToggledPaths
protected void removeDescendantToggledPaths(Enumeration<TreePath> toRemove)(Code)



removeSelectionInterval
public void removeSelectionInterval(int index0, int index1)(Code)



removeSelectionPath
public void removeSelectionPath(TreePath path)(Code)



removeSelectionPaths
public void removeSelectionPaths(TreePath[] paths)(Code)



removeSelectionRow
public void removeSelectionRow(int row)(Code)



removeSelectionRows
public void removeSelectionRows(int[] rows)(Code)



removeTreeExpansionListener
public void removeTreeExpansionListener(TreeExpansionListener l)(Code)



removeTreeSelectionListener
public void removeTreeSelectionListener(TreeSelectionListener l)(Code)



removeTreeWillExpandListener
public void removeTreeWillExpandListener(TreeWillExpandListener l)(Code)



scrollPathToVisible
public void scrollPathToVisible(TreePath path)(Code)



scrollRowToVisible
public void scrollRowToVisible(int row)(Code)



setAnchorSelectionPath
public void setAnchorSelectionPath(TreePath path)(Code)



setCellEditor
public void setCellEditor(TreeCellEditor editor)(Code)



setCellRenderer
public void setCellRenderer(TreeCellRenderer renderer)(Code)



setDragEnabled
public void setDragEnabled(boolean enabled)(Code)



setEditable
public void setEditable(boolean flag)(Code)



setExpandedState
protected void setExpandedState(TreePath path, boolean state)(Code)



setExpandsSelectedPaths
public void setExpandsSelectedPaths(boolean expand)(Code)



setInvokesStopCellEditing
public void setInvokesStopCellEditing(boolean invokesStop)(Code)



setLargeModel
public void setLargeModel(boolean large)(Code)



setLeadSelectionPath
public void setLeadSelectionPath(TreePath path)(Code)



setModel
public void setModel(TreeModel model)(Code)



setRootVisible
public void setRootVisible(boolean visible)(Code)



setRowHeight
public void setRowHeight(int height)(Code)



setScrollsOnExpand
public void setScrollsOnExpand(boolean scroll)(Code)



setSelectionInterval
public void setSelectionInterval(int index0, int index1)(Code)



setSelectionModel
public void setSelectionModel(TreeSelectionModel model)(Code)



setSelectionPath
public void setSelectionPath(TreePath path)(Code)



setSelectionPaths
public void setSelectionPaths(TreePath[] paths)(Code)



setSelectionRow
public void setSelectionRow(int row)(Code)



setSelectionRows
public void setSelectionRows(int[] rows)(Code)



setShowsRootHandles
public void setShowsRootHandles(boolean showHandles)(Code)



setToggleClickCount
public void setToggleClickCount(int clickCount)(Code)



setUI
public void setUI(TreeUI ui)(Code)



setVisibleRowCount
public void setVisibleRowCount(int count)(Code)



startEditingAtPath
public void startEditingAtPath(TreePath path)(Code)



stopEditing
public boolean stopEditing()(Code)



treeDidChange
public void treeDidChange()(Code)



updateUI
public void updateUI()(Code)



Fields inherited from javax.swing.JComponent
final static String AUTOSCROLLS_PROPERTY_NAME(Code)(Java Doc)
final static String COMPONENT_POPUP_MENU_PROPERTY_NAME(Code)(Java Doc)
final static String INHERITS_POPUP_MENU_PROPERTY_NAME(Code)(Java Doc)
final static String NEXT_FOCUSABLE_PROPERTY_NAME(Code)(Java Doc)
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final static String UI_PROPERTY_NAME(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final static String VERIFY_INPUT_PROPERTY_NAME(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
final Set<String> installablePropertiesExcluded(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected transient ComponentUI ui(Code)(Java Doc)

Methods inherited from javax.swing.JComponent
public void addAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
final void componentInputMapChanged(ComponentInputMap map)(Code)(Java Doc)
public void computeVisibleRect(Rectangle rect)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
protected void fireVetoableChange(String property, Object oldValue, Object newValue) throws PropertyVetoException(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc)
final public ActionMap getActionMap()(Code)(Java Doc)
final ActionMap getActionMap(boolean forceCreate)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public AncestorListener[] getAncestorListeners()(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Rectangle getBounds(Rectangle bounds)(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc)
public JPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public static Locale getDefaultLocale()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public boolean getInheritsPopupMenu()(Code)(Java Doc)
final public InputMap getInputMap(int condition)(Code)(Java Doc)
final public InputMap getInputMap()(Code)(Java Doc)
final InputMap getInputMap(int condition, boolean forceCreate)(Code)(Java Doc)
public InputVerifier getInputVerifier()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public T[] getListeners(Class<T> listenersClass)(Code)(Java Doc)
public Point getLocation(Point extLocation)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public Point getPopupLocation(MouseEvent event)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Dimension getSize(Dimension extSize)(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc)
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
boolean hasListener(Class<T> listenerType, EventListener l)(Code)(Java Doc)
boolean insideDoubleBuffering()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public static boolean isLightweightComponent(Component component)(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paint(Graphics graphics)(Code)(Java Doc)
protected void paintBorder(Graphics graphics)(Code)(Java Doc)
protected void paintChildren(Graphics graphics)(Code)(Java Doc)
protected void paintComponent(Graphics graphics)(Code)(Java Doc)
void paintDoubleBuffered(Graphics g)(Code)(Java Doc)
public void paintImmediately(Rectangle rect)(Code)(Java Doc)
public void paintImmediately(int x, int y, int width, int height)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
protected void printChildren(Graphics g)(Code)(Java Doc)
protected void printComponent(Graphics g)(Code)(Java Doc)
protected void processComponentKeyEvent(KeyEvent event)(Code)(Java Doc)
protected boolean processKeyBinding(KeyStroke keyStroke, KeyEvent keyEvent, int condition, boolean pressed)(Code)(Java Doc)
static boolean processKeyBindings(KeyEvent event, Component source)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent event)(Code)(Java Doc)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener action, String command, KeyStroke keyStroke, int condition)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener action, KeyStroke keyStroke, int condition)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void repaint(Rectangle rect)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle rect)(Code)(Java Doc)
final public void setActionMap(ActionMap newActionMap)(Code)(Java Doc)
public void setAlignmentX(float alignment)(Code)(Java Doc)
public void setAlignmentY(float alignment)(Code)(Java Doc)
public void setAutoscrolls(boolean scrolls)(Code)(Java Doc)
public void setBorder(Border newBorder)(Code)(Java Doc)
public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc)
public void setDebugGraphicsOptions(int newDebugGraphicsOptions)(Code)(Java Doc)
public static void setDefaultLocale(Locale locale)(Code)(Java Doc)
public void setDoubleBuffered(boolean flag)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setInheritsPopupMenu(boolean value)(Code)(Java Doc)
final public void setInputMap(int condition, InputMap map)(Code)(Java Doc)
public void setInputVerifier(InputVerifier verifier)(Code)(Java Doc)
public void setNextFocusableComponent(Component component)(Code)(Java Doc)
public void setOpaque(boolean opaque)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean enabled)(Code)(Java Doc)
public void setToolTipText(String text)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
protected void setUI(ComponentUI newUI)(Code)(Java Doc)
public void setVerifyInputWhenFocusTarget(boolean verifyInput)(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke keyStroke)(Code)(Java Doc)
public void update(Graphics graphics)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.