|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Document.State
This is a marker interface to be implemented by objects serving as state designators for
documents. The default implementation of this interface is contained in the enum
Document.BasicState
. By adding other implementations, the set of possible states may be
extended.
The most convenient way to add implementations is to let an enum implement this interface like
this:
public static enum MyState implements State {
PINING_FOR_THE_TREES, TWIDDLING_THUMBS;
}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |