|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ui.game.TokenUISupport
public class TokenUISupport
Provides support for token user interfaces in the game framework.
| Nested Class Summary | |
|---|---|
(package private) static class |
TokenUISupport.MyStatefulSupport
Provides a concrete implementation of StatefulSupport. |
| Constructor Summary | |
|---|---|
TokenUISupport()
|
|
| Method Summary | |
|---|---|
void |
configure(Properties properties,
int index)
Configure this token. |
IState |
getAbsoluteState()
Return the absolute state. |
IState |
getState()
Return the state. |
IStateful |
getStatefulParent()
Return the parent. |
protected StatefulSupport |
getStatefulSupport()
Create a stateful support object. |
IToken |
getToken()
Return the token. |
void |
setStatefulParent(IStateful parent)
Set the parent. |
void |
setToken(IToken token)
Set the associated token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TokenUISupport()
| Method Detail |
|---|
public void configure(Properties properties,
int index)
throws InstantiationException,
IllegalAccessException
configure in interface ITokenUIproperties - Source of configuration information.index - Index of this token's properties.
InstantiationException
IllegalAccessExceptionpublic IState getAbsoluteState()
getAbsoluteState in interface IStatefulpublic IState getState()
getState in interface IStatefulpublic IStateful getStatefulParent()
getStatefulParent in interface IStatefulpublic IToken getToken()
getToken in interface ITokenUIpublic void setStatefulParent(IStateful parent)
setStatefulParent in interface IStatefulpublic void setToken(IToken token)
setToken in interface ITokenUItoken - The associated token.protected StatefulSupport getStatefulSupport()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |