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
JTabbedPane
s.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns theString
representation of the given
, which should be aComponent
(or subclass.)JTabbedPane
private String
selectedTab
(JTabbedPane tabbedPane) private String[]
tabTitles
(JTabbedPane tabbedPane) Indicates that this formatter supports
only.JTabbedPane
Methods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Field Details
-
NO_SELECTION
- See Also:
-
-
Constructor Details
-
JTabbedPaneFormatter
public JTabbedPaneFormatter()
-
-
Method Details
-
doFormat
Returns theString
representation of the given
, which should be aComponent
(or subclass.)JTabbedPane
- Specified by:
doFormat
in classComponentFormatterTemplate
- Parameters:
c
- the givenComponent
.- Returns:
- the
String
representation of the givenJTabbedPane
.
-
selectedTab
-
tabTitles
-
targetType
Indicates that this formatter supports
only.JTabbedPane
- Returns:
JTabbedPane.class
.
-