org.olat.core.id.context
Class StackedBusinessWindowControl

java.lang.Object
  extended by org.olat.core.id.context.StackedBusinessWindowControl
All Implemented Interfaces:
WindowControl

public class StackedBusinessWindowControl
extends java.lang.Object
implements WindowControl

Description:

Initial Date: 14.06.2006

Author:
Felix Jost

Method Summary
 BusinessControl getBusinessControl()
           
 WindowBackOffice getWindowBackOffice()
           
 WindowControlInfo getWindowControlInfo()
           
 void makeFlat()
          Use only when coding the Activatable interface.
 void pop()
           
 void pushAsModalDialog(Component comp)
           
 void pushToMainArea(Component comp)
          put the component on the stack pane of the -current- guistack.
 void setError(java.lang.String string)
           
 void setInfo(java.lang.String string)
           
 void setWarning(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBusinessControl

public BusinessControl getBusinessControl()
Specified by:
getBusinessControl in interface WindowControl
Returns:
the businesscontrol, never null

getWindowControlInfo

public WindowControlInfo getWindowControlInfo()
Specified by:
getWindowControlInfo in interface WindowControl
Returns:
the windowcontrolinfo

makeFlat

public void makeFlat()
Description copied from interface: WindowControl
Use only when coding the Activatable interface. flatens (that is, does 0 to n pop() 's to the level where this windowcontrol is located. Useful only when implementing the Activatable interface to dump all possible pushed components and return to "the base" which is the level at which the controller's initialcomponent resides.

Specified by:
makeFlat in interface WindowControl

pop

public void pop()
Specified by:
pop in interface WindowControl

pushAsModalDialog

public void pushAsModalDialog(Component comp)
Specified by:
pushAsModalDialog in interface WindowControl

pushToMainArea

public void pushToMainArea(Component comp)
Description copied from interface: WindowControl
put the component on the stack pane of the -current- guistack. useful for modal dialogs and such.

Specified by:
pushToMainArea in interface WindowControl

setError

public void setError(java.lang.String string)
Specified by:
setError in interface WindowControl

setInfo

public void setInfo(java.lang.String string)
Specified by:
setInfo in interface WindowControl

setWarning

public void setWarning(java.lang.String string)
Specified by:
setWarning in interface WindowControl

getWindowBackOffice

public WindowBackOffice getWindowBackOffice()
Specified by:
getWindowBackOffice in interface WindowControl