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
renderer
protected javax.swing.tree.TreeCellRenderer renderer
CheckBoxTreeCellRendererWrapper
public CheckBoxTreeCellRendererWrapper(javax.swing.JTree tree)
CheckBoxTreeCellRendererWrapper
public CheckBoxTreeCellRendererWrapper(javax.swing.tree.TreeCellRenderer renderer)
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
Copyright © 2009 SAS Institute Inc. All Rights Reserved.