Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.RPGKeywordEntry
      extended by com.ibm.etools.iseries.edit.wizards.RPGKeywordComboEntry
Direct Known Subclasses:
RPGKeywordTextComboEntry

public class RPGKeywordComboEntry
extends RPGKeywordEntry


Field Summary
protected  Combo cmbEntry
           
static String copyright
           
protected  boolean readOnly
           
protected  String toolTipId
           
 
Fields inherited from class com.ibm.etools.iseries.edit.wizards.RPGKeywordEntry
cmp, label, listener, name, parent
 
Constructor Summary
RPGKeywordComboEntry(Composite parent, ModifyListener listener, String name, boolean readOnly, String toolTipId)
           
 
Method Summary
 void addComboSelectionListener(SelectionListener listener)
           
 void addModifyListener()
           
 void addModifyListener(ModifyListener listener)
           
 void addSelectionListener(SelectionListener listener)
           
 void createEntryContents()
           
 Control getControl()
           
 String getItem(int idx)
           
 ModifyListener getModifyListener()
           
 int getSelectionIndex()
           
 String getText()
           
 void removeModifyListener()
           
 void setComboText(int idx)
           
 void setComboText(String text)
           
 void setEnabled(boolean enabled)
           
 void setEntryReadOnly(boolean readOnly)
           
 void setFocus()
           
 void setItems(String[] items)
           
 void setSelected(boolean selected)
           
 void setTextLimit(int limit)
           
 void setTooltips(String[] tooltips)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.RPGKeywordEntry
createEntry, getCmpEntry, getEnabled, getLabel, getListener, getName, getSelected, handleEvent, isSrc, setCmpEntry, setLabel, setListener, setName
 
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

cmbEntry

protected Combo cmbEntry

toolTipId

protected String toolTipId

readOnly

protected boolean readOnly
Constructor Detail

RPGKeywordComboEntry

public RPGKeywordComboEntry(Composite parent,
                            ModifyListener listener,
                            String name,
                            boolean readOnly,
                            String toolTipId)
Method Detail

createEntryContents

public void createEntryContents()
Specified by:
createEntryContents in class RPGKeywordEntry
See Also:
com.ibm.etools.iseries.editor.wizards.RPGKeywordEntry#createEntryContents

addModifyListener

public void addModifyListener()

addSelectionListener

public void addSelectionListener(SelectionListener listener)
Overrides:
addSelectionListener in class RPGKeywordEntry

setEntryReadOnly

public void setEntryReadOnly(boolean readOnly)

setItems

public void setItems(String[] items)

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in class RPGKeywordEntry

setSelected

public void setSelected(boolean selected)
Specified by:
setSelected in class RPGKeywordEntry

addModifyListener

public void addModifyListener(ModifyListener listener)
Specified by:
addModifyListener in class RPGKeywordEntry

setFocus

public void setFocus()
Specified by:
setFocus in class RPGKeywordEntry

getText

public String getText()
Specified by:
getText in class RPGKeywordEntry

addComboSelectionListener

public void addComboSelectionListener(SelectionListener listener)

getItem

public String getItem(int idx)

setComboText

public void setComboText(String text)

setComboText

public void setComboText(int idx)

getSelectionIndex

public int getSelectionIndex()
Returns:

setTextLimit

public void setTextLimit(int limit)
Specified by:
setTextLimit in class RPGKeywordEntry

getControl

public Control getControl()
Specified by:
getControl in class RPGKeywordEntry

getModifyListener

public ModifyListener getModifyListener()

removeModifyListener

public void removeModifyListener()

setTooltips

public void setTooltips(String[] tooltips)
Parameters:
strings -

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.