|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
javax.swing.JCheckBox
com.extentech.swingtools.CustomCheckBoxRenderer
com.extentech.ExtenBean.swing.ExtenBeanTreeCellRenderer
public class ExtenBeanTreeCellRenderer
TreeRenderer for DataObjects
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JToggleButton |
|---|
JToggleButton.ToggleButtonModel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JCheckBox |
|---|
BORDER_PAINTED_FLAT_CHANGED_PROPERTY |
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ExtenBeanTreeCellRenderer()
|
|
| Method Summary | |
|---|---|
Component |
getTreeCellRendererComponent(JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
This is messaged from JTree whenever it needs to get the size of the component or it wants to draw it. |
void |
paint(Graphics g)
paint is subclassed to draw the background correctly. |
| Methods inherited from class com.extentech.swingtools.CustomCheckBoxRenderer |
|---|
getBackgroundNonSelectionColor, getBackgroundSelectionColor, getBorderSelectionColor, getClosedIcon, getDefaultClosedIcon, getDefaultLeafIcon, getDefaultOpenIcon, getIconTextGap, getLeafIcon, getOpenIcon, getTextNonSelectionColor, getTextSelectionColor, setBackground, setBackgroundNonSelectionColor, setBackgroundSelectionColor, setBorderSelectionColor, setClosedIcon, setFont, setIconTextGap, setLeafIcon, setOpenIcon, setTextNonSelectionColor, setTextSelectionColor |
| Methods inherited from class javax.swing.JCheckBox |
|---|
getAccessibleContext, getUIClassID, isBorderPaintedFlat, setBorderPaintedFlat, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtenBeanTreeCellRenderer()
| Method Detail |
|---|
public Component getTreeCellRendererComponent(JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
getTreeCellRendererComponent in interface TreeCellRenderergetTreeCellRendererComponent in class com.extentech.swingtools.CustomCheckBoxRendererpublic void paint(Graphics g)
paint in class JComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||