com.tonbeller.jpivot.tags
Class PageStateManager

java.lang.Object
  extended by com.tonbeller.jpivot.tags.PageStateManager
All Implemented Interfaces:
StateManager

public class PageStateManager
extends java.lang.Object
implements StateManager

Since:
15.02.2005
Author:
av

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.tonbeller.jpivot.tags.StateManager
StateManager.State
 
Constructor Summary
PageStateManager()
           
 
Method Summary
 void destroyAll()
          removes and destroys all states
 void destroyByName(java.lang.String name)
          removes and destroys the named state
 StateLogger getLogger()
           
 void initializeAndShow(StateManager.State next)
          makes s the current state.
 void setLogger(StateLogger logger)
          logger for debug/test
 void showByName(java.lang.String name)
          makes the named state the visible one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageStateManager

public PageStateManager()
Method Detail

initializeAndShow

public void initializeAndShow(StateManager.State next)
                       throws java.lang.Exception
Description copied from interface: StateManager
makes s the current state. If there is already another state with the name of s, it will be destroyed and replaced by s.

Specified by:
initializeAndShow in interface StateManager
Throws:
java.lang.Exception

showByName

public void showByName(java.lang.String name)
                throws java.lang.Exception
makes the named state the visible one

Specified by:
showByName in interface StateManager
Throws:
java.lang.Exception

destroyAll

public void destroyAll()
                throws java.lang.Exception
removes and destroys all states

Specified by:
destroyAll in interface StateManager
Throws:
java.lang.Exception

destroyByName

public void destroyByName(java.lang.String name)
                   throws java.lang.Exception
removes and destroys the named state

Specified by:
destroyByName in interface StateManager
Throws:
java.lang.Exception

getLogger

public StateLogger getLogger()
Specified by:
getLogger in interface StateManager

setLogger

public void setLogger(StateLogger logger)
Description copied from interface: StateManager
logger for debug/test

Specified by:
setLogger in interface StateManager