|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.ContributionItem
org.eclipse.jface.action.ControlContribution
de.cau.cs.kieler.sim.kiem.ui.AimedStepDurationTextField
public class AimedStepDurationTextField
The Class AimedStepDurationTextField. This is the GUI component that shows the currently set aimed step duration for the execution. It can also be used to edit this duration.
Constructor Summary | |
---|---|
AimedStepDurationTextField(KiemPlugin kIEMParam)
Instantiates a new aimed step duration text field. |
Method Summary | |
---|---|
protected Control |
createControl(Composite parent)
|
void |
focusGained(FocusEvent e)
|
void |
focusLost(FocusEvent e)
|
boolean |
isEnabled()
Returns whether the text field is currently enabled or not. |
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
setEnabled(boolean enabledParam)
Enables or disables the text field. |
void |
update()
|
Methods inherited from class org.eclipse.jface.action.ControlContribution |
---|
computeWidth, fill, fill, fill |
Methods inherited from class org.eclipse.jface.action.ContributionItem |
---|
dispose, fill, getId, getParent, isDirty, isDynamic, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AimedStepDurationTextField(KiemPlugin kIEMParam)
kIEMParam
- a reference to to the KIEM plug-inMethod Detail |
---|
public void setEnabled(boolean enabledParam)
enabledParam
- the new status of the enablenesspublic boolean isEnabled()
isEnabled
in interface IContributionItem
isEnabled
in class ContributionItem
protected Control createControl(Composite parent)
createControl
in class ControlContribution
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener
public void update()
update
in interface IContributionItem
update
in class ContributionItem
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |