Class LayoutFactory
Chart2D
instances and ITrace2D
instances.
- Version:
- $Revision: 1.58 $
- Author:
- Achim Westermann
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Implementation for aPropertyChangeListener
that adapts a wrappedJComponent
to the following properties.static class
AJCheckBoxMenuItem
that listens for changes of background color, foreground color and font of the givenJComponent
and adapts it's own settings.static class
AJMenuItem
that listens for changes of background color, foreground color and font of the givenJComponent
and adapts it's own settings.static class
Implementation for aPropertyChangeListener
that adpapts a wrappedJComponent
to the following properties. -
Method Summary
Modifier and TypeMethodDescriptioncreateAnnoationsMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for adding annotations to the chart panel.createAxisMenuItem
(IAxis<?> axis, int axisDimension, boolean adaptUI2Chart) createAxisRangePolicyMenu
(Chart2D chart, IAxis<?> axis, boolean adaptUI2Chart) Creates a radio button menu for choose one the availableIRangePolicy
implementations to set to it's axis identified by argumentaxis
.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
.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
.createBackgroundColorMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for choosing the background color of the given chart.createChartGridMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for controlling the grid (show x, show y, color).createChartHighlightMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for controlling highliting on the chart: enable and choose highlighter per trace.createChartMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu that offers various controls over the given chart.createChartMenuBar
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu bar that offers various controls over the given chart.void
createChartPopupMenu
(ChartPanel chartpanel, boolean adaptUI2Chart) Adds a popup menu to the given chart that offers various controls over it.createChartSetToolTipTypeMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for choosing the tool tip type of the chart.createChartToolTipMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for controlling tool tips of a chart (enable, type).createChartTraceHighlighterMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for controlling highlighting on the chart: enable and choose highlighter per trace.createErrorBarWizardMenu
(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart) Creates a menu for showing the wizard for the
instances of the given trace.IErrorBarPolicy
createForegroundColorMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for choosing the foreground color of the given chart.createGridColorMenu
(ChartPanel chartPanel, boolean adaptUI2Chart) Creates a menu for choosing the grid color of the given chart.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.createTraceColorMenu
(Chart2D chart, ITrace2D trace, JComponent parent, boolean adaptUI2Chart) Creates a menu for choosing the color of the given trace.createTraceContextMenuLabel
(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart) Creates aJLabel
that is capable of triggering aJPopupMenu
for the settings available for theITrace2D
ornull
ifITrace2D.getLabel()
createTracePainterMenu
(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart) Creates a menu for choosing theITracePainter
of the given trace.createTraceStrokesMenu
(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart) Creates a menu for choosing theStroke
of the given trace.createTraceZindexMenu
(Chart2D chart, ITrace2D trace, boolean adaptUI2Chart) Creates a menu for choosing the z-index of the given trace.static LayoutFactory
Singleton retrival method.final boolean
Returns the showAnnotationMenu.boolean
Returns whether the antialiasing menu item is shown.boolean
Returns whether the axis label formatter menu is shown.final boolean
Returns wether the chart show x grid menu should be created.final boolean
Returns whether the axis x menu is shown.final boolean
Returns whether the axis x range policy menu is shown.final boolean
final boolean
Returns whether the axis x type menu is shown.final boolean
Returns whether the axis y show grid menu is shown.final boolean
Returns whether the axis y menu is shown.final boolean
Returns whether the axis y range policy menu is shown.final boolean
final boolean
Returns whether the axis y type menu is shown.final boolean
Returns whether the chart set background color menu is shown.final boolean
Returns whether the chart set foreground color menu is shown.boolean
Returns true if the chart menu for highlighting traces is shown.final boolean
final boolean
Returns whether the chart grid color menu is shown.boolean
Returns whether the chart grid menu is shown.boolean
Returns whether the highlight menu item is shown.final boolean
final boolean
Returns the showPrintMenu.final boolean
final boolean
final boolean
Returns whether the save image menu is shown.boolean
Returns whether the tool tip for chart menu item is shown.boolean
Returns whether the tool tip type for chart menu item is shown.final boolean
boolean
Returns whether the trace highlighter menu is shown.final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final void
setShowAnnotationMenu
(boolean showAnnotationMenu) Sets the showAnnotationMenu.void
setShowAntialiasingMenu
(boolean showAntialiasingMenu) Set whether the antialiasing menu item is shown.void
setShowAxisFormatterMenu
(boolean showAxisFormatterMenu) Sets whether the axis label formatter menu is shown.final void
setShowAxisXGridMenu
(boolean showAxisXGridMenu) Set wether the axis x show grid menu should be created.final void
setShowAxisXMenu
(boolean showAxisXMenu) Set wether the axis x menu should be created.final void
setShowAxisXRangePolicyMenu
(boolean showAxisXRangePolicyMenu) Set wether the axis x range policy menu should be created.final void
setShowAxisXTitleMenu
(boolean showAxisXTitleMenu) Set whether the axis x title menu should be shown.final void
setShowAxisXTypeMenu
(boolean showAxisXTypeMenu) Set wether the axis x type menu should be created.final void
setShowAxisYGridMenu
(boolean showAxisYGridMenu) Set wether the axis y show grid menu should be created.final void
setShowAxisYMenu
(boolean showAxisYMenu) Set wether the axis y menu should be created.final void
setShowAxisYRangePolicyMenu
(boolean showAxisYRangePolicyMenu) Set wether the axis y range policy menu should be created.final void
setShowAxisYTitleMenu
(boolean showAxisYTitleMenu) Set whether the axis y title menu should be shown.final void
setShowAxisYTypeMenu
(boolean showAxisYTypeMenu) Set wether the axis y type menu should be created.final void
setShowChartBackgroundMenu
(boolean showChartBackgroundMenu) Set wether the chart set background menu should be created.final void
setShowChartForegroundMenu
(boolean showChartForegroundMenu) Set wether the chart set foreground menu should be created.void
setShowChartHighlighterMenu
(boolean showChartHighlighterMenu) Set whether the chart menu for highlighting traces should be visible.final void
setShowErrorBarWizardMenu
(boolean showErrorBarWizardMenu) Set whether the error bar wizard menu should be shown.final void
setShowGridColorMenu
(boolean showGridColorMenu) Set wether the chart grid color menu should be created.void
setShowGridMenu
(boolean showGridMenu) Set whether the chart grid menu is shown.void
setShowHighlightMenu
(boolean showHighlightMenu) Set whether the highlight menu item should be visible.final void
setShowPhysicalUnitsMenu
(boolean showPhysicalUnitsMenu) final void
setShowPrintMenu
(boolean showPrintMenu) Sets the showPrintMenu.final void
setShowRemoveTraceMenu
(boolean showRemoveTraceMenu) final void
setShowSaveEpsMenu
(boolean showSaveEpsMenu) final void
setShowSaveMenu
(boolean showSaveMenu) Set wether the save menu should be created.void
setShowTooltipEnableMenu
(boolean showToolTipTypeMenu) Set whether the tool tip type for chart menu item is shown.void
setShowToolTipMenu
(boolean showToolTipMenu) Sets whether the tool tip for chart menu item should be shown.final void
setShowTraceColorMenu
(boolean showTraceColorMenu) void
setShowTraceHighlighterMenu
(boolean showTraceHighlighterMenu) Set whether the trace highlighter menu should be visible.final void
setShowTraceNameMenu
(boolean showTraceNameMenu) final void
setShowTracePainterMenu
(boolean showTracePainterMenu) final void
setShowTraceStrokeMenu
(boolean showTraceStrokeMenu) final void
setShowTraceVisibleMenu
(boolean showTraceVisibleMenu) final void
setShowTraceZindexMenu
(boolean showTraceZindexMenu) final void
setShowZoomOutMenu
(boolean showZoomOutMenu) Set whether the zoom out menu should be shown.final void
setZoomOutMenu
(boolean showZoomOutMenu)
-
Method Details
-
getInstance
Singleton retrival method.- Returns:
- the single instance of this factory within this VM.
-
createAnnoationsMenu
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
- Parameters:
axis
- the axis to control.axisDimension
- Identifies which dimension the axis controls in the chart: eitherChart2D.X
orChart2D.Y
adaptUI2Chart
- if true the menu will adapt it's basic UI properies (font, foreground and background color) to the given chart.- Returns:
- a
JMenuItem
that allows to trigger the features related toAAxis
features.
-
createAxisRangePolicyMenu
Creates a radio button menu for choose one the availableIRangePolicy
implementations 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
IRangePolicy
implementations to set to it's axis identified by argumentaxis
.
-
createAxisTitleMenu
public 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.X
orChart2D.Y
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 menu for settings related to the axis title of the axis of the
given chart that will be identified by argument
axisDimension
.
-
createAxisTypeMenu
public 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.X
orChart2D.Y
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 axis types of the
given chart that will be set to it's axis identified by argument
axisDimension
.
-
createBackgroundColorMenu
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
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
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
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
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
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
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:
-
createChartToolTipMenu
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
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
Creates a menu for showing the wizard for the
instances 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
ErrorBarWizard
dialogs for the given trace.
-
createForegroundColorMenu
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
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
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 JMenu createTraceColorMenu(Chart2D chart, ITrace2D trace, 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
Creates aJLabel
that is capable of triggering aJPopupMenu
for the settings available for theITrace2D
ornull
ifITrace2D.getLabel()
- Parameters:
chart
- The chart the given trace is a member of. This will be used for getting aPopupMenu
that adapts to layout properties (such as background color).trace
- The trace on which theJPopupMenu
of theJLabel
will 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
null
if
on the given trace argument returns null.ITrace2D.getLabel()
-
createTracePainterMenu
Creates a menu for choosing theITracePainter
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 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
ITracePainter
of the given trace.
-
createTraceStrokesMenu
Creates a menu for choosing theStroke
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 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
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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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
ChartPanel
or 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.
-