public class SeriesPage extends AbstractSelectorPage
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jface.preference.ColorSelector |
barColorButton
the bar color button
|
protected org.eclipse.swt.graphics.RGB[] |
barColors
the bar colors
|
protected org.eclipse.jface.preference.ColorSelector |
lineColorButton
the line color button
|
protected org.eclipse.swt.graphics.RGB[] |
lineColors
the line colors
|
protected org.eclipse.swt.widgets.Combo |
lineStyleCombo
the line style combo
|
protected LineStyle[] |
lineStyles
the line styles
|
protected int[] |
paddings
the paddings
|
protected org.eclipse.swt.widgets.Spinner |
paddingSizeSpinner
the padding size spinner
|
protected org.eclipse.swt.widgets.Button |
stackedButton
the button for stack state
|
protected boolean[] |
stackedStates
the states indicating the series is stacked
|
protected org.eclipse.jface.preference.ColorSelector |
symbolColorButton
the color selector for symbol
|
protected org.eclipse.swt.graphics.RGB[] |
symbolColors
the symbol colors
|
protected int[] |
symbolSizes
the symbol sizes
|
protected org.eclipse.swt.widgets.Spinner |
symbolSizeSpinner
the symbol size spinner
|
protected org.eclipse.swt.widgets.Combo |
symbolTypeCombo
the symbol type combo
|
protected ILineSeries.PlotSymbolType[] |
symbolTypes
the symbol types
|
protected org.eclipse.swt.widgets.Button |
visibleButton
the button for visibility
|
protected boolean[] |
visibleStates
the states indicating the visibility of series
|
protected org.eclipse.swt.widgets.Combo |
xAxisIdCombo
the x axis id combo
|
protected int[] |
xAxisIds
the x axis ids
|
protected org.eclipse.swt.widgets.Combo |
yAxisIdCombo
the y axis id combo
|
protected int[] |
yAxisIds
the y axis ids
|
list, selectedIndex
chart, resources
Constructor and Description |
---|
SeriesPage(InteractiveChart chart,
PropertiesResources resources,
String title)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addRightPanelContents(org.eclipse.swt.widgets.Composite parent)
Adds the contents on right panel.
|
void |
apply()
Apply the values specified on controls.
|
protected String[] |
getListItems()
Gets the list items.
|
protected void |
performDefaults() |
protected void |
selectInitialValues()
Selects value for each control.
|
protected void |
setControlsEnable(boolean enabled)
Sets the enable state of controls.
|
protected void |
updateControlSelections()
Updates the selection on controls.
|
createContents
createCheckBoxControl, createColorButtonControl, createComboControl, createGroupControl, createLabelControl, createSpinnerControl, createTextControl, performOk
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
protected org.eclipse.swt.widgets.Button visibleButton
protected org.eclipse.swt.widgets.Button stackedButton
protected org.eclipse.swt.widgets.Combo xAxisIdCombo
protected org.eclipse.swt.widgets.Combo yAxisIdCombo
protected org.eclipse.jface.preference.ColorSelector lineColorButton
protected org.eclipse.swt.widgets.Combo lineStyleCombo
protected org.eclipse.jface.preference.ColorSelector symbolColorButton
protected org.eclipse.swt.widgets.Combo symbolTypeCombo
protected org.eclipse.swt.widgets.Spinner symbolSizeSpinner
protected org.eclipse.jface.preference.ColorSelector barColorButton
protected org.eclipse.swt.widgets.Spinner paddingSizeSpinner
protected boolean[] visibleStates
protected boolean[] stackedStates
protected int[] xAxisIds
protected int[] yAxisIds
protected org.eclipse.swt.graphics.RGB[] lineColors
protected LineStyle[] lineStyles
protected org.eclipse.swt.graphics.RGB[] symbolColors
protected ILineSeries.PlotSymbolType[] symbolTypes
protected int[] symbolSizes
protected org.eclipse.swt.graphics.RGB[] barColors
protected int[] paddings
public SeriesPage(InteractiveChart chart, PropertiesResources resources, String title)
chart
- the chartresources
- the properties resourcestitle
- the titleprotected String[] getListItems()
AbstractSelectorPage
getListItems
in class AbstractSelectorPage
protected void selectInitialValues()
AbstractSelectorPage
selectInitialValues
in class AbstractSelectorPage
protected void updateControlSelections()
AbstractSelectorPage
updateControlSelections
in class AbstractSelectorPage
protected void addRightPanelContents(org.eclipse.swt.widgets.Composite parent)
AbstractSelectorPage
addRightPanelContents
in class AbstractSelectorPage
parent
- the parent to add the contentsprotected void setControlsEnable(boolean enabled)
enabled
- true if controls are enabledpublic void apply()
AbstractPage
apply
in class AbstractPage
protected void performDefaults()
performDefaults
in class org.eclipse.jface.preference.PreferencePage
Copyright © 2022. All rights reserved.