public class TextControl extends EditorTextFieldControl<TextPanel>
Disposable.Parent
ERROR_BACKGROUND, ERROR_FOREGROUND, WARNING_BACKGROUND
Constructor and Description |
---|
TextControl(DomWrapper<java.lang.String> domWrapper) |
TextControl(DomWrapper<java.lang.String> domWrapper,
boolean commitOnEveryChange) |
Modifier and Type | Method and Description |
---|---|
protected TextPanel |
createMainComponent(TextPanel boundedComponent,
Project project) |
protected EditorTextField |
getEditorTextField(TextPanel panel) |
canNavigate, createMainComponent, doReset, getComponentToListenFocusLost, getHighlightedComponent, getValue, navigate, setValue, updateComponent
doCommit, isCommitted, setModified
addCommitListener, bind, commit, dispose, getComponent, getDefaultBackground, getDefaultForeground, getDomElement, getDomWrapper, getErrorBackground, getErrorForeground, getProject, getWarningBackground, isValid, removeCommitListener, reset, updateHighlighting
addDependency
public TextControl(DomWrapper<java.lang.String> domWrapper)
public TextControl(DomWrapper<java.lang.String> domWrapper, boolean commitOnEveryChange)
protected EditorTextField getEditorTextField(TextPanel panel)
getEditorTextField
in class EditorTextFieldControl<TextPanel>
protected TextPanel createMainComponent(TextPanel boundedComponent, Project project)
createMainComponent
in class EditorTextFieldControl<TextPanel>