Package org.fest.swing.format
Class JListFormatter
java.lang.Object
org.fest.swing.format.ComponentFormatterTemplate
org.fest.swing.format.JListFormatter
- All Implemented Interfaces:
ComponentFormatter
Understands a formatter for
JList
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object[]
contentsOf
(JList list) protected String
Indicates that this formatter supports
only.JList
Methods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Constructor Details
-
JListFormatter
public JListFormatter()
-
-
Method Details
-
doFormat
- Specified by:
doFormat
in classComponentFormatterTemplate
- Parameters:
c
- the givenComponent
.- Returns:
- the
String
representation of the givenJList
.
-
contentsOf
-
targetType
Indicates that this formatter supports
only.JList
- Returns:
JList.class
.
-