org.fest.swing.format
Class JFileChooserFormatter
java.lang.Object
org.fest.swing.format.ComponentFormatterTemplate
org.fest.swing.format.JFileChooserFormatter
- All Implemented Interfaces:
- ComponentFormatter
public class JFileChooserFormatter
- extends ComponentFormatterTemplate
Understands a formatter for JFileChoosers.
- Author:
- Yvonne Wang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JFileChooserFormatter
public JFileChooserFormatter()
doFormat
protected String doFormat(Component c)
- Returns the
String representation of the given Component, which should be a
JFileChooser (or subclass.)
- Specified by:
doFormat in class ComponentFormatterTemplate
- Parameters:
c - the given Component.
- Returns:
- the
String representation of the given JFileChooser.
targetType
public Class<? extends Component> targetType()
- Indicates that this formatter supports
JFileChooser only.
- Returns:
JFileChooser.class.
Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.