public class JOptionPaneFormatter extends ComponentFormatterTemplate
JOptionPanes.| Constructor and Description |
|---|
JOptionPaneFormatter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doFormat(Component c)
Returns the
String representation of the given Component, which should be a JOptionPane. |
Class<? extends Component> |
targetType()
Returns the type of AWT or Swing
Component this formatter supports. |
format@RunsInCurrentThread @Nonnull protected String doFormat(@Nonnull Component c)
String representation of the given Component, which should be a JOptionPane.doFormat in class ComponentFormatterTemplatec - the given Component.String representation of the given JOptionPane.@Nonnull public Class<? extends Component> targetType()
ComponentFormatterComponent this formatter supports.JOptionPane.class.Copyright © 2014 AssertJ. All rights reserved.