|
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.Objectjavax.swing.plaf.basic.BasicComboBoxEditor
javax.swing.plaf.metal.MetalComboBoxEditor
com.ibm.etools.iseries.ui.MetalFormattedComboBoxEditor
public class MetalFormattedComboBoxEditor
MetalFormattedComboBoxEditor extends javax.swing.plaf.metal.MetalComboBoxEditor and implements FormattedComboBoxEditor. It sets JFormattedTextField as the editor of a ComboBox. The MetalFormattedComboBoxEditor is used by com.ibm.etools.iseries.ui.JFormattedComboBox for a metal platform.
FormattedComboBoxEditor,
BasicFormattedComboBoxEditor| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalComboBoxEditor |
|---|
MetalComboBoxEditor.UIResource |
| Field Summary | |
|---|---|
static String |
Copyright
|
protected JFormattedTextField |
textFieldEditor
|
| Fields inherited from class javax.swing.plaf.metal.MetalComboBoxEditor |
|---|
editorBorderInsets |
| Fields inherited from class javax.swing.plaf.basic.BasicComboBoxEditor |
|---|
editor |
| Fields inherited from interface com.ibm.etools.iseries.ui.FormattedComboBoxEditor |
|---|
copyright |
| Constructor Summary | |
|---|---|
MetalFormattedComboBoxEditor()
Constructs a new MetalComboBoxFormattedEditor. |
|
MetalFormattedComboBoxEditor(FieldModel fm)
Constructs a new MetalComboBoxFormattedEditor 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 MetalFormattedComboBoxEditor()
public MetalFormattedComboBoxEditor(FieldModel fm)
fm - et400.util.FieldModel| Method Detail |
|---|
public void addActionListener(ActionListener l)
addActionListener in interface ComboBoxEditoraddActionListener in class BasicComboBoxEditorl - java.awt.event.ActionListenerpublic static String Copyright()
public void focusGained(FocusEvent e)
focusGained in interface FocusListenerfocusGained in class BasicComboBoxEditore - java.awt.event.FocusEventpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerfocusLost in class BasicComboBoxEditore - java.awt.event.FocusEventpublic Color getBackgroundColor()
public Component getEditorComponent()
getEditorComponent in interface ComboBoxEditorgetEditorComponent in class BasicComboBoxEditorpublic Color getForegroundColor()
public Object getItem()
getItem in interface ComboBoxEditorgetItem in class BasicComboBoxEditorpublic void removeActionListener(ActionListener l)
removeActionListener in interface ComboBoxEditorremoveActionListener in class BasicComboBoxEditorl - java.awt.event.ActionListenerpublic void selectAll()
selectAll in interface ComboBoxEditorselectAll in class BasicComboBoxEditorpublic void setBackgroundColor(Color c)
c - java.awt.Colorpublic void setFieldModel(FieldModel fm)
setFieldModel in interface FormattedComboBoxEditorfm - et400.util.FieldModelpublic void setForegroundColor(Color c)
c - java.awt.Colorpublic void setItem(Object anObject)
setItem in interface ComboBoxEditorsetItem in class BasicComboBoxEditoranObject - java.lang.Object
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||