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
JOptionPanes.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns theStringrepresentation of the given, which should be aComponent(or subclass.)JOptionPaneIndicates that this formatter supportsonly.JOptionPaneMethods inherited from class org.fest.swing.format.ComponentFormatterTemplate
format
-
Field Details
-
MESSAGE_TYPES
-
OPTION_TYPES
-
-
Constructor Details
-
JOptionPaneFormatter
public JOptionPaneFormatter()
-
-
Method Details
-
doFormat
Returns theStringrepresentation of the given, which should be aComponent(or subclass.)JOptionPane- Specified by:
doFormatin classComponentFormatterTemplate- Parameters:
c- the givenComponent.- Returns:
- the
Stringrepresentation of the givenJOptionPane.
-
targetType
Indicates that this formatter supportsonly.JOptionPane- Returns:
JOptionPane.class.
-