class StyledTextFocusControlListener extends BaseFocusControlListener
control, EMPTY_STRING
Constructor and Description |
---|
StyledTextFocusControlListener(org.eclipse.swt.custom.StyledText control)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
fillPromptText()
Fill the prompt text
|
protected void |
hidePrompt()
Code when the focus behiaviour is "Hide"
|
protected void |
highLightPrompt()
Code when the focus behiaviour is "Highlight"
|
protected boolean |
isFilled() |
controlMoved, controlResized, focusGained, focusLost
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public StyledTextFocusControlListener(org.eclipse.swt.custom.StyledText control)
control
- control on which this listener will be attachedprotected void hidePrompt()
BaseFocusControlListener
hidePrompt
in class BaseFocusControlListener
BaseFocusControlListener.hidePrompt()
protected void highLightPrompt()
BaseFocusControlListener
highLightPrompt
in class BaseFocusControlListener
BaseFocusControlListener.highLightPrompt()
protected void fillPromptText()
BaseFocusControlListener
fillPromptText
in class BaseFocusControlListener
BaseFocusControlListener.fillPromptText()
protected boolean isFilled()
isFilled
in class BaseFocusControlListener
true
if the widget is filled, false
otherwiseBaseFocusControlListener.isFilled()