|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.moxieapps.gwt.highcharts.client.Configurable<Navigation> org.moxieapps.gwt.highcharts.client.Navigation
public class Navigation
A configurable class that will allow you to control the options for buttons and menus
appearing in the exporting module. An instance of this class can be constructed and then
set on the chart via the BaseChart.setNavigation(Navigation)
method.
Constructor Summary | |
---|---|
Navigation()
|
Method Summary | |
---|---|
Navigation |
setButtonOptions(Button button)
Convenience method for setting the "buttonOptions" for the export button. |
Navigation |
setMenuItemHoverStyle(Style menuItemHoverStyle)
Convenience method for setting the 'menuItemHoverStyle' options of the navigation area. |
Navigation |
setMenuItemStyle(Style menuItemStyle)
Convenience method for setting the 'menuItemStyle' options of the navigation area. |
Navigation |
setMenuStyle(Style menuStyle)
Convenience method for setting the 'menuStyle' options of the navigation area. |
Methods inherited from class org.moxieapps.gwt.highcharts.client.Configurable |
---|
getOptions, setOption |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Navigation()
Method Detail |
---|
public Navigation setMenuStyle(Style menuStyle)
navigation.setOption("/menuStyle/left", "100px");
navigation.setOption("/menuStyle/top", "10px");
etc.
CSS styles for the popup menu appearing by default when the export icon is clicked. This menu is rendered in HTML.
Default options for the "menuStyle" are as follows:
menuStyle
- CSS styles for the popup menus of the exporting module
Navigation
instance for convenient method chaining.public Navigation setMenuItemStyle(Style menuItemStyle)
navigation.setOption("/menuItemStyle/left", "100px");
navigation.setOption("/menuItemStyle/top", "10px");
etc.
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. Default options for the "menuItemStyle" are as follows:
menuItemStyle
- CSS styles for the individual items in the popup menus of the exporting module.
Navigation
instance for convenient method chaining.public Navigation setMenuItemHoverStyle(Style menuItemHoverStyle)
navigation.setOption("/menuItemHoverStyle/left", "100px");
navigation.setOption("/menuItemHoverStyle/top", "10px");
etc.
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. Default options for
the "menuItemHoverStyle" are as follows:
menuItemHoverStyle
- CSS styles for the hover style of the individual items in the popup menus
of the exporting module.
Navigation
instance for convenient method chaining.public Navigation setButtonOptions(Button button)
chart.setNavigation(
new Navigation()
.setButtonOptions(
new Button()
.setAlign(Button.Align.RIGHT)
.setSymbolFill("#E0E0E0")
)
);
button
- The export button with options set using methods in Button
.
Navigation
instance for convenient method chaining.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |