Package org.fest.swing.format
Class JComboBoxFormatter
java.lang.Object
org.fest.swing.format.ComponentFormatterTemplate
org.fest.swing.format.JComboBoxFormatter
- All Implemented Interfaces:
ComponentFormatter
Understands a formatter for
JComboBox
es.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object[]
contentsOf
(JComboBox comboBox) protected String
Indicates that this formatter supports
only.JComboBox
Methods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Constructor Details
-
JComboBoxFormatter
public JComboBoxFormatter()
-
-
Method Details
-
doFormat
Returns theString
representation of the given
, which should be aComponent
(or subclass.)JComboBox
- Specified by:
doFormat
in classComponentFormatterTemplate
- Parameters:
c
- the givenComponent
.- Returns:
- the
String
representation of the givenJComboBox
.
-
contentsOf
-
targetType
Indicates that this formatter supports
only.JComboBox
- Returns:
JComboBox.class
.
-