public interface ComponentFormatter
String representation of a given AWT or Swing Component.| Modifier and Type | Method and Description |
|---|---|
String |
format(Component c)
Returns a
String representation of the given AWT or Swing Component. |
Class<? extends Component> |
targetType()
Returns the type of AWT or Swing
Component this formatter supports. |
@RunsInCurrentThread @Nonnull String format(@Nonnull Component c)
String representation of the given AWT or Swing Component.c - the given Component.String representation of the given Component.Copyright © 2014–2019 AssertJ. All rights reserved.