|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.control.controller.MainLayoutBasicController
org.olat.core.commons.fullWebApp.LayoutMain3ColsController
public class LayoutMain3ColsController
The meaning of the col1, col2 and col3 are strictly following the YAML concept. This means, that in a brasato web application in most cases the following mapping is applied:
For information about YAML please see @see http://www.yaml.de
Initial Date: 11.10.2007
| Constructor Summary | |
|---|---|
LayoutMain3ColsController(UserRequest ureq,
WindowControl wControl,
Component col1,
Component col2,
Component col3,
java.lang.String layoutConfigKey)
Constructor for creating a 3 col based menu on the main area. |
|
LayoutMain3ColsController(UserRequest ureq,
WindowControl wControl,
Component col1,
Component col2,
Component col3,
java.lang.String layoutConfigKey,
LayoutMain3ColsConfig defaultConfiguration)
Constructor for creating a 3 col based menu on the main area |
|
| Method Summary | |
|---|---|
void |
addCssClassToMain(java.lang.String cssClass)
Add a css class to the #b_main wrapper div, e.g. |
void |
addDisposableChildController(Controller toBedisposedControllerOnDispose)
Add a controller to this layout controller that should be cleaned up when this layout controller is diposed. |
void |
hideCol1(boolean hide)
Temporarily hide the column 1 withour removing the component |
void |
hideCol2(boolean hide)
Temporarily hide the column 2 withour removing the component |
void |
hideCol3(boolean hide)
Temporarily hide the column 3 withour removing the component |
void |
removeCssClassFromMain(java.lang.String cssClass)
Remove a CSS class from the #b_main wrapper div |
void |
setCol1(Component col1Component)
Set a new component to this column or null to not use this column |
void |
setCol2(Component col2Component)
Set a new component to this column or null to not use this column |
void |
setCol3(Component col3Component)
Set a new component to this column or null to not use this column |
void |
setDisposedMessageController(Controller disposedMessageControllerOnDipsose)
The Controller to be set on the mainPanel in case of disposing this layout controller. |
| Methods inherited from class org.olat.core.gui.control.controller.MainLayoutBasicController |
|---|
dispose, getCustomCSS, setCustomCSS |
| Methods inherited from class org.olat.core.gui.control.DefaultController |
|---|
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.olat.core.gui.control.generic.layout.MainLayoutController |
|---|
setCustomCSS |
| Methods inherited from interface org.olat.core.gui.control.Controller |
|---|
addControllerListener, dispatchEvent, dispose, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed |
| Methods inherited from interface org.olat.core.gui.components.htmlheader.jscss.CustomCSSProvider |
|---|
getCustomCSS |
| Constructor Detail |
|---|
public LayoutMain3ColsController(UserRequest ureq,
WindowControl wControl,
Component col1,
Component col2,
Component col3,
java.lang.String layoutConfigKey)
ureq - wControl - col1 - usually the left columncol2 - usually the right columncol3 - usually the content columnlayoutConfigKey - identificator for this layout to persist the users
column width settings
public LayoutMain3ColsController(UserRequest ureq,
WindowControl wControl,
Component col1,
Component col2,
Component col3,
java.lang.String layoutConfigKey,
LayoutMain3ColsConfig defaultConfiguration)
ureq - wControl - col1 - usually the left columncol2 - usually the right columncol3 - usually the content columnlayoutConfigKey - identificator for this layout to persist the users
column width settingsdefaultConfiguration - The layout width configuration to be used| Method Detail |
|---|
public void addDisposableChildController(Controller toBedisposedControllerOnDispose)
addDisposableChildController in interface MainLayout3ColumnsControllertoBedisposedControllerOnDispose - public void setDisposedMessageController(Controller disposedMessageControllerOnDipsose)
disposedMessageControllerOnDipsose - public void addCssClassToMain(java.lang.String cssClass)
addCssClassToMain in interface MainLayout3ColumnsControllercssClass - public void removeCssClassFromMain(java.lang.String cssClass)
removeCssClassFromMain in interface MainLayout3ColumnsControllercssClass - public void hideCol1(boolean hide)
MainLayout3ColumnsController
hideCol1 in interface MainLayout3ColumnsControllerhide - The column to hideMainLayout3ColumnsController.hideCol1(boolean)public void hideCol2(boolean hide)
MainLayout3ColumnsController
hideCol2 in interface MainLayout3ColumnsControllerhide - The column to hideMainLayout3ColumnsController.hideCol2(boolean)public void hideCol3(boolean hide)
MainLayout3ColumnsController
hideCol3 in interface MainLayout3ColumnsControllerhide - The column to hideMainLayout3ColumnsController.hideCol3(boolean)public void setCol1(Component col1Component)
MainLayout3ColumnsController
setCol1 in interface MainLayout3ColumnsControllerMainLayout3ColumnsController.setCol1(org.olat.core.gui.components.Component)public void setCol2(Component col2Component)
MainLayout3ColumnsController
setCol2 in interface MainLayout3ColumnsControllerMainLayout3ColumnsController.setCol2(org.olat.core.gui.components.Component)public void setCol3(Component col3Component)
MainLayout3ColumnsController
setCol3 in interface MainLayout3ColumnsControllerMainLayout3ColumnsController.setCol3(org.olat.core.gui.components.Component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||