Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.RPGKeywordEntry
      extended by com.ibm.etools.iseries.edit.wizards.RPGKeywordLCComboEntry

public class RPGKeywordLCComboEntry
extends RPGKeywordEntry


Field Summary
protected  RPGLCEntry 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
RPGKeywordLCComboEntry(Composite parent, ModifyListener listener, String name, boolean readOnly, String toolTipId, String specialChars)
           
 
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()
           
 boolean isFocusControl()
          indicates whether any control for this entry has focus
 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 setOverrideToggle(boolean value)
          used to override the logic which determines the toggle button enablement
 void setQuotesOn(boolean value)
          indicate whether quotes should be on or off for this control
 void setSelected(boolean selected)
           
 void setTextLimit(int limit)
           
 void setToggleEnabled(boolean value)
          use to set enablement of the toggle button
 void setTooltips(String[] tooltips)
           
 void setUseValidator(boolean value)
          indicate whether or not the control should automatically add quotes
 void setValidator(ISystemValidator validator)
          Set the validator to use for determining quotes
 
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 RPGLCEntry cmbEntry

toolTipId

protected String toolTipId

readOnly

protected boolean readOnly
Constructor Detail

RPGKeywordLCComboEntry

public RPGKeywordLCComboEntry(Composite parent,
                              ModifyListener listener,
                              String name,
                              boolean readOnly,
                              String toolTipId,
                              String specialChars)
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 -

isFocusControl

public boolean isFocusControl()
indicates whether any control for this entry has focus


setQuotesOn

public void setQuotesOn(boolean value)
indicate whether quotes should be on or off for this control

Parameters:
value - true if quotes are to be displayed, false otherwise.

setUseValidator

public void setUseValidator(boolean value)
indicate whether or not the control should automatically add quotes

Parameters:
value - true if the control should automaticall add quotes when needed, false otherwise

setValidator

public void setValidator(ISystemValidator validator)
Set the validator to use for determining quotes


setToggleEnabled

public void setToggleEnabled(boolean value)
use to set enablement of the toggle button

Parameters:
value - true if the toggle button should be always on, false if the button should be always off

setOverrideToggle

public void setOverrideToggle(boolean value)
used to override the logic which determines the toggle button enablement

Parameters:
value - true if the toggle logic is to be ignored, 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.