|
|
||||||||||
| 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.JLabel
javax.swing.tree.DefaultTreeCellRenderer
org.jppf.ui.treetable.AbstractTreeCellRenderer
public abstract class AbstractTreeCellRenderer
Renderer used to render the tree nodes in the node data panel.
| 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 | |
|---|---|
static Color |
ACTIVE_COLOR
Highlighting color for active driver connections. |
protected Font |
boldFont
The default bold font. |
protected Font |
boldItalicFont
The default bold and italic font. |
static Color |
DEFAULT_FOREGROUND
Default foreground color. |
static Color |
DEFAULT_SELECTION_FOREGROUND
Default selection foreground color. |
protected Color |
defaultNonSelectionBackground
Default non-selection background. |
protected Color |
defaultSelectionBackground
Default selection background. |
protected Color |
defaultSelectionForeground
Default selection background. |
static Color |
DIMMED_FOREGROUND
Default foreground color. |
static String |
DRIVER_ICON
Path to the icon used for a driver. |
static String |
DRIVER_INACTIVE_ICON
Path to the icon used for an inactive driver connection. |
static boolean |
highlightingEnabled
Is tree nodes highlighting enabled? |
static Color |
INACTIVE_COLOR
Highlighting color for non-selected inactive driver connections. |
static Color |
INACTIVE_SELECTION_COLOR
Highlighting color for selected inactive driver connections. |
protected Font |
italicFont
The default italic font. |
static String |
JOB_ICON
Path to the icon used for a job. |
static String |
NODE_ICON
Path to the icon used for a node. |
protected Font |
plainFont
The default plain font. |
static String |
RESOURCES
Path to the location of the icon files. |
static Color |
SUSPENDED_COLOR
Highlighting color for non-selected suspended jobs. |
static Color |
UNMANAGED_COLOR
FOreground color for non-managed nodes. |
| Fields inherited from class javax.swing.tree.DefaultTreeCellRenderer |
|---|
backgroundNonSelectionColor, backgroundSelectionColor, borderSelectionColor, closedIcon, hasFocus, leafIcon, openIcon, selected, textNonSelectionColor, textSelectionColor |
| 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 | |
|---|---|
AbstractTreeCellRenderer()
Default constructor. |
|
| Method Summary | |
|---|---|
Font |
getBoldFont(Font font)
Get the default bold font. |
Font |
getBoldItalicFont(Font font)
Get the default bold and italic font. |
Font |
getItalicFont(Font font)
Get the default italic font. |
Font |
getPlainFont(Font font)
Get the default plain font. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static boolean highlightingEnabled
public static final String RESOURCES
public static final String DRIVER_ICON
public static final String DRIVER_INACTIVE_ICON
public static final String NODE_ICON
public static final String JOB_ICON
public static final Color ACTIVE_COLOR
public static final Color INACTIVE_COLOR
public static final Color INACTIVE_SELECTION_COLOR
public static final Color SUSPENDED_COLOR
public static final Color DEFAULT_FOREGROUND
public static final Color DEFAULT_SELECTION_FOREGROUND
public static final Color DIMMED_FOREGROUND
public static final Color UNMANAGED_COLOR
protected Color defaultNonSelectionBackground
protected Color defaultSelectionBackground
protected Color defaultSelectionForeground
protected Font plainFont
protected Font italicFont
protected Font boldFont
protected Font boldItalicFont
| Constructor Detail |
|---|
public AbstractTreeCellRenderer()
| Method Detail |
|---|
public Font getPlainFont(Font font)
font - the font to base the result on.
Font instance.public Font getItalicFont(Font font)
font - the font to base the result on.
Font instance.public Font getBoldFont(Font font)
font - the font to base the result on.
Font instance.public Font getBoldItalicFont(Font font)
font - the font to base the result on.
Font instance.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||