Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.ui
Class AbstractFormattedComboBoxEditor

java.lang.Object
  extended by com.ibm.etools.iseries.ui.AbstractFormattedComboBoxEditor
All Implemented Interfaces:
ComboBoxEditor

public abstract class AbstractFormattedComboBoxEditor
extends Object
implements ComboBoxEditor

An implementation of the ComboBoxEditor to serve as a basis for implementing various editors for different platforms, particularly for JFormattedComboBox.

See Also:
BasicFormattedComboBoxEditor, MetalFormattedComboBoxEditor

Field Summary
static String Copyright
           
 
Constructor Summary
AbstractFormattedComboBoxEditor()
          Constructs a new AbstractFormattedComboBoxEditor.
 
Method Summary
abstract  void addActionListener(ActionListener l)
          Add an ActionListener.
static String Copyright()
          This method returns the copyright notice for this class.
abstract  Component getEditorComponent()
          Return the component that should be added to the tree hierarchy for this editor.
abstract  Object getItem()
          Return the edited item
abstract  void removeActionListener(ActionListener l)
          Remove an ActionListener
abstract  void selectAll()
          Ask the editor to start editing and to select everything
abstract  void setFieldModel(FieldModel fm)
          Set the FieldModel used by the editor.
abstract  void setItem(Object anObject)
          Set the item that should be edited.
 
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
Constructor Detail

AbstractFormattedComboBoxEditor

public AbstractFormattedComboBoxEditor()
Constructs a new AbstractFormattedComboBoxEditor.

Method Detail

addActionListener

public abstract void addActionListener(ActionListener l)
Add an ActionListener.

Specified by:
addActionListener in interface ComboBoxEditor
Parameters:
l - java.awt.event.ActionListener

Copyright

public static String Copyright()
This method returns the copyright notice for this class.

Returns:
java.lang.String

getEditorComponent

public abstract Component getEditorComponent()
Return the component that should be added to the tree hierarchy for this editor.

Specified by:
getEditorComponent in interface ComboBoxEditor

getItem

public abstract Object getItem()
Return the edited item

Specified by:
getItem in interface ComboBoxEditor

removeActionListener

public abstract void removeActionListener(ActionListener l)
Remove an ActionListener

Specified by:
removeActionListener in interface ComboBoxEditor
Parameters:
l - java.awt.event.ActionListener

selectAll

public abstract void selectAll()
Ask the editor to start editing and to select everything

Specified by:
selectAll in interface ComboBoxEditor

setFieldModel

public abstract void setFieldModel(FieldModel fm)
Set the FieldModel used by the editor.

Parameters:
fm - com.ibm.etools.iseries.ui.FieldModel

setItem

public abstract void setItem(Object anObject)
Set the item that should be edited.

Specified by:
setItem in interface ComboBoxEditor
Parameters:
anObject - Object

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.