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 Details

    • getLevelBackground

      BackgroundStyleProperties getLevelBackground()
      Background properties for the menu level.

      Further documentation.

      Since:
      V4.4
    • getLevelPadding

      PaddingStyleProperties getLevelPadding()
      Padding properties for the menu level.

      Further documentation.

      Since:
      V4.4
    • getIndent

      java.lang.String getIndent()
      The amount by which all menu items at this level are indented.

      Further documentation.

      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.

      Further documentation.

      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. See setSubMenuHAlign(String) for details of supported values when setting this property.

      Further documentation.

      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:

      ValueConstant
      CenterControlConstants.HORIZONTAL_ALIGNMENT_CENTER
      LeftControlConstants.HORIZONTAL_ALIGNMENT_LEFT
      RightControlConstants.HORIZONTAL_ALIGNMENT_RIGHT

      Further documentation.

      Since:
      V4.4