Package org.fest.swing.format
Class JOptionPaneFormatter
java.lang.Object
org.fest.swing.format.ComponentFormatterTemplate
org.fest.swing.format.JOptionPaneFormatter
- All Implemented Interfaces:
ComponentFormatter
Understands a formatter for
JOptionPane
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.)JOptionPane
Indicates that this formatter supports
only.JOptionPane
Methods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Field Details
-
MESSAGE_TYPES
-
OPTION_TYPES
-
-
Constructor Details
-
JOptionPaneFormatter
public JOptionPaneFormatter()
-
-
Method Details
-
doFormat
Returns theString
representation of the given
, which should be aComponent
(or subclass.)JOptionPane
- Specified by:
doFormat
in classComponentFormatterTemplate
- Parameters:
c
- the givenComponent
.- Returns:
- the
String
representation of the givenJOptionPane
.
-
targetType
Indicates that this formatter supports
only.JOptionPane
- Returns:
JOptionPane.class
.
-