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
JLists.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object[]contentsOf(JList list) protected StringIndicates that this formatter supportsonly.JListMethods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Constructor Details
-
JListFormatter
public JListFormatter()
-
-
Method Details
-
doFormat
- Specified by:
doFormatin classComponentFormatterTemplate- Parameters:
c- the givenComponent.- Returns:
- the
Stringrepresentation of the givenJList.
-
contentsOf
-
targetType
Indicates that this formatter supportsonly.JList- Returns:
JList.class.
-