public abstract class GroupedElementsRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GroupedElementsRenderer.List |
protected class |
GroupedElementsRenderer.MyComponent |
static class |
GroupedElementsRenderer.Tree |
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JComponent |
myComponent |
protected GroupedElementsRenderer.MyComponent |
myRendererComponent |
protected SeparatorWithText |
mySeparatorComponent |
protected ErrorLabel |
myTextLabel |
Constructor and Description |
---|
GroupedElementsRenderer() |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JComponent |
configureComponent(java.lang.String text,
java.lang.String tooltip,
javax.swing.Icon icon,
javax.swing.Icon disabledIcon,
boolean isSelected,
boolean hasSeparatorAbove,
java.lang.String separatorTextAbove,
int preferredForcedWidth) |
protected abstract javax.swing.JComponent |
createItemComponent() |
protected SeparatorWithText |
createSeparator() |
protected abstract java.awt.Color |
getBackground() |
protected javax.swing.border.Border |
getDefaultItemComponentBorder() |
protected abstract java.awt.Color |
getForeground() |
protected abstract java.awt.Color |
getSelectionBackground() |
protected abstract java.awt.Color |
getSelectionForeground() |
protected abstract void |
layout() |
protected void |
setDeselected(javax.swing.JComponent aComponent) |
protected void |
setSelected(javax.swing.JComponent aComponent) |
protected void |
setSelected(javax.swing.JComponent aComponent,
boolean selected) |
protected void |
setSeparatorFont(java.awt.Font font) |
protected SeparatorWithText mySeparatorComponent
protected javax.swing.JComponent myComponent
protected GroupedElementsRenderer.MyComponent myRendererComponent
protected ErrorLabel myTextLabel
protected abstract javax.swing.JComponent createItemComponent()
protected abstract void layout()
protected SeparatorWithText createSeparator()
protected final javax.swing.JComponent configureComponent(java.lang.String text, java.lang.String tooltip, javax.swing.Icon icon, javax.swing.Icon disabledIcon, boolean isSelected, boolean hasSeparatorAbove, java.lang.String separatorTextAbove, int preferredForcedWidth)
protected final void setSelected(javax.swing.JComponent aComponent)
protected final void setDeselected(javax.swing.JComponent aComponent)
protected final void setSelected(javax.swing.JComponent aComponent, boolean selected)
protected void setSeparatorFont(java.awt.Font font)
protected abstract java.awt.Color getSelectionBackground()
protected abstract java.awt.Color getSelectionForeground()
protected abstract java.awt.Color getBackground()
protected abstract java.awt.Color getForeground()
protected javax.swing.border.Border getDefaultItemComponentBorder()