|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.format.Formatting
public class Formatting
Understands utility methods related to formatting.
| Method Summary | |
|---|---|
static String |
format(Component c)
Returns a String representation of the given . |
static String |
inEdtFormat(Component c)
Returns a String representation of the given . |
static void |
register(ComponentFormatter formatter)
Registers the given formatter, replacing any other one previously registered for the same supported component type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void register(ComponentFormatter formatter)
formatter - the formatter to register.@RunsInEDT public static String inEdtFormat(Component c)
String representation of the given Component. This method is invoked in
the event dispatch thread.
c - the given Component.
String representation of the given Component.@RunsInCurrentThread public static String format(Component c)
String representation of the given Component.
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
c - the given Component.
String representation of the given Component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||