org.fest.swing.format
Class JTabbedPaneFormatter
java.lang.Object
org.fest.swing.format.ComponentFormatterTemplate
org.fest.swing.format.JTabbedPaneFormatter
- All Implemented Interfaces:
- ComponentFormatter
public class JTabbedPaneFormatter
- extends ComponentFormatterTemplate
Understands a formatter for JTabbedPane
s.
- Author:
- Alex Ruiz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTabbedPaneFormatter
public JTabbedPaneFormatter()
doFormat
protected String doFormat(Component c)
- Returns the
String
representation of the given Component
, which should be a
JTabbedPane
(or subclass.)
- Specified by:
doFormat
in class ComponentFormatterTemplate
- Parameters:
c
- the given Component
.
- Returns:
- the
String
representation of the given JTabbedPane
.
targetType
public Class<? extends Component> targetType()
- Indicates that this formatter supports
JTabbedPane
only.
- Returns:
JTabbedPane.class
.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.