Klasse ComponentGSSlider
java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ComponentGSSlider
This component allows to configure the coding model.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungComponentGSSlider(org.eclipse.swt.widgets.Composite parent) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddSelectionListener(org.eclipse.swt.events.SelectionListener listener) Adds a selection listenerdoubleGets the selectionvoidsetLayoutData(Object data) Sets layout datavoidsetSelection(double selection) Sets the selection
-
Konstruktordetails
-
ComponentGSSlider
public ComponentGSSlider(org.eclipse.swt.widgets.Composite parent) Creates a new instance.- Parameter:
parent-
-
-
Methodendetails
-
addSelectionListener
public void addSelectionListener(org.eclipse.swt.events.SelectionListener listener) Adds a selection listener- Parameter:
listener-
-
getSelection
public double getSelection()Gets the selection- Gibt zurück:
-
setLayoutData
Sets layout data- Parameter:
data-
-
setSelection
public void setSelection(double selection) Sets the selection- Parameter:
selection-
-