public class JFileChooserFormatter extends ComponentFormatterTemplate
JFileChooser
s.Constructor and Description |
---|
JFileChooserFormatter() |
Modifier and Type | Method and Description |
---|---|
protected String |
doFormat(Component c)
Returns the
String representation of the given Component , which should be a JFileChooser . |
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 JFileChooser
.doFormat
in class ComponentFormatterTemplate
c
- the given Component
.String
representation of the given JFileChooser
.@Nonnull public Class<? extends Component> targetType()
ComponentFormatter
Component
this formatter supports.JFileChooser.class
.Copyright © 2014-2015 AssertJ. All Rights Reserved.