Java Doc for SynthTreeUI.java in  » 6.0-JDK-Core » swing » javax » swing » plaf » synth » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
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
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » swing » javax.swing.plaf.synth 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.TreeUI
         javax.swing.plaf.basic.BasicTreeUI
            javax.swing.plaf.synth.SynthTreeUI

SynthTreeUI
class SynthTreeUI extends BasicTreeUI implements PropertyChangeListener,SynthUI(Code)
Skinnable TreeUI.
version:
   1.40, 05/05/07
author:
   Scott Violet



Constructor Summary
 SynthTreeUI()
    

Method Summary
protected  TreeCellEditorcreateDefaultCellEditor()
    
protected  TreeCellRenderercreateDefaultCellRenderer()
    
public static  ComponentUIcreateUI(JComponent x)
    
protected  voiddrawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
    
public  SynthContextgetContext(JComponent c)
    
public  IcongetExpandedIcon()
    
protected  intgetRowX(int row, int depth)
    
protected  voidinstallDefaults()
    
protected  voidinstallListeners()
    
public  voidpaint(Graphics g, JComponent c)
    
protected  voidpaint(SynthContext context, Graphics g)
    
public  voidpaintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    
protected  voidpaintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)
    
protected  voidpaintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
    
protected  voidpaintRow(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  voidpaintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)
    
protected  voidpaintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
    
public  voidpropertyChange(PropertyChangeEvent event)
    
protected  voiduninstallDefaults()
    
protected  voiduninstallListeners()
    
public  voidupdate(Graphics g, JComponent c)
    


Constructor Detail
SynthTreeUI
SynthTreeUI()(Code)




Method Detail
createDefaultCellEditor
protected TreeCellEditor createDefaultCellEditor()(Code)



createDefaultCellRenderer
protected TreeCellRenderer createDefaultCellRenderer()(Code)



createUI
public static ComponentUI createUI(JComponent x)(Code)



drawCentered
protected void drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)(Code)



getContext
public SynthContext getContext(JComponent c)(Code)



getExpandedIcon
public Icon getExpandedIcon()(Code)



getRowX
protected int getRowX(int row, int depth)(Code)



installDefaults
protected void installDefaults()(Code)



installListeners
protected void installListeners()(Code)



paint
public void paint(Graphics g, JComponent c)(Code)



paint
protected void paint(SynthContext context, Graphics g)(Code)



paintBorder
public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)(Code)



paintHorizontalLine
protected void paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)(Code)



paintHorizontalPartOfLeg
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)



paintRow
protected 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)(Code)



paintVerticalLine
protected void paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)(Code)



paintVerticalPartOfLeg
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)(Code)



propertyChange
public void propertyChange(PropertyChangeEvent event)(Code)



uninstallDefaults
protected void uninstallDefaults()(Code)



uninstallListeners
protected void uninstallListeners()(Code)



update
public void update(Graphics g, JComponent c)(Code)



Fields inherited from javax.swing.plaf.basic.BasicTreeUI
protected transient TreeCellEditor cellEditor(Code)(Java Doc)
protected transient Icon collapsedIcon(Code)(Java Doc)
protected boolean createdCellEditor(Code)(Java Doc)
protected boolean createdRenderer(Code)(Java Doc)
protected transient TreeCellRenderer currentCellRenderer(Code)(Java Doc)
protected int depthOffset(Code)(Java Doc)
protected Hashtable<TreePath, Boolean> drawingCache(Code)(Java Doc)
protected Component editingComponent(Code)(Java Doc)
protected TreePath editingPath(Code)(Java Doc)
protected int editingRow(Code)(Java Doc)
protected boolean editorHasDifferentSize(Code)(Java Doc)
protected transient Icon expandedIcon(Code)(Java Doc)
protected boolean largeModel(Code)(Java Doc)
protected int lastSelectedRow(Code)(Java Doc)
protected int leftChildIndent(Code)(Java Doc)
protected AbstractLayoutCache.NodeDimensions nodeDimensions(Code)(Java Doc)
protected Dimension preferredMinSize(Code)(Java Doc)
protected Dimension preferredSize(Code)(Java Doc)
protected CellRendererPane rendererPane(Code)(Java Doc)
protected int rightChildIndent(Code)(Java Doc)
protected boolean stopEditingInCompleteEditing(Code)(Java Doc)
protected int totalChildIndent(Code)(Java Doc)
protected JTree tree(Code)(Java Doc)
protected TreeModel treeModel(Code)(Java Doc)
protected TreeSelectionModel treeSelectionModel(Code)(Java Doc)
protected AbstractLayoutCache treeState(Code)(Java Doc)
protected boolean validCachedPreferredSize(Code)(Java Doc)

Methods inherited from javax.swing.plaf.basic.BasicTreeUI
public void cancelEditing(JTree tree)(Code)(Java Doc)
protected void checkForClickInExpandControl(TreePath path, int mouseX, int mouseY)(Code)(Java Doc)
protected void completeEditing()(Code)(Java Doc)
protected void completeEditing(boolean messageStop, boolean messageCancel, boolean messageTree)(Code)(Java Doc)
protected void completeUIInstall()(Code)(Java Doc)
protected void completeUIUninstall()(Code)(Java Doc)
protected void configureLayoutCache()(Code)(Java Doc)
protected CellEditorListener createCellEditorListener()(Code)(Java Doc)
protected CellRendererPane createCellRendererPane()(Code)(Java Doc)
protected ComponentListener createComponentListener()(Code)(Java Doc)
protected TreeCellEditor createDefaultCellEditor()(Code)(Java Doc)
protected TreeCellRenderer createDefaultCellRenderer()(Code)(Java Doc)
protected FocusListener createFocusListener()(Code)(Java Doc)
protected KeyListener createKeyListener()(Code)(Java Doc)
protected AbstractLayoutCache createLayoutCache()(Code)(Java Doc)
protected MouseListener createMouseListener()(Code)(Java Doc)
protected AbstractLayoutCache.NodeDimensions createNodeDimensions()(Code)(Java Doc)
protected PropertyChangeListener createPropertyChangeListener()(Code)(Java Doc)
protected PropertyChangeListener createSelectionModelPropertyChangeListener()(Code)(Java Doc)
protected TreeExpansionListener createTreeExpansionListener()(Code)(Java Doc)
protected TreeModelListener createTreeModelListener()(Code)(Java Doc)
protected TreeSelectionListener createTreeSelectionListener()(Code)(Java Doc)
public static ComponentUI createUI(JComponent x)(Code)(Java Doc)
protected void drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)(Code)(Java Doc)
protected void drawDashedHorizontalLine(Graphics g, int y, int x1, int x2)(Code)(Java Doc)
protected void drawDashedVerticalLine(Graphics g, int x, int y1, int y2)(Code)(Java Doc)
protected void ensureRowsAreVisible(int beginRow, int endRow)(Code)(Java Doc)
public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc)
public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc)
protected TreeCellEditor getCellEditor()(Code)(Java Doc)
protected TreeCellRenderer getCellRenderer()(Code)(Java Doc)
public TreePath getClosestPathForLocation(JTree tree, int x, int y)(Code)(Java Doc)
public Icon getCollapsedIcon()(Code)(Java Doc)
public TreePath getEditingPath(JTree tree)(Code)(Java Doc)
public Icon getExpandedIcon()(Code)(Java Doc)
protected Color getHashColor()(Code)(Java Doc)
protected int getHorizontalLegBuffer()(Code)(Java Doc)
protected TreePath getLastChildPath(TreePath parent)(Code)(Java Doc)
public int getLeftChildIndent()(Code)(Java Doc)
public Dimension getMaximumSize(JComponent c)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent c)(Code)(Java Doc)
protected TreeModel getModel()(Code)(Java Doc)
public Rectangle getPathBounds(JTree tree, TreePath path)(Code)(Java Doc)
public TreePath getPathForRow(JTree tree, int row)(Code)(Java Doc)
public Dimension getPreferredMinSize()(Code)(Java Doc)
public Dimension getPreferredSize(JComponent c)(Code)(Java Doc)
public Dimension getPreferredSize(JComponent c, boolean checkConsistancy)(Code)(Java Doc)
public int getRightChildIndent()(Code)(Java Doc)
public int getRowCount(JTree tree)(Code)(Java Doc)
public int getRowForPath(JTree tree, TreePath path)(Code)(Java Doc)
protected int getRowHeight()(Code)(Java Doc)
protected int getRowX(int row, int depth)(Code)(Java Doc)
protected TreeSelectionModel getSelectionModel()(Code)(Java Doc)
protected boolean getShowsRootHandles()(Code)(Java Doc)
protected int getVerticalLegBuffer()(Code)(Java Doc)
protected void handleExpandControlClick(TreePath path, int mouseX, int mouseY)(Code)(Java Doc)
protected void installComponents()(Code)(Java Doc)
protected void installDefaults()(Code)(Java Doc)
protected void installKeyboardActions()(Code)(Java Doc)
protected void installListeners()(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
protected boolean isEditable()(Code)(Java Doc)
public boolean isEditing(JTree tree)(Code)(Java Doc)
protected boolean isLargeModel()(Code)(Java Doc)
protected boolean isLeaf(int row)(Code)(Java Doc)
protected boolean isLocationInExpandControl(TreePath path, int mouseX, int mouseY)(Code)(Java Doc)
protected boolean isMultiSelectEvent(MouseEvent event)(Code)(Java Doc)
protected boolean isRootVisible()(Code)(Java Doc)
protected boolean isToggleEvent(MouseEvent event)(Code)(Java Doc)
protected boolean isToggleSelectionEvent(MouseEvent event)(Code)(Java Doc)
public void paint(Graphics g, JComponent c)(Code)(Java Doc)
protected void paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc)
protected void paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)(Code)(Java Doc)
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc)
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc)
protected void paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)(Code)(Java Doc)
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)(Code)(Java Doc)
protected void pathWasCollapsed(TreePath path)(Code)(Java Doc)
protected void pathWasExpanded(TreePath path)(Code)(Java Doc)
protected void prepareForUIInstall()(Code)(Java Doc)
protected void prepareForUIUninstall()(Code)(Java Doc)
protected void selectPathForEvent(TreePath path, MouseEvent event)(Code)(Java Doc)
protected void setCellEditor(TreeCellEditor editor)(Code)(Java Doc)
protected void setCellRenderer(TreeCellRenderer tcr)(Code)(Java Doc)
public void setCollapsedIcon(Icon newG)(Code)(Java Doc)
protected void setEditable(boolean newValue)(Code)(Java Doc)
public void setExpandedIcon(Icon newG)(Code)(Java Doc)
protected void setHashColor(Color color)(Code)(Java Doc)
protected void setLargeModel(boolean largeModel)(Code)(Java Doc)
public void setLeftChildIndent(int newAmount)(Code)(Java Doc)
protected void setModel(TreeModel model)(Code)(Java Doc)
public void setPreferredMinSize(Dimension newSize)(Code)(Java Doc)
public void setRightChildIndent(int newAmount)(Code)(Java Doc)
protected void setRootVisible(boolean newValue)(Code)(Java Doc)
protected void setRowHeight(int rowHeight)(Code)(Java Doc)
protected void setSelectionModel(TreeSelectionModel newLSM)(Code)(Java Doc)
protected void setShowsRootHandles(boolean newValue)(Code)(Java Doc)
protected boolean shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc)
protected boolean startEditing(TreePath path, MouseEvent event)(Code)(Java Doc)
public void startEditingAtPath(JTree tree, TreePath path)(Code)(Java Doc)
public boolean stopEditing(JTree tree)(Code)(Java Doc)
protected void toggleExpandState(TreePath path)(Code)(Java Doc)
protected void uninstallComponents()(Code)(Java Doc)
protected void uninstallDefaults()(Code)(Java Doc)
protected void uninstallKeyboardActions()(Code)(Java Doc)
protected void uninstallListeners()(Code)(Java Doc)
public void uninstallUI(JComponent c)(Code)(Java Doc)
protected void updateCachedPreferredSize()(Code)(Java Doc)
protected void updateCellEditor()(Code)(Java Doc)
protected void updateDepthOffset()(Code)(Java Doc)
protected void updateExpandedDescendants(TreePath path)(Code)(Java Doc)
protected void updateLayoutCacheExpandedNodes()(Code)(Java Doc)
protected void updateRenderer()(Code)(Java Doc)
protected void updateSize()(Code)(Java Doc)

Methods inherited from javax.swing.plaf.TreeUI
abstract public void cancelEditing(JTree tree)(Code)(Java Doc)
abstract public TreePath getClosestPathForLocation(JTree tree, int x, int y)(Code)(Java Doc)
abstract public TreePath getEditingPath(JTree tree)(Code)(Java Doc)
abstract public Rectangle getPathBounds(JTree tree, TreePath path)(Code)(Java Doc)
abstract public TreePath getPathForRow(JTree tree, int row)(Code)(Java Doc)
abstract public int getRowCount(JTree tree)(Code)(Java Doc)
abstract public int getRowForPath(JTree tree, TreePath path)(Code)(Java Doc)
abstract public boolean isEditing(JTree tree)(Code)(Java Doc)
abstract public void startEditingAtPath(JTree tree, TreePath path)(Code)(Java Doc)
abstract public boolean stopEditing(JTree tree)(Code)(Java Doc)

Methods inherited from javax.swing.plaf.ComponentUI
public boolean contains(JComponent c, int x, int y)(Code)(Java Doc)
public static ComponentUI createUI(JComponent c)(Code)(Java Doc)
public Accessible getAccessibleChild(JComponent c, int i)(Code)(Java Doc)
public int getAccessibleChildrenCount(JComponent c)(Code)(Java Doc)
public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc)
public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc)
public Dimension getMaximumSize(JComponent c)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent c)(Code)(Java Doc)
public Dimension getPreferredSize(JComponent c)(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
public void paint(Graphics g, JComponent c)(Code)(Java Doc)
public void uninstallUI(JComponent c)(Code)(Java Doc)
public void update(Graphics g, JComponent c)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.