Interface HorizontalMenuControl

All Superinterfaces:
AriaControlProperties, BackgroundStyleProperties, BorderStyleProperties, ContainerControl, Control, Element, EventOwner, MarginStyleProperties, MenuControl, MessageContainer, MessageProperties, PaddingStyleProperties, java.io.Serializable, WebFormEventOwner

public interface HorizontalMenuControl
extends MenuControl
A Horizontal Menu Control represents a menu where the top level is shown horizontally and is always visible. If any additional levels are specified, these will drop down dynamically as the user moves the mouse over the menu items.

Further documentation

Since:
V4.4
  • Method Details

    • getGapBetweenItems

      java.lang.String getGapBetweenItems()
      The separation between menu items in the top level menu. Any background specified with the background property will be visible behind the gaps.

      Further documentation.

      Since:
      V4.4
      See Also:
      setGapBetweenItems(String)
    • setGapBetweenItems

      void setGapBetweenItems​(java.lang.String gapBetweenItems)
      Sets the separation between menu items in the top level menu. Any background specified with the background property will be visible behind the gaps. Any valid value for the CSS font-size property can be used.

      Further documentation.

      Examples:

       controls.HORIZONTALMENU1.gapBetweenItems = "30px";
       
      Since:
      V4.4
    • getGlobalLevel

      MenuLevelProperties getGlobalLevel()
      Global menu properties - containing properties for the entire menu plus menu item properties that apply to both the top level and drop down levels.

      Further documentation.

      Since:
      V4.4
    • getTopLevel

      MenuLevelProperties getTopLevel()
      Top level menu properties - containing properties for just the top level menu items. These override any properties configured at the global level.

      Further documentation.

      Since:
      V4.4
    • getSubMenu

      MenuLevelProperties getSubMenu()
      Drop down menu properties - containing properties for just the drop down levels. These override any properties configured at the global level.

      Further documentation.

      Since:
      V4.4
    • getBootstrapAlign

      java.lang.String getBootstrapAlign()
      Returns the alignment when a form is running with the bootstrap framework configured.
      Since:
      V5.4
      See Also:
      setBootstrapAlign(String)
    • setBootstrapAlign

      void setBootstrapAlign​(java.lang.String bootstrapAlign)
      Sets the alignment when a form is running with the bootstrap framework configured. Supported values are "left", "center" and "right".
      Since:
      V5.4
      See Also:
      getBootstrapAlign()