public class CompositeControl
extends org.eclipse.swt.widgets.Composite
Composite
also displays the passed time of TRAINING- and
MEASURING-state.Constructor and Description |
---|
CompositeControl(org.eclipse.swt.widgets.Composite parent,
int style)
Creates a new
CompositeControl . |
Modifier and Type | Method and Description |
---|---|
void |
addMeasuringListener(org.eclipse.swt.widgets.Listener listener)
Adds a
Listener that will be notified as soon as the
"start Measuring"-button is pressed. |
void |
addNextSubjectListener(org.eclipse.swt.widgets.Listener listener)
Adds a
Listener that will be notified as soon as the
"Next Subject"-button is pressed. |
void |
addStopListener(org.eclipse.swt.widgets.Listener listener)
Adds a
Listener that will be notified as soon as the
"stop"-button is pressed. |
void |
addTrainingListener(org.eclipse.swt.widgets.Listener listener)
Adds a
Listener that will be notified as soon as the
"start Training"-button is pressed. |
void |
enableMeasuring()
Enables the "start Measuring"-button.
|
void |
enableNextSubject()
Enables the "Next Subject"-button.
|
void |
enableStopping()
Enables the "stop"-button.
|
void |
enableTraining()
Enables the "start Training"-button.
|
void |
setEnabled(boolean enabled) |
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
public CompositeControl(org.eclipse.swt.widgets.Composite parent, int style)
CompositeControl
.parent
- see Composite
style
- see Composite
Composite
public void addTrainingListener(org.eclipse.swt.widgets.Listener listener)
Listener
that will be notified as soon as the
"start Training"-button is pressed.listener
- to be addedpublic void addMeasuringListener(org.eclipse.swt.widgets.Listener listener)
Listener
that will be notified as soon as the
"start Measuring"-button is pressed.listener
- to be addedpublic void addStopListener(org.eclipse.swt.widgets.Listener listener)
Listener
that will be notified as soon as the
"stop"-button is pressed.listener
- to be addedpublic void addNextSubjectListener(org.eclipse.swt.widgets.Listener listener)
Listener
that will be notified as soon as the
"Next Subject"-button is pressed.listener
- to be addedpublic void enableTraining()
public void enableMeasuring()
public void enableStopping()
public void enableNextSubject()
public void setEnabled(boolean enabled)
setEnabled
in class org.eclipse.swt.widgets.Control