Class Navigation

All Implemented Interfaces:
Serializable

@Generated(value="This class was generated", comments="Incorrect and missing API should be reported") public class Navigation extends AbstractConfigurationObject

A collection of options for buttons and menus appearing in the exporting module.

The examples below point to basic Highcharts demos, but the syntax for Highmaps are the exact same.

Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • Navigation

      public Navigation()

      Constructor for Navigation.

  • Method Details

    • getButtonOptions

      public ButtonOptions getButtonOptions()

      Getter for the field buttonOptions.

      Returns:
      a ButtonOptions object.
      See Also:
    • setButtonOptions

      public void setButtonOptions(ButtonOptions buttonOptions)

      A collection of options for buttons appearing in the exporting module.

      The examples below are using basic Highcharts, but the syntax is exactly the same for Highmaps.

      Parameters:
      buttonOptions - a ButtonOptions object.
    • getMenuItemHoverStyle

      public Style getMenuItemHoverStyle()

      Getter for the field menuItemHoverStyle.

      Returns:
      a Style object.
      See Also:
    • setMenuItemHoverStyle

      public void setMenuItemHoverStyle(Style menuItemHoverStyle)
      CSS styles for the hover state of the individual items within the popup menu appearing by default when the export icon is clicked. The menu items are rendered in HTML. Defaults to
       menuItemHoverStyle: {
                      background: '#4572A5',
                      color: '#FFFFFF'
              }
       
      Parameters:
      menuItemHoverStyle - a Style object.
    • getMenuItemStyle

      public Style getMenuItemStyle()

      Getter for the field menuItemStyle.

      Returns:
      a Style object.
      See Also:
    • setMenuItemStyle

      public void setMenuItemStyle(Style menuItemStyle)
      CSS styles for the individual items within the popup menu appearing by default when the export icon is clicked. The menu items are rendered in HTML. Defaults to
       menuItemStyle: {
                      padding: '0 5px',
                      background: NONE,
                      color: '#303030'
              }
       
      Parameters:
      menuItemStyle - a Style object.
    • getMenuStyle

      public Style getMenuStyle()

      Getter for the field menuStyle.

      Returns:
      a Style object.
      See Also:
    • setMenuStyle

      public void setMenuStyle(Style menuStyle)
      CSS styles for the popup menu appearing by default when the export icon is clicked. This menu is rendered in HTML. Defaults to
       menuStyle: {
                      border: '1px solid #A0A0A0',
                      background: '#FFFFFF'
              }
       
      Parameters:
      menuStyle - a Style object.