Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.wizards
Class RPGDSpecSimpleSubfieldKeywordsPane

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
      extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecSimpleSubfieldKeywordsPane

public class RPGDSpecSimpleSubfieldKeywordsPane
extends RPGDSpecKeywordBasePane


Field Summary
static String copyright
           
protected  Label dtaaraLbl
           
protected  RPGFieldType field
           
protected  Vector kwds
           
protected  Button nextOverlayBtn
           
protected  Button overlayBtn
           
protected  Label overlayLbl
           
protected  ValidatorFieldType overVld
           
protected  Label positionLbl
           
protected  ValidatorFieldType posVld
           
protected  boolean specialDS
           
protected  RPGDTAARAKeywordEntry txtDtaara
           
protected  Text txtOverlay
           
protected  Text txtPosition
           
 
Fields inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
container, errorMessage, selects
 
Constructor Summary
RPGDSpecSimpleSubfieldKeywordsPane(Object container)
          Constructor
 
Method Summary
 SystemMessage checkError(Control skip, boolean setFocus)
           
 Control createContents(Composite parent)
           
 void generateSFKeyword()
           
 String getDsName()
           
 RPGDSpecSubfieldKeywords getKeyword()
           
 Vector getKwds()
           
 Vector getNames()
           
 RPGDSpecSubfieldKeywords getSubfieldKeywords()
           
 void handleEvent(Event event)
           
protected  void initValidators()
           
 boolean isDATAARASelected()
          returned whether or not DTAARA is selected
 boolean isPacked()
           
 boolean isSpecialDS()
           
 void modifyText(ModifyEvent e)
           
 void populateSFKeyword(RPGDSpecSubfieldKeywords kwd)
           
 void setDsName(String string)
           
 void setDTAARAEnabled(boolean value)
          enables/disables the DTAARA keyword
 void setField(RPGFieldType field)
           
 void setKeyword(RPGDSpecSubfieldKeywords keywords)
           
 void setKwds(Vector vector)
           
 void setNames(Vector vector)
           
 void setPacked(boolean b)
           
 void setSpecialDS(boolean b)
           
 SystemMessage validateCurProc()
           
 void validatePane(Control skip, boolean setFocus)
           
 SystemMessage validatePane(RPGKeywordEntry skip, boolean setFocus)
           
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
clearErrorMessage, getContainer, getSelections, initSelections, isPaneComplete, isSelected, setEnabled, setErrorMessage, setFocus, updateContainerKeywords
 
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

kwds

protected Vector kwds

specialDS

protected boolean specialDS

field

protected RPGFieldType field

overlayBtn

protected Button overlayBtn

nextOverlayBtn

protected Button nextOverlayBtn

txtOverlay

protected Text txtOverlay

txtPosition

protected Text txtPosition

dtaaraLbl

protected Label dtaaraLbl

overlayLbl

protected Label overlayLbl

positionLbl

protected Label positionLbl

overVld

protected ValidatorFieldType overVld

posVld

protected ValidatorFieldType posVld

txtDtaara

protected RPGDTAARAKeywordEntry txtDtaara
Constructor Detail

RPGDSpecSimpleSubfieldKeywordsPane

public RPGDSpecSimpleSubfieldKeywordsPane(Object container)
Constructor

Method Detail

initValidators

protected void initValidators()
Overrides:
initValidators in class RPGDSpecKeywordBasePane

createContents

public Control createContents(Composite parent)

widgetSelected

public void widgetSelected(SelectionEvent e)

validatePane

public SystemMessage validatePane(RPGKeywordEntry skip,
                                  boolean setFocus)
Overrides:
validatePane in class RPGDSpecKeywordBasePane

generateSFKeyword

public void generateSFKeyword()

getSubfieldKeywords

public RPGDSpecSubfieldKeywords getSubfieldKeywords()

getKwds

public Vector getKwds()
Returns:
the vector of keywords generated by this pane.

setKwds

public void setKwds(Vector vector)
Parameters:
vector -

getKeyword

public RPGDSpecSubfieldKeywords getKeyword()
Returns:

isSpecialDS

public boolean isSpecialDS()
Returns:

setKeyword

public void setKeyword(RPGDSpecSubfieldKeywords keywords)
Parameters:
keywords -

setSpecialDS

public void setSpecialDS(boolean b)
Parameters:
b -

setField

public void setField(RPGFieldType field)
Parameters:
field -

modifyText

public void modifyText(ModifyEvent e)

validatePane

public void validatePane(Control skip,
                         boolean setFocus)
Overrides:
validatePane in class RPGDSpecKeywordBasePane

checkError

public SystemMessage checkError(Control skip,
                                boolean setFocus)
Overrides:
checkError in class RPGDSpecKeywordBasePane

isPacked

public boolean isPacked()
Returns:
if the subfield is packed.

setPacked

public void setPacked(boolean b)
Parameters:
b -

populateSFKeyword

public void populateSFKeyword(RPGDSpecSubfieldKeywords kwd)
Overrides:
populateSFKeyword in class RPGDSpecKeywordBasePane

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

handleEvent

public void handleEvent(Event event)

getDsName

public String getDsName()
Returns:

getNames

public Vector getNames()
Returns:

setDsName

public void setDsName(String string)
Parameters:
string -

setNames

public void setNames(Vector vector)
Parameters:
vector -

validateCurProc

public SystemMessage validateCurProc()
Returns:

setDTAARAEnabled

public void setDTAARAEnabled(boolean value)
enables/disables the DTAARA keyword

Parameters:
value - true if DTAARA is to be enabled, false otherwise

isDATAARASelected

public boolean isDATAARASelected()
returned whether or not DTAARA is selected

Returns:
true if DTARA is enabled and selected, false otherwise

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.