Class CComboFocusControlListener
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.promptsupport.BaseFocusControlListener
-
- org.eclipse.nebula.widgets.opal.promptsupport.CComboFocusControlListener
-
- All Implemented Interfaces:
java.util.EventListener,org.eclipse.swt.events.ControlListener,org.eclipse.swt.events.FocusListener,org.eclipse.swt.internal.SWTEventListener
class CComboFocusControlListener extends BaseFocusControlListener
Focus/Control listener for a CCombo widget
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.opal.promptsupport.BaseFocusControlListener
control, EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description CComboFocusControlListener(org.eclipse.swt.custom.CCombo control)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillPromptText()Fill the prompt textprotected voidhidePrompt()Code when the focus behiaviour is "Hide"protected voidhighLightPrompt()Code when the focus behiaviour is "Highlight"protected booleanisFilled()-
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:BaseFocusControlListenerCode when the focus behiaviour is "Hide"- Specified by:
hidePromptin classBaseFocusControlListener- See Also:
BaseFocusControlListener.hidePrompt()
-
highLightPrompt
protected void highLightPrompt()
Description copied from class:BaseFocusControlListenerCode when the focus behiaviour is "Highlight"- Specified by:
highLightPromptin classBaseFocusControlListener- See Also:
BaseFocusControlListener.highLightPrompt()
-
fillPromptText
protected void fillPromptText()
Description copied from class:BaseFocusControlListenerFill the prompt text- Specified by:
fillPromptTextin classBaseFocusControlListener- See Also:
BaseFocusControlListener.fillPromptText()
-
isFilled
protected boolean isFilled()
- Specified by:
isFilledin classBaseFocusControlListener- Returns:
trueif the widget is filled,falseotherwise- See Also:
BaseFocusControlListener.isFilled()
-
-