Class StyledTextFocusControlListener
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.promptsupport.BaseFocusControlListener
-
- org.eclipse.nebula.widgets.opal.promptsupport.StyledTextFocusControlListener
-
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.swt.events.ControlListener
,org.eclipse.swt.events.FocusListener
,org.eclipse.swt.internal.SWTEventListener
class StyledTextFocusControlListener extends BaseFocusControlListener
Focus/Control listener for a StyledText widget
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.opal.promptsupport.BaseFocusControlListener
control, EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description StyledTextFocusControlListener(org.eclipse.swt.custom.StyledText control)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillPromptText()
Fill the prompt textprotected void
hidePrompt()
Code when the focus behiaviour is "Hide"protected void
highLightPrompt()
Code when the focus behiaviour is "Highlight"protected boolean
isFilled()
-
Methods inherited from class org.eclipse.nebula.widgets.opal.promptsupport.BaseFocusControlListener
controlMoved, controlResized, focusGained, focusLost
-
-
-
-
Method Detail
-
hidePrompt
protected void hidePrompt()
Description copied from class:BaseFocusControlListener
Code when the focus behiaviour is "Hide"- Specified by:
hidePrompt
in classBaseFocusControlListener
- See Also:
BaseFocusControlListener.hidePrompt()
-
highLightPrompt
protected void highLightPrompt()
Description copied from class:BaseFocusControlListener
Code when the focus behiaviour is "Highlight"- Specified by:
highLightPrompt
in classBaseFocusControlListener
- See Also:
BaseFocusControlListener.highLightPrompt()
-
fillPromptText
protected void fillPromptText()
Description copied from class:BaseFocusControlListener
Fill the prompt text- Specified by:
fillPromptText
in classBaseFocusControlListener
- See Also:
BaseFocusControlListener.fillPromptText()
-
isFilled
protected boolean isFilled()
- Specified by:
isFilled
in classBaseFocusControlListener
- Returns:
true
if the widget is filled,false
otherwise- See Also:
BaseFocusControlListener.isFilled()
-
-