org.fest.swing.edt
Class GuiLazyLoadingDescription
java.lang.Object
org.fest.swing.edt.GuiLazyLoadingDescription
- All Implemented Interfaces:
- org.fest.assertions.Description
public abstract class GuiLazyLoadingDescription
- extends Object
- implements org.fest.assertions.Description
Understands a Description
that loads the text to return in the event dispatch thread.
- Author:
- Alex Ruiz, Yvonne Wang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiLazyLoadingDescription
public GuiLazyLoadingDescription()
value
public final String value()
- Executes
loadDescription()
in the event dispatch thread.
- Specified by:
value
in interface org.fest.assertions.Description
- Returns:
- the text loaded in the event dispatch thread.
loadDescription
@RunsInCurrentThread
protected abstract String loadDescription()
- Returns the lazy-loaded text of this description.
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.
- Returns:
- the lazy-loaded text of this description.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.