iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.editor.preferences
Class TIntegerFieldEditor

java.lang.Object
  extended byorg.eclipse.jface.preference.FieldEditor
      extended byorg.eclipse.jface.preference.StringFieldEditor
          extended byorg.eclipse.jface.preference.IntegerFieldEditor
              extended bycom.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


Field Summary
protected  Composite composite_parent
           
static String Copyright
           
 
Fields inherited from class org.eclipse.jface.preference.StringFieldEditor
UNLIMITED, VALIDATE_ON_FOCUS_LOST, VALIDATE_ON_KEY_STROKE
 
Fields inherited from class org.eclipse.jface.preference.FieldEditor
HORIZONTAL_GAP, IS_VALID, VALUE
 
Constructor Summary
TIntegerFieldEditor()
           
TIntegerFieldEditor(String name, String labelText, Composite parent)
           
 
Method Summary
 void refreshValidState()
           
 void setEnabled(boolean enabled)
           
 void setHelp(String contextId)
          Method setHelp.
 void setToolTipText(String tip)
          Method setToolTipText.
 void setValidRange(int min, int max)
           
 
Methods inherited from class org.eclipse.jface.preference.IntegerFieldEditor
checkState, doLoad, doLoadDefault, doStore, getIntValue
 
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
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

composite_parent

protected Composite composite_parent
Constructor Detail

TIntegerFieldEditor

public TIntegerFieldEditor()
See Also:
Object.Object()

TIntegerFieldEditor

public TIntegerFieldEditor(String name,
                           String labelText,
                           Composite parent)
See Also:
FieldEditor.FieldEditor(String, String, Composite)
Method Detail

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()

iSeries Remote Systems
v6.0.0

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.