|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JLabel com.jidesoft.dialog.DialogPageTreeCellRenderer
public class DialogPageTreeCellRenderer
A tree cell renderer for AbstractDialogPage.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JLabel |
---|
JLabel.AccessibleJLabel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JLabel |
---|
labelFor |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 | |
---|---|
DialogPageTreeCellRenderer()
The constructor. |
Method Summary | |
---|---|
Icon |
getBlankIcon()
Get the blank icon. |
Icon |
getClosedIcon()
Get the closed icon. |
Color |
getNonSelectedBackground()
Get the background color without selection. |
Color |
getNonSelectedForeground()
Get the foreground color without selection. |
Icon |
getOpenIcon()
Get the open/expand icon. |
Color |
getSelectedBackground()
Get the background color on selection. |
Color |
getSelectedBorderColor()
Get the border color on selection. |
Color |
getSelectedForeground()
Get the foreground color on selection. |
Icon |
getSelectedIcon()
Get the selected icon. |
Component |
getTreeCellRendererComponent(JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
|
void |
paintComponent(Graphics g)
|
void |
setBlankIcon(Icon blankIcon)
Set the blank icon. |
void |
setClosedIcon(Icon closedIcon)
Set the closed icon. |
void |
setNonSelectedBackground(Color nonSelectedBackground)
Set the background color without selection. |
void |
setNonSelectedForeground(Color nonSelectedForeground)
Set the foreground color without selection. |
void |
setOpenIcon(Icon openIcon)
Set the open/expand icon. |
void |
setSelectedBackground(Color selectedBackground)
Set the background color on selection. |
void |
setSelectedBorderColor(Color selectedBorderColor)
Set the border color on selection. |
void |
setSelectedForeground(Color selectedForeground)
Set the foreground color on selection. |
void |
setSelectedIcon(Icon selectedIcon)
Set the selected icon. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DialogPageTreeCellRenderer()
Method Detail |
---|
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
getTreeCellRendererComponent
in interface TreeCellRenderer
public void paintComponent(Graphics g)
paintComponent
in class JComponent
public Color getSelectedForeground()
public void setSelectedForeground(Color selectedForeground)
selectedForeground
- the foreground color on selectiongetSelectedForeground()
public Color getNonSelectedForeground()
public void setNonSelectedForeground(Color nonSelectedForeground)
nonSelectedForeground
- the foreground color without selectiongetNonSelectedForeground()
public Color getSelectedBackground()
public void setSelectedBackground(Color selectedBackground)
selectedBackground
- the background color on selectiongetSelectedBackground()
public Color getNonSelectedBackground()
public void setNonSelectedBackground(Color nonSelectedBackground)
nonSelectedBackground
- the background color without selectiongetNonSelectedBackground()
public Color getSelectedBorderColor()
public void setSelectedBorderColor(Color selectedBorderColor)
selectedBorderColor
- the border color on selectiongetSelectedBorderColor()
public Icon getSelectedIcon()
public void setSelectedIcon(Icon selectedIcon)
selectedIcon
- the selected icongetSelectedIcon()
public Icon getBlankIcon()
public void setBlankIcon(Icon blankIcon)
blankIcon
- the blank icongetBlankIcon()
public Icon getOpenIcon()
public void setOpenIcon(Icon openIcon)
openIcon
- the open/expand icongetOpenIcon()
public Icon getClosedIcon()
public void setClosedIcon(Icon closedIcon)
closedIcon
- the closed icongetClosedIcon()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |