Package org.opencms.gwt.client.ui
Enum CmsTabbedPanel.CmsTabbedPanelStyle
- java.lang.Object
-
- java.lang.Enum<CmsTabbedPanel.CmsTabbedPanelStyle>
-
- org.opencms.gwt.client.ui.CmsTabbedPanel.CmsTabbedPanelStyle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsTabbedPanel.CmsTabbedPanelStyle>
- Enclosing class:
- CmsTabbedPanel<E extends com.google.gwt.user.client.ui.Widget>
public static enum CmsTabbedPanel.CmsTabbedPanelStyle extends java.lang.Enum<CmsTabbedPanel.CmsTabbedPanelStyle>
Enumeration with layout keys.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description buttonTabs
Button style.classicTabs
Classic style.
-
Field Summary
Fields Modifier and Type Field Description static CmsTabbedPanel.CmsTabbedPanelStyle
DEFAULT
The default tabbar height.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBarHeight()
Returns the barHeight.java.lang.String
getStyleClass()
Returns the styleClass.java.lang.String
getTabColorClass()
Returns the tabColorClass.static CmsTabbedPanel.CmsTabbedPanelStyle
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsTabbedPanel.CmsTabbedPanelStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
buttonTabs
public static final CmsTabbedPanel.CmsTabbedPanelStyle buttonTabs
Button style.
-
classicTabs
public static final CmsTabbedPanel.CmsTabbedPanelStyle classicTabs
Classic style.
-
-
Field Detail
-
DEFAULT
public static final CmsTabbedPanel.CmsTabbedPanelStyle DEFAULT
The default tabbar height.
-
-
Method Detail
-
values
public static CmsTabbedPanel.CmsTabbedPanelStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CmsTabbedPanel.CmsTabbedPanelStyle c : CmsTabbedPanel.CmsTabbedPanelStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsTabbedPanel.CmsTabbedPanelStyle valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getBarHeight
public int getBarHeight()
Returns the barHeight.- Returns:
- the barHeight
-
getStyleClass
public java.lang.String getStyleClass()
Returns the styleClass.- Returns:
- the styleClass
-
getTabColorClass
public java.lang.String getTabColorClass()
Returns the tabColorClass.- Returns:
- the tabColorClass
-
-