com.ibm.etools.iseries.editor.preferences
Class TIntegerFieldEditor
java.lang.Object
org.eclipse.jface.preference.FieldEditor
org.eclipse.jface.preference.StringFieldEditor
org.eclipse.jface.preference.IntegerFieldEditor
com.ibm.etools.iseries.editor.preferences.TIntegerFieldEditor
- Direct Known Subclasses:
- AutoIndentFieldEditor
- public class TIntegerFieldEditor
- extends IntegerFieldEditor
A version of an IntegerFieldEditor which allows setting tooltip and help
If value is outside of valid range, message will tell user what the valid range is
Methods inherited from class org.eclipse.jface.preference.StringFieldEditor |
adjustForNumColumns, doCheckState, doFillIntoGrid, getErrorMessage, getNumberOfControls, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, setEmptyStringAllowed, setEnabled, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged |
Methods inherited from class org.eclipse.jface.preference.FieldEditor |
applyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPreferenceName, getPreferencePage, getPreferenceStore, init, load, loadDefault, presentsDefaultValue, setButtonLayoutData, setLabelText, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
composite_parent
protected Composite composite_parent
TIntegerFieldEditor
public TIntegerFieldEditor()
- See Also:
Object.Object()
TIntegerFieldEditor
public TIntegerFieldEditor(String name,
String labelText,
Composite parent)
- See Also:
FieldEditor.FieldEditor(String, String, Composite)
setValidRange
public void setValidRange(int min,
int max)
- See Also:
IntegerFieldEditor.setValidRange(int, int)
setHelp
public void setHelp(String contextId)
- Method setHelp.
Sets the info pop help for this field editor
- Parameters:
contextId
- the context ID for the help
setToolTipText
public void setToolTipText(String tip)
- Method setToolTipText.
The tooltip text
- Parameters:
tip
- the tip to set for the entry field
setEnabled
public void setEnabled(boolean enabled)
refreshValidState
public void refreshValidState()
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.