public class JListFormatter extends ComponentFormatterTemplate
JLists.| Constructor and Description |
|---|
JListFormatter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doFormat(Component c)
Returns the
String representation of the given Component, which should be a JList. |
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 JList.doFormat in class ComponentFormatterTemplatec - the given Component.String representation of the given JList.@Nonnull public Class<? extends Component> targetType()
ComponentFormatterComponent this formatter supports.JList.class.Copyright © 2014 AssertJ. All rights reserved.