public interface VerticalMenuLevelProperties extends MenuLevelProperties
VerticalMenuLevelProperties
interface represents styling properties applied to all menu items at a specific level of a
vertical menu
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIndent()
The amount by which all menu items at this level are indented.
|
BackgroundStyleProperties |
getLevelBackground()
Background properties for the menu level.
|
PaddingStyleProperties |
getLevelPadding()
Padding properties for the menu level.
|
java.lang.String |
getSubMenuHAlign()
Horizontal alignment of the menu level within each menu level container.
|
void |
setIndent(java.lang.String indent)
Sets the amount by which all menu items at this level are indented.
|
void |
setSubMenuHAlign(java.lang.String subMenuHAlign)
Sets the horizontal alignment of the menu level within each menu level container.
|
getAllState, getHAlign, getHoverState, getItemBorder, getItemPadding, getItemWidth, getNormalState, getSelectedState, setHAlign, setItemWidth
BackgroundStyleProperties getLevelBackground()
PaddingStyleProperties getLevelPadding()
java.lang.String getIndent()
void setIndent(java.lang.String indent)
java.lang.String getSubMenuHAlign()
setSubMenuHAlign(String)
for details of supported values when setting this property.
void setSubMenuHAlign(java.lang.String subMenuHAlign)
Supported values:
Value | Constant |
---|---|
Center | ControlConstants.HORIZONTAL_ALIGNMENT_CENTER |
Left | ControlConstants.HORIZONTAL_ALIGNMENT_LEFT |
Right | ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT |