org.olat.core.gui.control
Class WindowControlInfoImpl
java.lang.Object
org.olat.core.gui.control.WindowControlInfoImpl
- All Implemented Interfaces:
- WindowControlInfo
public class WindowControlInfoImpl
- extends java.lang.Object
- implements WindowControlInfo
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WindowControlInfoImpl
public WindowControlInfoImpl(DefaultController defaultController,
WindowControlInfo parentWindowControlInfo)
- Parameters:
an - instance of defaultcontrollerparentWindowControlInfo -
getControllerClassName
public java.lang.String getControllerClassName()
- Specified by:
getControllerClassName in interface WindowControlInfo
- Returns:
- See Also:
WindowControlInfo.getControllerClassName()
getParentWindowControlInfo
public WindowControlInfo getParentWindowControlInfo()
- can be null if now windowcontrol given
- Specified by:
getParentWindowControlInfo in interface WindowControlInfo
- See Also:
WindowControlInfo.getParentWindowControlInfo()
adjustControllerState
public void adjustControllerState(boolean back,
ExtendedControllerState ecstate,
UserRequest ureq)
- Description copied from interface:
WindowControlInfo
- the implementation must somehow call back to the controller to let it adjust its state to the new state.
- Specified by:
adjustControllerState in interface WindowControlInfo
- Parameters:
back - if true, the transition direction is back, that is from end to start, otherwise it is forward (from start to end)ecstate - the new state to adjust toureq - the UserRequest: using as normal, but calling ureq.getParameter(...) doesn't make sense here, since those are the parameters of a call in the past.
getChildren
public java.util.List<WindowControlInfo> getChildren()
- Specified by:
getChildren in interface WindowControlInfo
- Returns:
- null or a list (non-empty) of currently non-disposed WindowControlInfos
getExtendedControllerState
public ExtendedControllerState getExtendedControllerState()
- Specified by:
getExtendedControllerState in interface WindowControlInfo
- Returns:
- the controllerstate of the underlying controller
addChild
public void addChild(WindowControlInfo child)
- Description copied from interface:
WindowControlInfo
- to be called only by the constructor of a windowcontrolinfo.
- Specified by:
addChild in interface WindowControlInfo
isControllerDisposed
public boolean isControllerDisposed()
- Specified by:
isControllerDisposed in interface WindowControlInfo
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object