Java org.eclipse.jface.preference StringFieldEditor fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.preference StringFieldEditor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.preference StringFieldEditor.

The text is from its open source code.

Subclass

org.eclipse.jface.preference.StringFieldEditor has subclasses.
Click this link to see all its subclasses.

Field

intVALIDATE_ON_KEY_STROKE
Validation strategy constant (value 0) indicating that the editor should perform validation after every key stroke.
intVALIDATE_ON_FOCUS_LOST
Validation strategy constant (value 1) indicating that the editor should perform validation only when the text widget loses focus.
intUNLIMITED
Text limit constant (value -1) indicating unlimited text limit and width.

Constructor

Method

voidfillIntoGrid(Composite parent, int numColumns)
Fills this field editor's basic controls into the given parent.
LabelgetLabelControl(Composite parent)
Returns this field editor's label component.
StringgetLabelText()
Returns this field editor's label text.
StringgetPreferenceName()
Returns the name of the preference this field editor operates on.
IPreferenceStoregetPreferenceStore()
Returns the preference store used by this field editor.
StringgetStringValue()
Returns the field editor's value.
TextgetTextControl(Composite parent)
Returns this field editor's text control.
voidload()
Initializes this field editor with the preference value from the preference store.
voidloadDefault()
Initializes this field editor with the default preference value from the preference store.
voidsetEmptyStringAllowed(boolean b)
Sets whether the empty string is a valid value or not.
voidsetEnabled(boolean enabled, Composite parent)
voidsetErrorMessage(String message)
Sets the error message that will be displayed when and if an error occurs.
voidsetPage(DialogPage dialogPage)
Set the page to be the receiver.
voidsetPreferenceName(String name)
Sets the name of the preference this field editor operates on.
voidsetPreferenceStore(IPreferenceStore store)
Sets the preference store used by this field editor.
voidsetPropertyChangeListener(IPropertyChangeListener listener)
Sets or removes the property change listener for this field editor.
voidsetStringValue(String value)
Sets this field editor's value.
voidsetTextLimit(int limit)
Sets this text field's text limit.
voidstore()
Stores this field editor's value back into the preference store.