|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SupportedComponent> com.alee.managers.style.SupportedComponent
public enum SupportedComponent
This enumeration represents list of Swing and WebLaF components which support WebLaF styling. It also contains some references and useful settings for each component type.
StyleManager
,
WebLookAndFeel
Enum Constant Summary | |
---|---|
button
Button-related components. |
|
checkBox
|
|
checkBoxMenuItem
|
|
colorChooser
Chooser components. |
|
comboBox
|
|
desktopIcon
|
|
desktopPane
Desktop-pane-related components. |
|
editorPane
|
|
fileChooser
|
|
formattedTextField
|
|
internalFrame
|
|
label
Label-related components. |
|
list
|
|
menu
|
|
menuBar
Menu-related components. |
|
menuItem
|
|
multiLineLabel
|
|
optionPane
Option pane component. |
|
panel
Container-related components. |
|
passwordField
|
|
popupMenu
|
|
popupMenuSeparator
|
|
progressBar
Other data-related components. |
|
radioButton
|
|
radioButtonMenuItem
|
|
rootPane
|
|
scrollBar
Scroll-related components. |
|
scrollPane
|
|
separator
Separator component. |
|
slider
|
|
spinner
|
|
splitButton
|
|
splitPane
|
|
tabbedPane
|
|
table
Table-related components. |
|
tableHeader
|
|
textArea
|
|
textField
Text-related components. |
|
textPane
|
|
toggleButton
|
|
toolBar
Toolbar-related components. |
|
toolBarSeparator
|
|
toolTip
|
|
tree
|
|
tristateCheckBox
|
|
verticalLabel
|
|
viewport
|
Field Summary | |
---|---|
protected java.lang.Class<? extends javax.swing.JComponent> |
componentClass
|
protected java.lang.String |
defaultUIClass
|
protected boolean |
supportsPainters
Enum constant settings. |
protected java.lang.String |
uiClassID
|
Method Summary | |
---|---|
java.lang.Class<? extends javax.swing.JComponent> |
getComponentClass()
Returns component class for this component type. |
java.lang.String |
getComponentStyleId(javax.swing.JComponent component)
Returns style identifier for the specified component. |
static SupportedComponent |
getComponentTypeByUIClassID(java.lang.String uiClassID)
Returns supported component type by UI class ID. |
java.lang.String |
getDefaultUIClass()
Returns default UI class canonical name. |
javax.swing.ImageIcon |
getIcon()
Returns component type icon. |
static java.util.List<SupportedComponent> |
getPainterSupportedComponents()
Returns list of component types which supports painters. |
java.lang.Class<? extends javax.swing.plaf.ComponentUI> |
getUIClass()
Returns UI class for this component type. |
java.lang.String |
getUIClassID()
Returns UI class ID used by LookAndFeel to store various settings. |
boolean |
supportsPainters()
Returns whether this component type supports painters or not. |
static SupportedComponent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SupportedComponent[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SupportedComponent label
public static final SupportedComponent verticalLabel
public static final SupportedComponent multiLineLabel
public static final SupportedComponent toolTip
public static final SupportedComponent button
public static final SupportedComponent splitButton
public static final SupportedComponent toggleButton
public static final SupportedComponent checkBox
public static final SupportedComponent tristateCheckBox
public static final SupportedComponent radioButton
public static final SupportedComponent menuBar
public static final SupportedComponent menu
public static final SupportedComponent popupMenu
public static final SupportedComponent menuItem
public static final SupportedComponent checkBoxMenuItem
public static final SupportedComponent radioButtonMenuItem
public static final SupportedComponent popupMenuSeparator
public static final SupportedComponent separator
public static final SupportedComponent scrollBar
public static final SupportedComponent scrollPane
public static final SupportedComponent viewport
public static final SupportedComponent textField
public static final SupportedComponent passwordField
public static final SupportedComponent formattedTextField
public static final SupportedComponent textArea
public static final SupportedComponent editorPane
public static final SupportedComponent textPane
public static final SupportedComponent toolBar
public static final SupportedComponent toolBarSeparator
public static final SupportedComponent table
public static final SupportedComponent tableHeader
public static final SupportedComponent colorChooser
public static final SupportedComponent fileChooser
public static final SupportedComponent panel
public static final SupportedComponent rootPane
public static final SupportedComponent tabbedPane
public static final SupportedComponent splitPane
public static final SupportedComponent progressBar
public static final SupportedComponent slider
public static final SupportedComponent spinner
public static final SupportedComponent tree
public static final SupportedComponent list
public static final SupportedComponent comboBox
public static final SupportedComponent desktopPane
public static final SupportedComponent desktopIcon
public static final SupportedComponent internalFrame
public static final SupportedComponent optionPane
Field Detail |
---|
protected final boolean supportsPainters
protected final java.lang.Class<? extends javax.swing.JComponent> componentClass
protected final java.lang.String uiClassID
protected final java.lang.String defaultUIClass
Method Detail |
---|
public static SupportedComponent[] values()
for (SupportedComponent c : SupportedComponent.values()) System.out.println(c);
public static SupportedComponent valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean supportsPainters()
public java.lang.Class<? extends javax.swing.JComponent> getComponentClass()
public java.lang.String getUIClassID()
public java.lang.String getDefaultUIClass()
public java.lang.String getComponentStyleId(javax.swing.JComponent component)
public java.lang.Class<? extends javax.swing.plaf.ComponentUI> getUIClass()
public javax.swing.ImageIcon getIcon()
public static SupportedComponent getComponentTypeByUIClassID(java.lang.String uiClassID)
uiClassID
- UI class ID
public static java.util.List<SupportedComponent> getPainterSupportedComponents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |