Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.dialogs.datatableview
Class HexFieldPrompt

java.lang.Object
  extended by com.ibm.etools.iseries.rse.ui.dialogs.datatableview.NullCapableFieldPrompt
      extended by com.ibm.etools.iseries.rse.ui.dialogs.datatableview.HexFieldPrompt

public class HexFieldPrompt
extends NullCapableFieldPrompt

Previously had a more complex UI presentation showing 2 Text prompts, one for the hex digits string and one for the character representation string. The CT person found this not intuitive, so decided to simplify down to just the hex digits prompt. So here, the Text control actually has the hex digit expansion string. But outside this class, callers expect to receive the byte string, so have to convert between the two values at the text value interface to this class.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.dialogs.datatableview.NullCapableFieldPrompt
limitExceeded, savedValue, text
 
Constructor Summary
HexFieldPrompt(Composite parent, ISeriesDataTableColumnAdapter col, ISeriesDataTableViewPromptDialog dialog)
           
 
Method Summary
 void addModifyListener()
           
protected  void createInnerComposite(Composite parent)
           
 String getText()
           
protected  void resetLimitExceeded()
           
 void setText(String s)
           
 void setTextLimit(int limit)
           
 void signalLimitExceeded()
           
 SystemMessage validate()
           
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.dialogs.datatableview.NullCapableFieldPrompt
fieldPromptFactory, getPromptControl, getTextControl, getWidthHint, hasKeyValue, isSet, setCanBeEmptyPartialKey, setNull, setPromptToolTip
 
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
Constructor Detail

HexFieldPrompt

public HexFieldPrompt(Composite parent,
                      ISeriesDataTableColumnAdapter col,
                      ISeriesDataTableViewPromptDialog dialog)
Method Detail

createInnerComposite

protected void createInnerComposite(Composite parent)
Overrides:
createInnerComposite in class NullCapableFieldPrompt

addModifyListener

public void addModifyListener()
Overrides:
addModifyListener in class NullCapableFieldPrompt

getText

public String getText()
Overrides:
getText in class NullCapableFieldPrompt

setText

public void setText(String s)
Overrides:
setText in class NullCapableFieldPrompt

setTextLimit

public void setTextLimit(int limit)
Overrides:
setTextLimit in class NullCapableFieldPrompt

validate

public SystemMessage validate()
Overrides:
validate in class NullCapableFieldPrompt

signalLimitExceeded

public void signalLimitExceeded()
Overrides:
signalLimitExceeded in class NullCapableFieldPrompt

resetLimitExceeded

protected void resetLimitExceeded()
Overrides:
resetLimitExceeded in class NullCapableFieldPrompt

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.