|
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.edit.wizards.RPGFieldTypeBasePane
public class RPGFieldTypeBasePane
Field Summary | |
---|---|
protected Label |
arrayLbl
|
protected Button |
btnCcsid
|
protected Button |
btnDS
|
protected Button |
btnFld
|
protected Button |
btnLike
|
protected Button |
btnRec
|
protected Label |
ccsidNbr
|
protected Label |
classLbl
|
protected Combo |
cmbType
|
protected Composite |
cmpDatTimPtr
|
protected Composite |
cmpLike
|
protected Composite |
cmpType
|
protected ValidatorConstantName |
constValidator
|
protected Object |
container
|
static String |
Copyright
|
protected RPGDateTimePane |
dateTimePane
|
protected Label |
decimalsLbl
|
protected Label |
dRangeLbl
|
protected SystemMessage |
errorMessage
|
protected boolean |
exportable
|
protected RPGFieldType |
field
|
protected Composite |
grpAttributes
|
protected Group |
grpLike
|
protected Group |
grpSpecify
|
protected boolean |
hasCcsid
|
protected int |
idx
|
protected boolean |
initializing
|
protected boolean |
isArray
|
protected boolean |
isForParam
|
protected boolean |
isLike
|
protected int |
lastIdx
|
protected Label |
lengthLbl
|
protected boolean |
likeOnly
|
protected Label |
lRangeLbl
|
protected ValidatorFieldType |
nameValidator
|
protected Text |
txtArray
|
protected Text |
txtCcsid
|
protected RPGLCEntry |
txtClass
|
protected Text |
txtDecimals
|
protected Text |
txtLength
|
protected Text |
txtLike
|
protected Label |
typeLbl
|
Constructor Summary | |
---|---|
RPGFieldTypeBasePane(Object container)
Creates the pane for the RPG field type. |
Method Summary | |
---|---|
protected void |
addClassEntry()
|
SystemMessage |
checkError(boolean setFocus,
Control skip)
|
protected void |
clearErrorMessage(Object container)
|
Control |
createContents(Composite parent)
(non-Javadoc) Method declared on IDialogPage. |
protected void |
createLikeRadioButtons(Composite grpLike)
|
protected SystemMessage |
doAdditionalValidation(boolean doSetFocus)
Overridable extension point for subclasses to do validation of options If you do report an error, consider setting the focus to the appropriate widget, if setFocus is set. |
protected void |
enableKeywords(boolean enable)
|
boolean |
finish()
|
protected void |
generateOtherKeywds()
|
void |
generateRPGFieldType()
|
int |
getCurrentIndex()
|
char |
getCurrentType()
|
protected Control |
getInitialFocusControl()
|
Object |
getOutputObject()
|
Vector |
getSelectedKeywords()
|
void |
handleEvent(Event e)
|
boolean |
isCharacterField()
|
boolean |
isDataStructure()
|
boolean |
isLikeAnotherField()
|
boolean |
isPageComplete()
|
void |
modifyText(ModifyEvent e)
|
boolean |
performFinish()
|
void |
populateFieldType(RPGFieldType field)
|
protected void |
prepareKeywords()
|
protected void |
setArrayFlag(String text)
|
protected void |
setCmbTypeItems()
|
void |
setEnabled(boolean enabled)
|
protected void |
setErrorMessage(Object container,
SystemMessage errorMessage)
|
void |
setExportable(boolean isExportable,
boolean doValidate)
|
void |
setInputObject(Object inputObject)
|
protected void |
setIsArray()
|
void |
setLengthValue(int length)
|
protected void |
setLikeGroupEnabled(boolean state)
|
protected void |
setLikeOnly(boolean likeonly)
|
protected void |
setPageComplete(Object container)
|
void |
setSelectedKeywords(Vector keywds)
|
protected void |
update()
Update contents of the container, and sets the page to complete |
protected void |
updateContainer(Object container)
|
protected void |
updateContainer(Object container,
boolean clearKeywordList)
|
protected void |
updateKeywords()
|
protected void |
updateKeywords(boolean enable)
|
protected void |
updateKeywords(Object src)
|
SystemMessage |
validateInput(boolean setFocus,
Control skipControl)
Check all input for errors. |
protected SystemMessage |
validateTxtArray(String text)
|
void |
widgetDefaultSelected(SelectionEvent e)
|
void |
widgetSelected(SelectionEvent e)
|
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 RPGFieldType field
protected ValidatorFieldType nameValidator
protected ValidatorConstantName constValidator
protected SystemMessage errorMessage
protected boolean isLike
protected boolean isArray
protected boolean hasCcsid
protected boolean exportable
protected boolean initializing
protected boolean isForParam
protected boolean likeOnly
protected int lastIdx
protected int idx
protected Object container
protected Label typeLbl
protected Label lengthLbl
protected Label lRangeLbl
protected Label decimalsLbl
protected Label dRangeLbl
protected Label arrayLbl
protected Label classLbl
protected Label ccsidNbr
protected Group grpLike
protected Group grpSpecify
protected Composite grpAttributes
protected Composite cmpLike
protected Composite cmpType
protected Composite cmpDatTimPtr
protected Button btnLike
protected Button btnFld
protected Button btnDS
protected Button btnRec
protected Button btnCcsid
protected Combo cmbType
protected Text txtLike
protected Text txtLength
protected Text txtDecimals
protected Text txtArray
protected Text txtCcsid
protected RPGLCEntry txtClass
protected RPGDateTimePane dateTimePane
Constructor Detail |
---|
public RPGFieldTypeBasePane(Object container)
container
- the container that contains this paneMethod Detail |
---|
public Control createContents(Composite parent)
protected void createLikeRadioButtons(Composite grpLike)
protected void setCmbTypeItems()
protected void addClassEntry()
public boolean isLikeAnotherField()
public boolean isPageComplete()
protected SystemMessage doAdditionalValidation(boolean doSetFocus)
public boolean finish()
public void handleEvent(Event e)
public void widgetDefaultSelected(SelectionEvent e)
public void widgetSelected(SelectionEvent e)
protected void setLikeGroupEnabled(boolean state)
public void setLengthValue(int length)
protected void setIsArray()
protected Control getInitialFocusControl()
public boolean performFinish()
public Object getOutputObject()
public char getCurrentType()
public int getCurrentIndex()
public void generateRPGFieldType()
public void setInputObject(Object inputObject)
public void populateFieldType(RPGFieldType field)
protected void generateOtherKeywds()
protected void updateKeywords(boolean enable)
protected void enableKeywords(boolean enable)
public Vector getSelectedKeywords()
public void setSelectedKeywords(Vector keywds)
protected void prepareKeywords()
protected void updateKeywords(Object src)
protected void updateKeywords()
public void modifyText(ModifyEvent e)
protected void updateContainer(Object container)
protected void updateContainer(Object container, boolean clearKeywordList)
protected void update()
protected void setErrorMessage(Object container, SystemMessage errorMessage)
public void setExportable(boolean isExportable, boolean doValidate)
public void setEnabled(boolean enabled)
protected void setLikeOnly(boolean likeonly)
protected void clearErrorMessage(Object container)
protected void setPageComplete(Object container)
protected void setArrayFlag(String text)
public final SystemMessage validateInput(boolean setFocus, Control skipControl)
setFocus
- - true if to set focus on offending controlskipControl
- - control to skip since already checked
public SystemMessage checkError(boolean setFocus, Control skip)
protected SystemMessage validateTxtArray(String text)
public boolean isCharacterField()
public boolean isDataStructure()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |