|
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.ISeriesEditorPromptGroup
public class ISeriesEditorPromptGroup
This class represents a group of displayable prompt pages.
Field Summary | |
---|---|
protected int |
_iMaxLineLength
|
protected String |
_strEmpty
|
protected Vector |
_vectorPageFields
|
protected Vector |
_vectorPageHelpIds
|
protected Vector |
_vectorPageLabels
|
protected Vector |
_vectorPageTemplates
|
protected Vector |
_vectorXmlPageIds
|
protected Vector |
_vectorXmlPages
|
static String |
copyright
|
Fields inherited from interface com.ibm.etools.iseries.edit.IISeriesEditorConstantsPrompt |
---|
ALIGNMENT_BOTH, ALIGNMENT_LEFT, ALIGNMENT_NONE, ALIGNMENT_RIGHT |
Constructor Summary | |
---|---|
ISeriesEditorPromptGroup()
Constructor. |
Method Summary | |
---|---|
protected ISeriesEditorPromptFieldData |
createFieldData(XmlLiteElement elementField)
Parses an XML field element for its attributes, and returns the attributes in a field data object. |
protected int |
getElementAttributeNumericValue(XmlLiteElement element,
String strAttributeName)
Returns the integer value of an elements attribute given the name of the attribute. |
protected String |
getElementAttributeStringValue(XmlLiteElement element,
String strAttributeName)
Returns the string value of an elements attribute given the name of the attribute. |
String |
getFieldHelpIdFromColumnNumber(int iPageIndex,
int iColumnNumber,
String strLine,
String strEncoding)
Returns the Help resource identifier string given the column number of the field. |
int |
getMaximumLineLength()
Returns the maximum line length for all statements. |
int |
getNumberOfPages()
Returns the number of pages in this group. |
ISeriesEditorPromptFieldData[] |
getPageFieldData(int iPageIndex)
Returns an array of data structures containing the data for each field. |
String |
getPageHelpIdFromPageIndex(int iPageIndex)
Returns the Help ID for the given page index. |
String |
getPageIdFromPageIndex(int iPageIndex)
Returns the ID of the page for the given page index. |
int |
getPageIndexFromPageId(String strPageId)
Converts from a string page identifier to a page index number. |
String[] |
getPageLabels()
Returns an array of page labels to be used in a combo. |
String |
getPageTemplate(int iPageIndex)
Returns the string which contains the constant characters for the prompt type. |
boolean |
loadPageGroup(URL urlPageGroup)
Loads and parses a page group XML file from a URL. |
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
protected Vector _vectorPageLabels
protected Vector _vectorPageHelpIds
protected Vector _vectorPageTemplates
protected Vector _vectorXmlPageIds
protected Vector _vectorXmlPages
protected Vector _vectorPageFields
protected int _iMaxLineLength
protected String _strEmpty
Constructor Detail |
---|
public ISeriesEditorPromptGroup()
Method Detail |
---|
protected ISeriesEditorPromptFieldData createFieldData(XmlLiteElement elementField)
protected int getElementAttributeNumericValue(XmlLiteElement element, String strAttributeName)
protected String getElementAttributeStringValue(XmlLiteElement element, String strAttributeName)
public int getMaximumLineLength()
public int getNumberOfPages()
public String getFieldHelpIdFromColumnNumber(int iPageIndex, int iColumnNumber, String strLine, String strEncoding)
public ISeriesEditorPromptFieldData[] getPageFieldData(int iPageIndex)
public String getPageHelpIdFromPageIndex(int iPageIndex)
public String getPageIdFromPageIndex(int iPageIndex)
public int getPageIndexFromPageId(String strPageId)
public String[] getPageLabels()
public String getPageTemplate(int iPageIndex)
public boolean loadPageGroup(URL urlPageGroup)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |