public class SeriesLabelPage extends AbstractSelectorPage
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jface.preference.ColorSelector |
colorButton
the color button
|
protected org.eclipse.swt.graphics.RGB[] |
colors
the colors
|
protected int[] |
fontSizes
the font size
|
protected org.eclipse.swt.widgets.Spinner |
fontSizeSpinner
the font size spinner
|
protected org.eclipse.swt.widgets.Button |
showLabelButton
the show label button
|
protected boolean[] |
visibleStates
the states indicating the visibility of series
|
list, selectedIndexchart, resources| Constructor and Description |
|---|
SeriesLabelPage(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.
|
createContentscreateCheckBoxControl, createColorButtonControl, createComboControl, createGroupControl, createLabelControl, createSpinnerControl, createTextControl, performOkapplyData, 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, updateApplyButtonconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisibleprotected org.eclipse.swt.widgets.Button showLabelButton
protected org.eclipse.jface.preference.ColorSelector colorButton
protected org.eclipse.swt.widgets.Spinner fontSizeSpinner
protected boolean[] visibleStates
protected org.eclipse.swt.graphics.RGB[] colors
protected int[] fontSizes
public SeriesLabelPage(InteractiveChart chart, PropertiesResources resources, String title)
chart - the chartresources - the properties resourcestitle - the titleprotected String[] getListItems()
AbstractSelectorPagegetListItems in class AbstractSelectorPageprotected void selectInitialValues()
AbstractSelectorPageselectInitialValues in class AbstractSelectorPageprotected void updateControlSelections()
AbstractSelectorPageupdateControlSelections in class AbstractSelectorPageprotected void addRightPanelContents(org.eclipse.swt.widgets.Composite parent)
AbstractSelectorPageaddRightPanelContents in class AbstractSelectorPageparent - the parent to add the contentsprotected void setControlsEnable(boolean enabled)
enabled - true if controls are enabledpublic void apply()
AbstractPageapply in class AbstractPageprotected void performDefaults()
performDefaults in class org.eclipse.jface.preference.PreferencePageCopyright © 2024. All rights reserved.