|
||||||||||
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 ITokenUI
properties
- Source of configuration information.index
- Index of this token's properties.
InstantiationException
IllegalAccessException
public IState getAbsoluteState()
getAbsoluteState
in interface IStateful
public IState getState()
getState
in interface IStateful
public IStateful getStatefulParent()
getStatefulParent
in interface IStateful
public IToken getToken()
getToken
in interface ITokenUI
public void setStatefulParent(IStateful parent)
setStatefulParent
in interface IStateful
public void setToken(IToken token)
setToken
in interface ITokenUI
token
- 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 |