Class AxisConfigPage
- java.lang.Object
-
- org.eclipse.nebula.visualization.internal.xygraph.toolbar.AxisConfigPage
-
public class AxisConfigPage extends java.lang.Object
This will help to create the necessary widgets to configure an axis's properties.
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Button
autoFormat
private org.eclipse.swt.widgets.Button
autoScaleButton
private Axis
axis
private org.eclipse.jface.preference.ColorSelector
axisColorSelector
private org.eclipse.swt.widgets.Composite
composite
private org.eclipse.swt.widgets.Button
dashGridLineButton
private org.eclipse.swt.widgets.Button
dateEnabledButton
private boolean
enableRanges
private org.eclipse.swt.widgets.Label
formatLabel
private org.eclipse.swt.widgets.Text
formatText
private org.eclipse.jface.preference.ColorSelector
gridColorSelector
private org.eclipse.swt.widgets.Button
invertAxisButton
private org.eclipse.swt.widgets.Button
logButton
private org.eclipse.swt.widgets.Label
maxOrAutoScaleLabel
private DoubleInputText
maxOrAutoScaleThrText
private org.eclipse.swt.widgets.Label
minLabel
private DoubleInputText
minText
private org.eclipse.swt.widgets.Button
primaryButton
private org.eclipse.swt.graphics.Font
scaleFont
private org.eclipse.swt.widgets.Label
scaleFontLabel
private org.eclipse.swt.widgets.Button
showAxisButton
private org.eclipse.swt.widgets.Button
showGridButton
private org.eclipse.swt.graphics.Font
titleFont
private org.eclipse.swt.widgets.Label
titleFontLabel
private org.eclipse.swt.widgets.Text
titleText
private IXYGraph
xyGraph
-
Constructor Summary
Constructors Constructor Description AxisConfigPage(IXYGraph xyGraph, Axis axis)
Create an Axis Configuration Page for the config dialog.AxisConfigPage(IXYGraph xyGraph, Axis axis, boolean enableRanges)
Create an Axis Configuration Page for the config dialog.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyChanges()
private void
configCheckButton(org.eclipse.swt.widgets.Button button, java.lang.String text)
void
createPage(org.eclipse.swt.widgets.Composite composite)
org.eclipse.swt.widgets.Composite
getComposite()
private void
initialize()
private void
setInverted(boolean isInverted)
-
-
-
Field Detail
-
xyGraph
private IXYGraph xyGraph
-
axis
private Axis axis
-
titleText
private org.eclipse.swt.widgets.Text titleText
-
scaleFontLabel
private org.eclipse.swt.widgets.Label scaleFontLabel
-
scaleFont
private org.eclipse.swt.graphics.Font scaleFont
-
titleFontLabel
private org.eclipse.swt.widgets.Label titleFontLabel
-
titleFont
private org.eclipse.swt.graphics.Font titleFont
-
axisColorSelector
private org.eclipse.jface.preference.ColorSelector axisColorSelector
-
primaryButton
private org.eclipse.swt.widgets.Button primaryButton
-
logButton
private org.eclipse.swt.widgets.Button logButton
-
autoScaleButton
private org.eclipse.swt.widgets.Button autoScaleButton
-
maxOrAutoScaleLabel
private org.eclipse.swt.widgets.Label maxOrAutoScaleLabel
-
maxOrAutoScaleThrText
private DoubleInputText maxOrAutoScaleThrText
-
minLabel
private org.eclipse.swt.widgets.Label minLabel
-
minText
private DoubleInputText minText
-
invertAxisButton
private org.eclipse.swt.widgets.Button invertAxisButton
-
dateEnabledButton
private org.eclipse.swt.widgets.Button dateEnabledButton
-
autoFormat
private org.eclipse.swt.widgets.Button autoFormat
-
formatLabel
private org.eclipse.swt.widgets.Label formatLabel
-
formatText
private org.eclipse.swt.widgets.Text formatText
-
showGridButton
private org.eclipse.swt.widgets.Button showGridButton
-
dashGridLineButton
private org.eclipse.swt.widgets.Button dashGridLineButton
-
gridColorSelector
private org.eclipse.jface.preference.ColorSelector gridColorSelector
-
showAxisButton
private org.eclipse.swt.widgets.Button showAxisButton
-
composite
private org.eclipse.swt.widgets.Composite composite
-
enableRanges
private boolean enableRanges
-
-
Method Detail
-
createPage
public void createPage(org.eclipse.swt.widgets.Composite composite)
-
configCheckButton
private void configCheckButton(org.eclipse.swt.widgets.Button button, java.lang.String text)
-
getComposite
public org.eclipse.swt.widgets.Composite getComposite()
- Returns:
- the composite
-
applyChanges
public void applyChanges()
-
setInverted
private void setInverted(boolean isInverted)
-
initialize
private void initialize()
-
-