Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.RPGKeywordEntry
Direct Known Subclasses:
RPGDTAARAKeywordEntry, RPGKeywordComboEntry, RPGKeywordLCComboEntry, RPGKeywordLCTextEntry, RPGKeywordTextEntry

public abstract class RPGKeywordEntry
extends Object


Field Summary
protected  Composite cmp
           
static String copyright
           
protected  Button label
           
protected  ModifyListener listener
           
protected  String name
           
protected  Composite parent
           
 
Constructor Summary
RPGKeywordEntry(Composite parent, ModifyListener listener, String name)
           
 
Method Summary
abstract  void addModifyListener(ModifyListener listener)
           
 void addSelectionListener(SelectionListener listener)
           
 Control createEntry()
           
abstract  void createEntryContents()
           
 Composite getCmpEntry()
           
abstract  Control getControl()
           
 boolean getEnabled()
           
 Button getLabel()
           
 ModifyListener getListener()
           
 String getName()
           
 boolean getSelected()
           
abstract  String getText()
           
 void handleEvent(Event event)
           
 boolean isSrc(Object src)
           
 void setCmpEntry(Composite composite)
           
abstract  void setEnabled(boolean enabled)
           
abstract  void setFocus()
           
 void setLabel(Button btn)
           
 void setListener(ModifyListener listener)
           
 void setName(String string)
           
abstract  void setSelected(boolean selected)
           
abstract  void setTextLimit(int limit)
           
 
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

listener

protected ModifyListener listener

name

protected String name

label

protected Button label

parent

protected Composite parent

cmp

protected Composite cmp
Constructor Detail

RPGKeywordEntry

public RPGKeywordEntry(Composite parent,
                       ModifyListener listener,
                       String name)
Method Detail

createEntry

public Control createEntry()

createEntryContents

public abstract void createEntryContents()

getSelected

public boolean getSelected()

isSrc

public boolean isSrc(Object src)

setEnabled

public abstract void setEnabled(boolean enabled)

setFocus

public abstract void setFocus()

setSelected

public abstract void setSelected(boolean selected)

getText

public abstract String getText()

addModifyListener

public abstract void addModifyListener(ModifyListener listener)

setTextLimit

public abstract void setTextLimit(int limit)

getControl

public abstract Control getControl()

getLabel

public Button getLabel()
Returns:

addSelectionListener

public void addSelectionListener(SelectionListener listener)

getListener

public ModifyListener getListener()
Returns:

setLabel

public void setLabel(Button btn)
Parameters:
string -

setListener

public void setListener(ModifyListener listener)
Parameters:
listener -

getCmpEntry

public Composite getCmpEntry()
Returns:

getName

public String getName()
Returns:

getEnabled

public boolean getEnabled()

setCmpEntry

public void setCmpEntry(Composite composite)
Parameters:
composite -

setName

public void setName(String string)
Parameters:
string -

handleEvent

public void handleEvent(Event event)

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.