public class JTreeFormatter extends ComponentFormatterTemplate
JTree
s.Constructor and Description |
---|
JTreeFormatter() |
Modifier and Type | Method and Description |
---|---|
protected String |
doFormat(Component c)
Returns the
String representation of the given Component , which should be a JTree (or
subclass). |
Class<? extends Component> |
targetType()
Returns the type of AWT or Swing
Component this formatter supports. |
format, getRealClassName
@Nonnull protected String doFormat(@Nonnull Component c)
String
representation of the given Component
, which should be a JTree
(or
subclass).doFormat
in class ComponentFormatterTemplate
c
- the given Component
.String
representation of the given JTree
.@Nonnull public Class<? extends Component> targetType()
ComponentFormatter
Component
this formatter supports.JTree.class
.Copyright © 2014–2019 AssertJ. All rights reserved.