|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.plaf.basic.BasicComboBoxEditor com.ibm.etools.iseries.ui.BasicFormattedComboBoxEditor
public class BasicFormattedComboBoxEditor
BasicFormattedComboBoxEditor extends javax.swing.plaf.basic.BasicComboBoxEditor and implements FormattedComboBoxEditor. It sets JFormattedTextField as the editor of a ComboBox. BasicFormattedComboBoxEditor is for a basic platform.
FormattedComboBoxEditor
,
MetalFormattedComboBoxEditor
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxEditor |
---|
BasicComboBoxEditor.UIResource |
Field Summary | |
---|---|
static String |
Copyright
|
protected JFormattedTextField |
textFieldEditor
|
Fields inherited from class javax.swing.plaf.basic.BasicComboBoxEditor |
---|
editor |
Fields inherited from interface com.ibm.etools.iseries.ui.FormattedComboBoxEditor |
---|
copyright |
Constructor Summary | |
---|---|
BasicFormattedComboBoxEditor()
Constructs a new BasicComboBoxFormattedEditor. |
|
BasicFormattedComboBoxEditor(FieldModel fm)
Constructs a new BasicComboBoxFormattedEditor with the specified FieldModel used by the editor. |
Method Summary | |
---|---|
void |
addActionListener(ActionListener l)
Adds an ActionListener. |
static String |
Copyright()
This method returns the copyright notice for this class. |
void |
focusGained(FocusEvent e)
Process this method when focus is gained on the editor. |
void |
focusLost(FocusEvent e)
Process this when focus is lost on the editor. |
Color |
getBackgroundColor()
Returns the background color of the editor. |
Component |
getEditorComponent()
Return the component that should be added to the tree hierarchy for this editor |
Color |
getForegroundColor()
Return the foreground color of the editor. |
Object |
getItem()
Return the edited item |
void |
removeActionListener(ActionListener l)
Remove an ActionListener |
void |
selectAll()
Ask the editor to start editing and to select everything |
void |
setBackgroundColor(Color c)
Return the background color of the editor. |
void |
setFieldModel(FieldModel fm)
Return the FieldModel of the editor. |
void |
setForegroundColor(Color c)
Return the foreground color of the editor. |
void |
setItem(Object anObject)
Set the item that should be edited. |
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxEditor |
---|
createEditorComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
protected JFormattedTextField textFieldEditor
Constructor Detail |
---|
public BasicFormattedComboBoxEditor()
public BasicFormattedComboBoxEditor(FieldModel fm)
fm
- com.ibm.etools.iseries.ui.FieldModelMethod Detail |
---|
public void addActionListener(ActionListener l)
addActionListener
in interface ComboBoxEditor
addActionListener
in class BasicComboBoxEditor
l
- java.awt.event.ActionListenerpublic static String Copyright()
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
focusGained
in class BasicComboBoxEditor
e
- java.awt.event.FocusEventpublic void focusLost(FocusEvent e)
focusLost
in interface FocusListener
focusLost
in class BasicComboBoxEditor
e
- java.awt.event.FocusEventpublic Color getBackgroundColor()
setBackgroundColor(java.awt.Color)
public Component getEditorComponent()
getEditorComponent
in interface ComboBoxEditor
getEditorComponent
in class BasicComboBoxEditor
public Color getForegroundColor()
setForegroundColor(java.awt.Color)
public Object getItem()
getItem
in interface ComboBoxEditor
getItem
in class BasicComboBoxEditor
setItem(java.lang.Object)
public void removeActionListener(ActionListener l)
removeActionListener
in interface ComboBoxEditor
removeActionListener
in class BasicComboBoxEditor
l
- java.awt.event.ActionListenerpublic void selectAll()
selectAll
in interface ComboBoxEditor
selectAll
in class BasicComboBoxEditor
public void setBackgroundColor(Color c)
c
- java.awt.ColorgetBackgroundColor()
public void setFieldModel(FieldModel fm)
setFieldModel
in interface FormattedComboBoxEditor
fm
- com.ibm.etools.iseries.ui.FieldModelpublic void setForegroundColor(Color c)
c
- java.awt.ColorgetForegroundColor()
public void setItem(Object anObject)
setItem
in interface ComboBoxEditor
setItem
in class BasicComboBoxEditor
anObject
- java.lang.ObjectgetItem()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |