public abstract class ScaleCombobox
extends Combobox
PageToolbarActionExecutor. After
scale is applied changeScale method is called so that it can be applied also to other components.| Modifier and Type | Field and Description |
|---|---|
static String |
USER_SELECTED_SCALE
When user selects scale it is stored in his session under this attribute.
|
| Constructor and Description |
|---|
ScaleCombobox(AbstractBrowserComponent toolbar,
Collection<Integer> scalingValues,
int defaultSelectedIndex) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
changeScale(Integer scale)
Change scale of any other component or just use it for anything else.
|
public static final String USER_SELECTED_SCALE
public ScaleCombobox(AbstractBrowserComponent toolbar, Collection<Integer> scalingValues, int defaultSelectedIndex)
toolbar - in which this combobox is created.scalingValues - - initial set of possible valuesdefaultSelectedIndex - - initial selectionpublic abstract void changeScale(Integer scale)
scale - - selected scale applied to mainAreaCopyright © 2017 SAP SE. All Rights Reserved.