Class LayoutFactory
- java.lang.Object
-
- info.monitorenter.gui.chart.controls.LayoutFactory
-
public final class LayoutFactory extends java.lang.ObjectFactory that provides creational methods for adding UI controls toChart2Dinstances andITrace2Dinstances.- Version:
- $Revision: 1.58 $
- Author:
- Achim Westermann
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLayoutFactory.BasicPropertyAdaptSupportImplementation for aPropertyChangeListenerthat adapts a wrappedJComponentto the following properties.static classLayoutFactory.PropertyChangeCheckBoxMenuItemAJCheckBoxMenuItemthat listens for changes of background color, foreground color and font of the givenJComponentand adapts it's own settings.static classLayoutFactory.PropertyChangeMenuItemAJMenuItemthat listens for changes of background color, foreground color and font of the givenJComponentand adapts it's own settings.static classLayoutFactory.SelectionPropertyAdaptSupportImplementation for aPropertyChangeListenerthat adpapts a wrappedJComponentto the following properties.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JMenucreateAnnoationsMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for adding annotations to the chart panel.javax.swing.JMenuItemcreateAxisMenuItem(IAxis<?> axis, int axisDimension, boolean adaptUI2Chart)Creates aJMenuItemthat allows to trigger the features related toAAxisfeatures.javax.swing.JMenucreateAxisRangePolicyMenu(Chart2D chart, IAxis<?> axis, boolean adaptUI2Chart)Creates a radio button menu for choose one the availableIRangePolicyimplementations to set to it's axis identified by argumentaxis.javax.swing.JMenucreateAxisTitleMenu(Chart2D chart, IAxis<?> axis, int axisDimension, boolean adaptUI2Chart)Creates a menu for settings related to the axis title of the axis of the given chart that will be identified by argumentaxisDimension.javax.swing.JMenucreateAxisTypeMenu(Chart2D chart, IAxis<?> axis, int axisDimension, boolean adaptUI2Chart)Creates a radio button menu for choose one the available axis types of the given chart that will be set to it's axis identified by argumentaxisDimension.javax.swing.JMenucreateBackgroundColorMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for choosing the background color of the given chart.javax.swing.JMenuItemcreateChartGridMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for controlling the grid (show x, show y, color).javax.swing.JMenuItemcreateChartHighlightMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for controlling highliting on the chart: enable and choose highlighter per trace.javax.swing.JMenucreateChartMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu that offers various controls over the given chart.javax.swing.JMenuBarcreateChartMenuBar(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu bar that offers various controls over the given chart.voidcreateChartPopupMenu(ChartPanel chartpanel, boolean adaptUI2Chart)Adds a popup menu to the given chart that offers various controls over it.javax.swing.JMenucreateChartSetToolTipTypeMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for choosing the tool tip type of the chart.javax.swing.JMenuItemcreateChartToolTipMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for controlling tool tips of a chart (enable, type).javax.swing.JMenucreateChartTraceHighlighterMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for controlling highlighting on the chart: enable and choose highlighter per trace.javax.swing.JMenucreateErrorBarWizardMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)Creates a menu for showing the wizard for theinstances of the given trace.IErrorBarPolicyjavax.swing.JMenuItemcreateForegroundColorMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for choosing the foreground color of the given chart.javax.swing.JMenucreateGridColorMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for choosing the grid color of the given chart.javax.swing.JMenucreateSaveMenu(ChartPanel chartPanel, boolean adaptUI2Chart)Creates a menu for saving the chart with the options to save as an image or an encapsulated postscript file.javax.swing.JMenucreateTraceColorMenu(Chart2D chart, ITrace2D trace, javax.swing.JComponent parent, boolean adaptUI2Chart)Creates a menu for choosing the color of the given trace.javax.swing.JLabelcreateTraceContextMenuLabel(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)Creates aJLabelthat is capable of triggering aJPopupMenufor the settings available for theITrace2Dornullifon the given trace argument returns null.ITrace2D.getLabel()javax.swing.JMenucreateTracePainterMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)Creates a menu for choosing theITracePainterof the given trace.javax.swing.JMenucreateTraceStrokesMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)Creates a menu for choosing theStrokeof the given trace.javax.swing.JMenucreateTraceZindexMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)Creates a menu for choosing the z-index of the given trace.static LayoutFactorygetInstance()Singleton retrival method.booleanisShowAnnotationMenu()Returns the showAnnotationMenu.booleanisShowAntialiasingMenu()Returns whether the antialiasing menu item is shown.booleanisShowAxisFormatterMenu()Returns whether the axis label formatter menu is shown.booleanisShowAxisXGridMenu()Returns wether the chart show x grid menu should be created.booleanisShowAxisXMenu()Returns whether the axis x menu is shown.booleanisShowAxisXRangePolicyMenu()Returns whether the axis x range policy menu is shown.booleanisShowAxisXTitleMenu()booleanisShowAxisXTypeMenu()Returns whether the axis x type menu is shown.booleanisShowAxisYGridMenu()Returns whether the axis y show grid menu is shown.booleanisShowAxisYMenu()Returns whether the axis y menu is shown.booleanisShowAxisYRangePolicyMenu()Returns whether the axis y range policy menu is shown.booleanisShowAxisYTitleMenu()booleanisShowAxisYTypeMenu()Returns whether the axis y type menu is shown.booleanisShowChartBackgroundMenu()Returns whether the chart set background color menu is shown.booleanisShowChartForegroundMenu()Returns whether the chart set foreground color menu is shown.booleanisShowChartHighlighterMenu()Returns true if the chart menu for highlighting traces is shown.booleanisShowErrorBarWizardMenu()booleanisShowGridColorMenu()Returns whether the chart grid color menu is shown.booleanisShowGridMenu()Returns whether the chart grid menu is shown.booleanisShowHighlightMenu()Returns whether the highlight menu item is shown.booleanisShowPhysicalUnitsMenu()booleanisShowPrintMenu()Returns the showPrintMenu.booleanisShowRemoveTraceMenu()booleanisShowSaveEpsMenu()booleanisShowSaveMenu()Returns whether the save image menu is shown.booleanisShowToolTipMenu()Returns whether the tool tip for chart menu item is shown.booleanisShowToolTipTypeMenu()Returns whether the tool tip type for chart menu item is shown.booleanisShowTraceColorMenu()booleanisShowTraceHighlighterMenu()Returns whether the trace highlighter menu is shown.booleanisShowTraceNameMenu()booleanisShowTracePainterMenu()booleanisShowTraceStrokeMenu()booleanisShowTraceVisibleMenu()booleanisShowTraceZindexMenu()booleanisShowZoomOutMenu()booleanisZoomOutMenu()voidsetShowAnnotationMenu(boolean showAnnotationMenu)Sets the showAnnotationMenu.voidsetShowAntialiasingMenu(boolean showAntialiasingMenu)Set whether the antialiasing menu item is shown.voidsetShowAxisFormatterMenu(boolean showAxisFormatterMenu)Sets whether the axis label formatter menu is shown.voidsetShowAxisXGridMenu(boolean showAxisXGridMenu)Set wether the axis x show grid menu should be created.voidsetShowAxisXMenu(boolean showAxisXMenu)Set wether the axis x menu should be created.voidsetShowAxisXRangePolicyMenu(boolean showAxisXRangePolicyMenu)Set wether the axis x range policy menu should be created.voidsetShowAxisXTitleMenu(boolean showAxisXTitleMenu)Set whether the axis x title menu should be shown.voidsetShowAxisXTypeMenu(boolean showAxisXTypeMenu)Set wether the axis x type menu should be created.voidsetShowAxisYGridMenu(boolean showAxisYGridMenu)Set wether the axis y show grid menu should be created.voidsetShowAxisYMenu(boolean showAxisYMenu)Set wether the axis y menu should be created.voidsetShowAxisYRangePolicyMenu(boolean showAxisYRangePolicyMenu)Set wether the axis y range policy menu should be created.voidsetShowAxisYTitleMenu(boolean showAxisYTitleMenu)Set whether the axis y title menu should be shown.voidsetShowAxisYTypeMenu(boolean showAxisYTypeMenu)Set wether the axis y type menu should be created.voidsetShowChartBackgroundMenu(boolean showChartBackgroundMenu)Set wether the chart set background menu should be created.voidsetShowChartForegroundMenu(boolean showChartForegroundMenu)Set wether the chart set foreground menu should be created.voidsetShowChartHighlighterMenu(boolean showChartHighlighterMenu)Set whether the chart menu for highlighting traces should be visible.voidsetShowErrorBarWizardMenu(boolean showErrorBarWizardMenu)Set whether the error bar wizard menu should be shown.voidsetShowGridColorMenu(boolean showGridColorMenu)Set wether the chart grid color menu should be created.voidsetShowGridMenu(boolean showGridMenu)Set whether the chart grid menu is shown.voidsetShowHighlightMenu(boolean showHighlightMenu)Set whether the highlight menu item should be visible.voidsetShowPhysicalUnitsMenu(boolean showPhysicalUnitsMenu)voidsetShowPrintMenu(boolean showPrintMenu)Sets the showPrintMenu.voidsetShowRemoveTraceMenu(boolean showRemoveTraceMenu)voidsetShowSaveEpsMenu(boolean showSaveEpsMenu)voidsetShowSaveMenu(boolean showSaveMenu)Set wether the save menu should be created.voidsetShowTooltipEnableMenu(boolean showToolTipTypeMenu)Set whether the tool tip type for chart menu item is shown.voidsetShowToolTipMenu(boolean showToolTipMenu)Sets whether the tool tip for chart menu item should be shown.voidsetShowTraceColorMenu(boolean showTraceColorMenu)voidsetShowTraceHighlighterMenu(boolean showTraceHighlighterMenu)Set whether the trace highlighter menu should be visible.voidsetShowTraceNameMenu(boolean showTraceNameMenu)voidsetShowTracePainterMenu(boolean showTracePainterMenu)voidsetShowTraceStrokeMenu(boolean showTraceStrokeMenu)voidsetShowTraceVisibleMenu(boolean showTraceVisibleMenu)voidsetShowTraceZindexMenu(boolean showTraceZindexMenu)voidsetShowZoomOutMenu(boolean showZoomOutMenu)Set whether the zoom out menu should be shown.voidsetZoomOutMenu(boolean showZoomOutMenu)
-
-
-
Method Detail
-
getInstance
public static LayoutFactory getInstance()
Singleton retrival method.- Returns:
- the single instance of this factory within this VM.
-
createAnnoationsMenu
public javax.swing.JMenu createAnnoationsMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for adding annotations to the chart panel.- Parameters:
chartPanel- needed to adapt the basic ui properties to (font, foreground color, background color).adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for adding annotations to the chart panel.
-
createAxisMenuItem
public javax.swing.JMenuItem createAxisMenuItem(IAxis<?> axis, int axisDimension, boolean adaptUI2Chart)
Creates aJMenuItemthat allows to trigger the features related toAAxisfeatures.- Parameters:
axis- the axis to control.axisDimension- Identifies which dimension the axis controls in the chart: eitherChart2D.XorChart2D.YadaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a
JMenuItemthat allows to trigger the features related toAAxisfeatures.
-
createAxisRangePolicyMenu
public javax.swing.JMenu createAxisRangePolicyMenu(Chart2D chart, IAxis<?> axis, boolean adaptUI2Chart)
Creates a radio button menu for choose one the availableIRangePolicyimplementations to set to it's axis identified by argumentaxis.- Parameters:
axis- the axis to control.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.chart- the component to adapt the UI of this menu if adaption is requested.- Returns:
- a radio button menu for choose one the available
IRangePolicyimplementations to set to it's axis identified by argumentaxis.
-
createAxisTitleMenu
public javax.swing.JMenu createAxisTitleMenu(Chart2D chart, IAxis<?> axis, int axisDimension, boolean adaptUI2Chart)
Creates a menu for settings related to the axis title of the axis of the given chart that will be identified by argumentaxisDimension.- Parameters:
axis- the axis to control.axisDimension- Identifies which dimension the axis controls in the chart: eitherChart2D.XorChart2D.YadaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.chart- the component to adapt the UI of this menu if adaption is requested.- Returns:
- a menu for settings related to the axis title of the axis of the
given chart that will be identified by argument
axisDimension.
-
createAxisTypeMenu
public javax.swing.JMenu createAxisTypeMenu(Chart2D chart, IAxis<?> axis, int axisDimension, boolean adaptUI2Chart)
Creates a radio button menu for choose one the available axis types of the given chart that will be set to it's axis identified by argumentaxisDimension.- Parameters:
axis- the axis to control.axisDimension- Identifies which dimension the axis controls in the chart: eitherChart2D.XorChart2D.YadaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.chart- the component to adapt the UI of this menu if adaption is requested.- Returns:
- a radio button menu for choose one the available axis types of the
given chart that will be set to it's axis identified by argument
axisDimension.
-
createBackgroundColorMenu
public javax.swing.JMenu createBackgroundColorMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for choosing the background color of the given chart.- Parameters:
chartPanel- the chart panel to set the background color of by the menu to return.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for choosing the background color of the given chart.
-
createChartGridMenu
public javax.swing.JMenuItem createChartGridMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for controlling the grid (show x, show y, color).- Parameters:
chartPanel- for adapting ui to and obtaining chart from.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for controlling the grid (show x, show y, color).
-
createChartHighlightMenu
public javax.swing.JMenuItem createChartHighlightMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for controlling highliting on the chart: enable and choose highlighter per trace.- Parameters:
chartPanel- the chart panel to access.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for controlling highliting on the chart: enable and choose highlighter per trace.
-
createChartMenu
public javax.swing.JMenu createChartMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu that offers various controls over the given chart.- Parameters:
chartPanel- the chart panel to access.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu that offers various controls over the given chart.
-
createChartMenuBar
public javax.swing.JMenuBar createChartMenuBar(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu bar that offers various controls over the given chart.- Parameters:
chartPanel- the chart panel to access.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu bar that offers various controls over the given chart.
-
createChartPopupMenu
public void createChartPopupMenu(ChartPanel chartpanel, boolean adaptUI2Chart)
Adds a popup menu to the given chart that offers various controls over it.- Parameters:
chartpanel- the chart panel to add the popup menue to.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.
-
createChartSetToolTipTypeMenu
public javax.swing.JMenu createChartSetToolTipTypeMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for choosing the tool tip type of the chart.- Parameters:
chartPanel- for adapting ui to and obtaining chart from.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for controlling tool tips of a chart (enable, type).
- See Also:
Chart2D.setToolTipType(info.monitorenter.gui.chart.IToolTipType)
-
createChartToolTipMenu
public javax.swing.JMenuItem createChartToolTipMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for controlling tool tips of a chart (enable, type).- Parameters:
chartPanel- for adapting ui to and obtaining chart from.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for controlling tool tips of a chart (enable, type).
-
createChartTraceHighlighterMenu
public javax.swing.JMenu createChartTraceHighlighterMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for controlling highlighting on the chart: enable and choose highlighter per trace.- Parameters:
chartPanel- the chart panel to access.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for controlling highlighting on the chart: enable and choose highlighter per trace.
-
createErrorBarWizardMenu
public javax.swing.JMenu createErrorBarWizardMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)
Creates a menu for showing the wizard for theinstances of the given trace.IErrorBarPolicy- Parameters:
chart- needed to adapt the basic ui properties to (font, foreground color, background color).trace- the trace to show the error bar wizards of.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu that offers to show the
ErrorBarWizarddialogs for the given trace.
-
createForegroundColorMenu
public javax.swing.JMenuItem createForegroundColorMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for choosing the foreground color of the given chart.- Parameters:
chartPanel- the chart panel to set the foreground color of by the menu to return.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for choosing the foreground color of the given chart.
-
createGridColorMenu
public javax.swing.JMenu createGridColorMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for choosing the grid color of the given chart.- Parameters:
chartPanel- the chart panel to set the grid color of by the menu to return.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for choosing the grid color of the given chart.
-
createSaveMenu
public javax.swing.JMenu createSaveMenu(ChartPanel chartPanel, boolean adaptUI2Chart)
Creates a menu for saving the chart with the options to save as an image or an encapsulated postscript file.- Parameters:
chartPanel- needed to adapt the basic ui properties to (font, foreground color, background color).adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for saving the chart with the options to save as an image or an encapsulated postscript file.
-
createTraceColorMenu
public javax.swing.JMenu createTraceColorMenu(Chart2D chart, ITrace2D trace, javax.swing.JComponent parent, boolean adaptUI2Chart)
Creates a menu for choosing the color of the given trace.- Parameters:
chart- needed to adapt the basic ui properties to (font, foreground color, background color).trace- the trace to set the color of.parent- needed for a modal dialog for custom color as parent component.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for choosing the color of the given trace.
-
createTraceContextMenuLabel
public javax.swing.JLabel createTraceContextMenuLabel(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)
Creates aJLabelthat is capable of triggering aJPopupMenufor the settings available for theITrace2Dornullifon the given trace argument returns null.ITrace2D.getLabel()- Parameters:
chart- The chart the given trace is a member of. This will be used for getting aPopupMenuthat adapts to layout properties (such as background color).trace- The trace on which theJPopupMenuof theJLabelwill act.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a label that offers a popup menu with controls for the given trace
or
nullifon the given trace argument returns null.ITrace2D.getLabel()
-
createTracePainterMenu
public javax.swing.JMenu createTracePainterMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)
Creates a menu for choosing theITracePainterof the given trace.- Parameters:
chart- needed to adapt the basic ui properties to (font, foreground color, background color).trace- the trace to set the painter of.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for choosing the
ITracePainterof the given trace.
-
createTraceStrokesMenu
public javax.swing.JMenu createTraceStrokesMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)
Creates a menu for choosing theStrokeof the given trace.- Parameters:
chart- needed to adapt the basic ui properties to (font, foreground color, background color).trace- the trace to set the stroke of.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for choosing the stroke of the given trace.
-
createTraceZindexMenu
public javax.swing.JMenu createTraceZindexMenu(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart)
Creates a menu for choosing the z-index of the given trace.- Parameters:
chart- needed to adapt the basic ui properties to (font, foreground color, background color).trace- the trace to set the z-index of.adaptUI2Chart- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a menu for choosing the z-index of the given trace.
-
isShowAnnotationMenu
public final boolean isShowAnnotationMenu()
Returns the showAnnotationMenu.- Returns:
- the showAnnotationMenu
-
isShowAntialiasingMenu
public boolean isShowAntialiasingMenu()
Returns whether the antialiasing menu item is shown.- Returns:
- whether the antialiasing menu item is shown.
-
isShowAxisFormatterMenu
public boolean isShowAxisFormatterMenu()
Returns whether the axis label formatter menu is shown.- Returns:
- whether the axis label formatter menu is shown.
-
isShowAxisXGridMenu
public final boolean isShowAxisXGridMenu()
Returns wether the chart show x grid menu should be created.- Returns:
- the showAxisXGridMenu.
-
isShowAxisXMenu
public final boolean isShowAxisXMenu()
Returns whether the axis x menu is shown.- Returns:
- the showAxisXMenu.
-
isShowAxisXRangePolicyMenu
public final boolean isShowAxisXRangePolicyMenu()
Returns whether the axis x range policy menu is shown.- Returns:
- the showAxisXRangePolicyMenu.
-
isShowAxisXTitleMenu
public final boolean isShowAxisXTitleMenu()
- Returns:
- true if axis title x menu should be shown.
-
isShowAxisXTypeMenu
public final boolean isShowAxisXTypeMenu()
Returns whether the axis x type menu is shown.- Returns:
- the showAxisXTypeMenu.
-
isShowAxisYGridMenu
public final boolean isShowAxisYGridMenu()
Returns whether the axis y show grid menu is shown.- Returns:
- the showAxisYGridMenu.
-
isShowAxisYMenu
public final boolean isShowAxisYMenu()
Returns whether the axis y menu is shown.- Returns:
- the showAxisYMenu.
-
isShowAxisYRangePolicyMenu
public final boolean isShowAxisYRangePolicyMenu()
Returns whether the axis y range policy menu is shown.- Returns:
- the showAxisYRangePolicyMenu.
-
isShowAxisYTitleMenu
public final boolean isShowAxisYTitleMenu()
- Returns:
- true if axis title y menu should be shown.
-
isShowAxisYTypeMenu
public final boolean isShowAxisYTypeMenu()
Returns whether the axis y type menu is shown.- Returns:
- the showAxisYTypeMenu.
-
isShowChartBackgroundMenu
public final boolean isShowChartBackgroundMenu()
Returns whether the chart set background color menu is shown.- Returns:
- the showChartBackgroundMenu.
-
isShowChartForegroundMenu
public final boolean isShowChartForegroundMenu()
Returns whether the chart set foreground color menu is shown.- Returns:
- the showChartForegroundMenu.
-
isShowChartHighlighterMenu
public boolean isShowChartHighlighterMenu()
Returns true if the chart menu for highlighting traces is shown.- Returns:
- true if the chart menu for highlighting traces is shown.
-
isShowErrorBarWizardMenu
public final boolean isShowErrorBarWizardMenu()
- Returns:
- true if the error bar wizard menu should be shown.
-
isShowGridColorMenu
public final boolean isShowGridColorMenu()
Returns whether the chart grid color menu is shown.- Returns:
- the showGridColorMenu.
-
isShowGridMenu
public boolean isShowGridMenu()
Returns whether the chart grid menu is shown.- Returns:
- true if the chart grid menu is shown.
-
isShowHighlightMenu
public boolean isShowHighlightMenu()
Returns whether the highlight menu item is shown.- Returns:
- true if the highlight menu item is visible.
-
isShowPhysicalUnitsMenu
public final boolean isShowPhysicalUnitsMenu()
- Returns:
- the showPhysicalUnitsMenu.
-
isShowPrintMenu
public final boolean isShowPrintMenu()
Returns the showPrintMenu.- Returns:
- the showPrintMenu
-
isShowRemoveTraceMenu
public final boolean isShowRemoveTraceMenu()
- Returns:
- the showRemoveTraceMenu.
-
isShowSaveEpsMenu
public final boolean isShowSaveEpsMenu()
- Returns:
- the showSaveEpsMenu.
-
isShowSaveMenu
public final boolean isShowSaveMenu()
Returns whether the save image menu is shown.- Returns:
- the showSaveImageMenu.
-
isShowToolTipMenu
public boolean isShowToolTipMenu()
Returns whether the tool tip for chart menu item is shown.- Returns:
- true if the tool tip for chart menu item is visible.
-
isShowToolTipTypeMenu
public boolean isShowToolTipTypeMenu()
Returns whether the tool tip type for chart menu item is shown.- Returns:
- true if the tool tip type for chart menu item is shown..
-
isShowTraceColorMenu
public final boolean isShowTraceColorMenu()
- Returns:
- the showTraceColorMenu.
-
isShowTraceHighlighterMenu
public boolean isShowTraceHighlighterMenu()
Returns whether the trace highlighter menu is shown.This is the highlighter menu triggered by right clicking the trace name.
- Returns:
- true if the trace highlighter menu is visible.
-
isShowTraceNameMenu
public final boolean isShowTraceNameMenu()
- Returns:
- the showTraceNameMenu.
-
isShowTracePainterMenu
public final boolean isShowTracePainterMenu()
- Returns:
- the showTracePainterMenu.
-
isShowTraceStrokeMenu
public final boolean isShowTraceStrokeMenu()
- Returns:
- the showTraceStrokeMenu.
-
isShowTraceVisibleMenu
public final boolean isShowTraceVisibleMenu()
- Returns:
- the showTraceVisibleMenu.
-
isShowTraceZindexMenu
public final boolean isShowTraceZindexMenu()
- Returns:
- the showTraceZindexMenu.
-
isShowZoomOutMenu
public final boolean isShowZoomOutMenu()
- Returns:
- true if the zoom out menu should be shown.
-
isZoomOutMenu
public final boolean isZoomOutMenu()
- Returns:
- the showZoomOutMenu.
-
setShowAnnotationMenu
public final void setShowAnnotationMenu(boolean showAnnotationMenu)
Sets the showAnnotationMenu.- Parameters:
showAnnotationMenu- the showAnnotationMenu to set
-
setShowAntialiasingMenu
public void setShowAntialiasingMenu(boolean showAntialiasingMenu)
Set whether the antialiasing menu item is shown.- Parameters:
showAntialiasingMenu- true if the antialiasing menu item should be visible.
-
setShowAxisFormatterMenu
public void setShowAxisFormatterMenu(boolean showAxisFormatterMenu)
Sets whether the axis label formatter menu is shown.- Parameters:
showAxisFormatterMenu- controls whether the axis label formatter menu is shown.
-
setShowAxisXGridMenu
public final void setShowAxisXGridMenu(boolean showAxisXGridMenu)
Set wether the axis x show grid menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisXGridMenu- The showAxisXGridMenu to set.
-
setShowAxisXMenu
public final void setShowAxisXMenu(boolean showAxisXMenu)
Set wether the axis x menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisXMenu- The showAxisXMenu to set.
-
setShowAxisXRangePolicyMenu
public final void setShowAxisXRangePolicyMenu(boolean showAxisXRangePolicyMenu)
Set wether the axis x range policy menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisXRangePolicyMenu- The showAxisXRangePolicyMenu to set.
-
setShowAxisXTitleMenu
public final void setShowAxisXTitleMenu(boolean showAxisXTitleMenu)
Set whether the axis x title menu should be shown.- Parameters:
showAxisXTitleMenu- true if the axis x title menu should be shown.
-
setShowAxisXTypeMenu
public final void setShowAxisXTypeMenu(boolean showAxisXTypeMenu)
Set wether the axis x type menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisXTypeMenu- The showAxisXTypeMenu to set.
-
setShowAxisYGridMenu
public final void setShowAxisYGridMenu(boolean showAxisYGridMenu)
Set wether the axis y show grid menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisYGridMenu- The showAxisYGridMenu to set.
-
setShowAxisYMenu
public final void setShowAxisYMenu(boolean showAxisYMenu)
Set wether the axis y menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisYMenu- The showAxisYMenu to set.
-
setShowAxisYRangePolicyMenu
public final void setShowAxisYRangePolicyMenu(boolean showAxisYRangePolicyMenu)
Set wether the axis y range policy menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisYRangePolicyMenu- The showAxisYRangePolicyMenu to set.
-
setShowAxisYTitleMenu
public final void setShowAxisYTitleMenu(boolean showAxisYTitleMenu)
Set whether the axis y title menu should be shown.- Parameters:
showAxisYTitleMenu- true if the axis y title menu should be shown.
-
setShowAxisYTypeMenu
public final void setShowAxisYTypeMenu(boolean showAxisYTypeMenu)
Set wether the axis y type menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showAxisYTypeMenu- The showAxisYTypeMenu to set.
-
setShowChartBackgroundMenu
public final void setShowChartBackgroundMenu(boolean showChartBackgroundMenu)
Set wether the chart set background menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showChartBackgroundMenu- The showChartBackgroundMenu to set.
-
setShowChartForegroundMenu
public final void setShowChartForegroundMenu(boolean showChartForegroundMenu)
Set wether the chart set foreground menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showChartForegroundMenu- The showChartForegroundMenu to set.
-
setShowChartHighlighterMenu
public void setShowChartHighlighterMenu(boolean showChartHighlighterMenu)
Set whether the chart menu for highlighting traces should be visible.- Parameters:
showChartHighlighterMenu- controls whether the chart menu for highlighting traces should be visible.
-
setShowErrorBarWizardMenu
public final void setShowErrorBarWizardMenu(boolean showErrorBarWizardMenu)
Set whether the error bar wizard menu should be shown.- Parameters:
showErrorBarWizardMenu- true if the error bar wizard menu should be shown.
-
setShowGridColorMenu
public final void setShowGridColorMenu(boolean showGridColorMenu)
Set wether the chart grid color menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showGridColorMenu- The showGridColorMenu to set.
-
setShowGridMenu
public void setShowGridMenu(boolean showGridMenu)
Set whether the chart grid menu is shown.- Parameters:
showGridMenu- true if the chart grid menu should be visible.
-
setShowHighlightMenu
public void setShowHighlightMenu(boolean showHighlightMenu)
Set whether the highlight menu item should be visible.- Parameters:
showHighlightMenu- true if the highlight menu item should be visible.
-
setShowPhysicalUnitsMenu
public final void setShowPhysicalUnitsMenu(boolean showPhysicalUnitsMenu)
- Parameters:
showPhysicalUnitsMenu- The showPhysicalUnitsMenu to set.
-
setShowPrintMenu
public final void setShowPrintMenu(boolean showPrintMenu)
Sets the showPrintMenu.- Parameters:
showPrintMenu- the showPrintMenu to set
-
setShowRemoveTraceMenu
public final void setShowRemoveTraceMenu(boolean showRemoveTraceMenu)
- Parameters:
showRemoveTraceMenu- The showRemoveTraceMenu to set.
-
setShowSaveEpsMenu
public final void setShowSaveEpsMenu(boolean showSaveEpsMenu)
- Parameters:
showSaveEpsMenu- the showSaveEpsMenu to set
-
setShowSaveMenu
public final void setShowSaveMenu(boolean showSaveMenu)
Set wether the save menu should be created.Configure this before using any instance of
ChartPanelor it will be useless.- Parameters:
showSaveMenu- The showSaveMenu to set.
-
setShowTooltipEnableMenu
public void setShowTooltipEnableMenu(boolean showToolTipTypeMenu)
Set whether the tool tip type for chart menu item is shown.- Parameters:
showToolTipTypeMenu- true if the tool tip type for chart menu item should be visible.
-
setShowToolTipMenu
public void setShowToolTipMenu(boolean showToolTipMenu)
Sets whether the tool tip for chart menu item should be shown.- Parameters:
showToolTipMenu- true if the tool tip for chart menu item should be visible.
-
setShowTraceColorMenu
public final void setShowTraceColorMenu(boolean showTraceColorMenu)
- Parameters:
showTraceColorMenu- The showTraceColorMenu to set.
-
setShowTraceHighlighterMenu
public void setShowTraceHighlighterMenu(boolean showTraceHighlighterMenu)
Set whether the trace highlighter menu should be visible.This is the highlighter menu triggered by right clicking the trace name.
- Parameters:
showTraceHighlighterMenu- true if the trace highlighter menu should be visible.
-
setShowTraceNameMenu
public final void setShowTraceNameMenu(boolean showTraceNameMenu)
- Parameters:
showTraceNameMenu- The showTraceNameMenu to set.
-
setShowTracePainterMenu
public final void setShowTracePainterMenu(boolean showTracePainterMenu)
- Parameters:
showTracePainterMenu- The showTracePainterMenu to set.
-
setShowTraceStrokeMenu
public final void setShowTraceStrokeMenu(boolean showTraceStrokeMenu)
- Parameters:
showTraceStrokeMenu- The showTraceStrokeMenu to set.
-
setShowTraceVisibleMenu
public final void setShowTraceVisibleMenu(boolean showTraceVisibleMenu)
- Parameters:
showTraceVisibleMenu- The showTraceVisibleMenu to set.
-
setShowTraceZindexMenu
public final void setShowTraceZindexMenu(boolean showTraceZindexMenu)
- Parameters:
showTraceZindexMenu- The showTraceZindexMenu to set.
-
setShowZoomOutMenu
public final void setShowZoomOutMenu(boolean showZoomOutMenu)
Set whether the zoom out menu should be shown.- Parameters:
showZoomOutMenu- true if the zoom out menu should be shown.
-
setZoomOutMenu
public final void setZoomOutMenu(boolean showZoomOutMenu)
- Parameters:
showZoomOutMenu- The showZoomOutMenu to set.
-
-