| org.netbeans.api.visual.action.TextFieldInplaceEditor
TextFieldInplaceEditor | public interface TextFieldInplaceEditor (Code) | | This is an inteface for text-field based in-place editor.
author: David Kaspar |
getText | String getText(Widget widget)(Code) | | Returns an initial text of the in-place editor.
Parameters: widget - the edited widget the initial text |
isEnabled | boolean isEnabled(Widget widget)(Code) | | Returns whether the in-place editing is allowed.
Parameters: widget - the widget where the editor will be invoked true, if enabled; false if disabled |
setText | void setText(Widget widget, String text)(Code) | | Sets a new text approved by an user.
Parameters: widget - the edited widget Parameters: text - the new text entered by an user |
|
|