KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > tree > DefaultTreeCellRenderer

javax.swing.tree
Class DefaultTreeCellRenderer

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JLabel
                  extended by javax.swing.tree.DefaultTreeCellRenderer
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TreeCellRenderer
See Also:
Top Examples, Source Code, XMLEncoder

protected Color backgroundNonSelectionColor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color backgroundSelectionColor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color borderSelectionColor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient Icon closedIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultTreeCellRenderer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               boolean oldValue,
                               boolean newValue)
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               byte oldValue,
                               byte newValue)
See Also:
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               char oldValue,
                               char newValue)
See Also:
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               double oldValue,
                               double newValue)
See Also:
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               float oldValue,
                               float newValue)
See Also:
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               int oldValue,
                               int newValue)
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void firePropertyChange(String propertyName,
                                  Object oldValue,
                                  Object newValue)
See Also:
Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               long oldValue,
                               long newValue)
See Also:
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void firePropertyChange(String propertyName,
                               short oldValue,
                               short newValue)
See Also:
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getBackgroundNonSelectionColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getBackgroundSelectionColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getBorderSelectionColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getClosedIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getDefaultClosedIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getDefaultLeafIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getDefaultOpenIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Font getFont()
See Also:
Component.setFont(java.awt.Font), MenuContainer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getLeafIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getOpenIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredSize()
See Also:
ComponentUI, JComponent.setPreferredSize(java.awt.Dimension)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getTextNonSelectionColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getTextSelectionColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Component getTreeCellRendererComponent(JTree tree,
                                              Object value,
                                              boolean sel,
                                              boolean expanded,
                                              boolean leaf,
                                              int row,
                                              boolean hasFocus)
See Also:
TreeCellRenderer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean hasFocus
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void invalidate()
See Also:
LayoutManager, Container.layout(), Container.validate()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient Icon leafIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient Icon openIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g)
See Also:
JComponent.repaint(long, int, int, int, int), JComponent.getComponentGraphics(java.awt.Graphics), JComponent.paintChildren(java.awt.Graphics), JComponent.paintBorder(java.awt.Graphics), JComponent.paintComponent(java.awt.Graphics)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void repaint()
See Also:
Component.update(Graphics)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void repaint(Rectangle r)
See Also:
RepaintManager.addDirtyRegion(javax.swing.JComponent, int, int, int, int), Component.isShowing(), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void repaint(long tm,
                    int x,
                    int y,
                    int width,
                    int height)
See Also:
RepaintManager.addDirtyRegion(javax.swing.JComponent, int, int, int, int), Component.isShowing(), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void revalidate()
See Also:
RepaintManager.addInvalidComponent(javax.swing.JComponent), JComponent.isValidateRoot(), Container.validate(), Component.invalidate()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean selected
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBackground(Color color)
See Also:
Component.getBackground(), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBackgroundNonSelectionColor(Color newColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBackgroundSelectionColor(Color newColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBorderSelectionColor(Color newColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setClosedIcon(Icon newIcon)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setFont(Font font)
See Also:
Component.getFont(), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLeafIcon(Icon newIcon)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setOpenIcon(Icon newIcon)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTextNonSelectionColor(Color newColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTextSelectionColor(Color newColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color textNonSelectionColor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color textSelectionColor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void validate()
See Also:
Container.add(java.awt.Component)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags