Package com.ebasetech.xi.api.controls
Interface VerticalMenuLevelProperties
- All Superinterfaces:
MenuLevelProperties
public interface VerticalMenuLevelProperties extends MenuLevelProperties
The
VerticalMenuLevelProperties
interface represents styling properties applied to all menu items at a specific level of a
vertical menu
.- Since:
- V4.4
-
Method Summary
Modifier and Type Method 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.Methods inherited from interface com.ebasetech.xi.api.controls.MenuLevelProperties
getAllState, getHAlign, getHoverState, getItemBorder, getItemPadding, getItemWidth, getNormalState, getSelectedState, setHAlign, setItemWidth
-
Method Details
-
getLevelBackground
BackgroundStyleProperties getLevelBackground()Background properties for the menu level.- Since:
- V4.4
-
getLevelPadding
PaddingStyleProperties getLevelPadding()Padding properties for the menu level.- Since:
- V4.4
-
getIndent
java.lang.String getIndent()The amount by which all menu items at this level are indented.- Since:
- V4.4
-
setIndent
void setIndent(java.lang.String indent)Sets the amount by which all menu items at this level are indented. Any value that can be specified for the CSS width property can be used.- Since:
- V4.4
-
getSubMenuHAlign
java.lang.String getSubMenuHAlign()Horizontal alignment of the menu level within each menu level container. For this property to be effective, menu item widths need to be set to a value less than the width of the menu container. SeesetSubMenuHAlign(String)
for details of supported values when setting this property.- Since:
- V4.4
-
setSubMenuHAlign
void setSubMenuHAlign(java.lang.String subMenuHAlign)Sets the horizontal alignment of the menu level within each menu level container. For this property to be effective, menu item widths need to be set to a value less than the width of the menu container.Supported values:
Value Constant Center ControlConstants.HORIZONTAL_ALIGNMENT_CENTER Left ControlConstants.HORIZONTAL_ALIGNMENT_LEFT Right ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT - Since:
- V4.4
-