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 Component , which should be a JOptionPane . |
Class<? extends Component> |
targetType()
Returns the type of AWT or Swing
Component this formatter supports. |
format, getRealClassName
@RunsInCurrentThread @Nonnull protected String doFormat(@Nonnull Component c)
String
representation of the given Component
, which should be a JOptionPane
.doFormat
in class ComponentFormatterTemplate
c
- the given Component
.String
representation of the given JOptionPane
.@Nonnull public Class<? extends Component> targetType()
ComponentFormatter
Component
this formatter supports.JOptionPane.class
.Copyright © 2014–2019 AssertJ. All rights reserved.