public class JOptionPaneFormatter extends ComponentFormatterTemplate
JOptionPane
s.Constructor and Description |
---|
JOptionPaneFormatter() |
Modifier and Type | Method and Description |
---|---|
protected String |
doFormat(Component c)
Returns the
String representation of the given , which should be a
(or subclass.) |
Class<? extends Component> |
targetType()
Indicates that this formatter supports
only. |
format
protected String doFormat(Component c)
String
representation of the given Component
, which should be a
JOptionPane
(or subclass.)doFormat
in class ComponentFormatterTemplate
c
- the given Component
.String
representation of the given JOptionPane
.public Class<? extends Component> targetType()
JOptionPane
only.JOptionPane.class
.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.