|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.editor.ISeriesEditorPromptFieldData
public class ISeriesEditorPromptFieldData
A structure that contains information about a field, its string identifier, its label, its position, its length, and an optional list of string choices. A combo box is presented if a list of string choices is present. Otherwise, a text field is presented. The field label is represented as two lines of centered text. A combo box, or text widget is placed centered under the label. For a list of choices, the index of the currently selected choice is stored.
Field Summary | |
---|---|
boolean |
bEditable
|
static String |
copyright
|
Hashtable |
hashChoiceHelpIDs
|
int |
iAlignment
|
int |
iLength
|
int |
iPosition
|
String[] |
straChoices
|
String |
strHelpID
|
String |
strId
|
protected static String |
STRING_EMPTY
|
String |
strLabel
|
String |
strText
|
Fields inherited from interface com.ibm.etools.iseries.edit.IISeriesEditorConstantsPrompt |
---|
ALIGNMENT_BOTH, ALIGNMENT_LEFT, ALIGNMENT_NONE, ALIGNMENT_RIGHT |
Constructor Summary | |
---|---|
ISeriesEditorPromptFieldData()
Default constructor. |
|
ISeriesEditorPromptFieldData(String strLabel,
int iPosition,
int iLength,
String strHelpID)
Constructor. |
|
ISeriesEditorPromptFieldData(String strLabel,
int iPosition,
int iLength,
String strHelpID,
String[] straChoices,
Hashtable hashChoiceHelpIDs)
Constructor. |
Method Summary | |
---|---|
void |
addChoice(String strChoice,
String strHelpID)
Adds the choice string and its help ID |
String |
getChoiceHelpID(String strChoice)
Returns the help ID associated with the choice text string. |
void |
initialize()
Called after field data setup is complete. |
void |
setLabel(String strLabel)
Sets the label for this field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
public String strHelpID
public String strId
public String strLabel
public String strText
public String[] straChoices
public Hashtable hashChoiceHelpIDs
public int iPosition
public int iLength
public int iAlignment
public boolean bEditable
protected static final String STRING_EMPTY
Constructor Detail |
---|
public ISeriesEditorPromptFieldData()
public ISeriesEditorPromptFieldData(String strLabel, int iPosition, int iLength, String strHelpID)
public ISeriesEditorPromptFieldData(String strLabel, int iPosition, int iLength, String strHelpID, String[] straChoices, Hashtable hashChoiceHelpIDs)
Method Detail |
---|
public void addChoice(String strChoice, String strHelpID)
public String getChoiceHelpID(String strChoice)
public void initialize()
public void setLabel(String strLabel)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |