Class GraphConfigPage
- java.lang.Object
-
- org.eclipse.nebula.visualization.internal.xygraph.toolbar.GraphConfigPage
-
public class GraphConfigPage extends java.lang.ObjectThis will help to create the necessary widgets to configure an annotation's properties.
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.jface.preference.ColorSelectorplotAreaColorSelectorprivate org.eclipse.swt.widgets.ButtonshowLegendprivate org.eclipse.swt.widgets.ButtonshowPlotAreaBorderprivate org.eclipse.swt.widgets.ButtonshowTitleprivate org.eclipse.jface.preference.ColorSelectortitleColorSelectorprivate org.eclipse.swt.graphics.FonttitleFontprivate org.eclipse.swt.widgets.TexttitleTextprivate org.eclipse.swt.widgets.Buttontransparentprivate IXYGraphxyGraph
-
Constructor Summary
Constructors Constructor Description GraphConfigPage(IXYGraph xyGraph)Construct a graph configuration page
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyChanges()voidcreatePage(org.eclipse.swt.widgets.Composite composite)IXYGraphgetXYGraph()
-
-
-
Field Detail
-
xyGraph
private IXYGraph xyGraph
-
titleText
private org.eclipse.swt.widgets.Text titleText
-
titleFont
private org.eclipse.swt.graphics.Font titleFont
-
titleColorSelector
private org.eclipse.jface.preference.ColorSelector titleColorSelector
-
plotAreaColorSelector
private org.eclipse.jface.preference.ColorSelector plotAreaColorSelector
-
showTitle
private org.eclipse.swt.widgets.Button showTitle
-
showLegend
private org.eclipse.swt.widgets.Button showLegend
-
showPlotAreaBorder
private org.eclipse.swt.widgets.Button showPlotAreaBorder
-
transparent
private org.eclipse.swt.widgets.Button transparent
-
-
Constructor Detail
-
GraphConfigPage
public GraphConfigPage(IXYGraph xyGraph)
Construct a graph configuration page- Parameters:
xyGraph- the graph for which the configuration page is created
-
-
Method Detail
-
createPage
public void createPage(org.eclipse.swt.widgets.Composite composite)
-
applyChanges
public void applyChanges()
-
getXYGraph
public IXYGraph getXYGraph()
- Returns:
- the graph
-
-