***  This class is subject to change.  ***

com.sas.swing.visuals
Class CheckBoxTreeCellRendererWrapper

com.sas.swing.visuals.CheckBoxTreeCellRendererWrapper
All Implemented Interfaces:
LayoutConstants, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.swing.tree.TreeCellRenderer

public class CheckBoxTreeCellRendererWrapper
implements javax.swing.tree.TreeCellRenderer, LayoutConstants

See Also:
Serialized Form

Field Summary
protected  javax.swing.tree.TreeCellRenderer renderer
           
 
Fields inherited from interface com.sas.swing.visuals.util.LayoutConstants
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN
 
Constructor Summary
CheckBoxTreeCellRendererWrapper(javax.swing.JTree tree)
           
CheckBoxTreeCellRendererWrapper(javax.swing.tree.TreeCellRenderer renderer)
           
 
Method Summary
 javax.swing.JCheckBox createDefaultCheckBox()
           
 int getArmedRow()
           
 javax.swing.tree.TreeCellRenderer getCellRenderer()
           
 javax.swing.JCheckBox getCheckBox()
           
 boolean getCheckBoxHasFocus()
           
 int getPressedRow()
           
 java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, int row, boolean hasFocus)
           
 boolean isDefaultRenderer()
           
 void setArmedRow(int row)
           
 void setCellRenderer(javax.swing.tree.TreeCellRenderer newRenderer)
           
 void setCheckBox(javax.swing.JCheckBox newCheckBox)
           
 void setCheckBoxHasFocus(boolean checkBoxFocus)
           
 void setPressedRow(int row)
           
 

Field Detail

renderer

protected javax.swing.tree.TreeCellRenderer renderer
Constructor Detail

CheckBoxTreeCellRendererWrapper

public CheckBoxTreeCellRendererWrapper(javax.swing.JTree tree)

CheckBoxTreeCellRendererWrapper

public CheckBoxTreeCellRendererWrapper(javax.swing.tree.TreeCellRenderer renderer)
Method Detail

isDefaultRenderer

public boolean isDefaultRenderer()

createDefaultCheckBox

public javax.swing.JCheckBox createDefaultCheckBox()

getCheckBox

public javax.swing.JCheckBox getCheckBox()

setCheckBox

public void setCheckBox(javax.swing.JCheckBox newCheckBox)

getCellRenderer

public javax.swing.tree.TreeCellRenderer getCellRenderer()

setCellRenderer

public void setCellRenderer(javax.swing.tree.TreeCellRenderer newRenderer)

setPressedRow

public void setPressedRow(int row)

getPressedRow

public int getPressedRow()

setArmedRow

public void setArmedRow(int row)

getArmedRow

public int getArmedRow()

setCheckBoxHasFocus

public void setCheckBoxHasFocus(boolean checkBoxFocus)

getCheckBoxHasFocus

public boolean getCheckBoxHasFocus()

getTreeCellRendererComponent

public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree,
                                                       java.lang.Object value,
                                                       boolean isSelected,
                                                       boolean expanded,
                                                       boolean leaf,
                                                       int row,
                                                       boolean hasFocus)
Specified by:
getTreeCellRendererComponent in interface javax.swing.tree.TreeCellRenderer

***  This class is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.