Bean JFormattedComboBox

JFormattedComboBox zeigt das gleiche Verhalten wie Swing-JComboBox. Es kombiniert ein JFormattedTextField und mehrere Beans JFormattedLabel. Der editierbare Teil von JFormattedComboBox ist ein JFormattedTextField, und die Dropdown-Liste besteht aus vielen Zellen von JFormattedLabel-Beans. Obwohl der editierbare Teil ein JFormattedTextField ist, unterstützt JFormattedComboBox keine Editiermaske.

Auf dem IBM i-Server beschränkt das Feature VALUES das Feld auf vordefinierte Werte. Sie können JFormattedComboBox verwenden, um das Feature VALUES zu implementieren.

Weitere Informationen zur Swing-Architektur stehen auf folgender Website zur Verfügung:

http://java.sun.com/products/jfc/tsc/articles/architecture/index.html

Zugehörige Verweise
JFormatted-Beans
JFormatted-Beans - FieldModel
Bean JFormattedComboBoxCellEditor
Bean JFormattedTextField
Bean JFormattedLabel
DefaultFieldModel
AS400FieldModel
Zugehörige Informationen
JFormattedComboBox

Feedback