|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.driver.ComponentStateValidator
public final class ComponentStateValidator
Understands validation of the state of a
.
Component
Method Summary | |
---|---|
static IllegalStateException |
componentNotShowingOnScreenFailure(Component c)
Throws a when a is not showing on the
screen. |
static void |
validateIsEnabled(Component c)
Asserts that the is enabled. |
static void |
validateIsEnabledAndShowing(Component c)
Asserts that the is enabled and showing. |
static void |
validateIsShowing(Component c)
Asserts that the is showing on the screen. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@RunsInCurrentThread public static void validateIsEnabledAndShowing(Component c)
Component
is enabled and showing.
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 target component.
IllegalStateException
- if the Component
is disabled.
IllegalStateException
- if the Component
is not showing on the screen.@RunsInCurrentThread public static void validateIsEnabled(Component c)
Component
is enabled.
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 target component.
IllegalStateException
- if the Component
is disabled.@RunsInCurrentThread public static void validateIsShowing(Component c)
Component
is showing on the screen.
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 target component.
IllegalStateException
- if the Component
is not showing on the screen.@RunsInCurrentThread public static IllegalStateException componentNotShowingOnScreenFailure(Component c)
IllegalStateException
when a Component
is not showing on the
screen.
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 target component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |