Package org.fest.swing.format
Class JTabbedPaneFormatter
java.lang.Object
org.fest.swing.format.ComponentFormatterTemplate
org.fest.swing.format.JTabbedPaneFormatter
- All Implemented Interfaces:
ComponentFormatter
Understands a formatter for
JTabbedPanes.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns theStringrepresentation of the given, which should be aComponent(or subclass.)JTabbedPaneprivate StringselectedTab(JTabbedPane tabbedPane) private String[]tabTitles(JTabbedPane tabbedPane) Indicates that this formatter supportsonly.JTabbedPaneMethods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Field Details
-
NO_SELECTION
- See Also:
-
-
Constructor Details
-
JTabbedPaneFormatter
public JTabbedPaneFormatter()
-
-
Method Details
-
doFormat
Returns theStringrepresentation of the given, which should be aComponent(or subclass.)JTabbedPane- Specified by:
doFormatin classComponentFormatterTemplate- Parameters:
c- the givenComponent.- Returns:
- the
Stringrepresentation of the givenJTabbedPane.
-
selectedTab
-
tabTitles
-
targetType
Indicates that this formatter supportsonly.JTabbedPane- Returns:
JTabbedPane.class.
-