|
||||||||||
| 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.LayoutMain3ColsPreviewController
public class LayoutMain3ColsPreviewController
| Constructor Summary | |
|---|---|
LayoutMain3ColsPreviewController(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 |
|
| Method Summary | |
|---|---|
void |
activate()
Activate this preview workflow |
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 |
deactivate()
Deactivates preview controller. |
void |
event(UserRequest ureq,
Component source,
Event event)
abstract event method for subclasses. |
Component |
getInitialComponent()
Get the initial component from this controller. |
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 |
| 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, 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, getUserActivityLogger, getWindowControlForDebug, isDisposed |
| Methods inherited from interface org.olat.core.gui.components.htmlheader.jscss.CustomCSSProvider |
|---|
getCustomCSS |
| Constructor Detail |
|---|
public LayoutMain3ColsPreviewController(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| Method Detail |
|---|
public void event(UserRequest ureq,
Component source,
Event event)
DefaultController
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)public Component getInitialComponent()
Controller
getInitialComponent in interface ControllergetInitialComponent in class DefaultControllerpublic void activate()
public void deactivate()
public void hideCol1(boolean hide)
MainLayout3ColumnsController
hideCol1 in interface MainLayout3ColumnsControllerhide - The column to hidepublic void hideCol2(boolean hide)
MainLayout3ColumnsController
hideCol2 in interface MainLayout3ColumnsControllerhide - The column to hidepublic void hideCol3(boolean hide)
MainLayout3ColumnsController
hideCol3 in interface MainLayout3ColumnsControllerhide - The column to hidepublic void setCol1(Component col1Component)
MainLayout3ColumnsController
setCol1 in interface MainLayout3ColumnsControllerpublic void setCol2(Component col2Component)
MainLayout3ColumnsController
setCol2 in interface MainLayout3ColumnsControllerpublic void setCol3(Component col3Component)
MainLayout3ColumnsController
setCol3 in interface MainLayout3ColumnsControllerpublic void addCssClassToMain(java.lang.String cssClass)
MainLayout3ColumnsController
addCssClassToMain in interface MainLayout3ColumnsControllerpublic void addDisposableChildController(Controller toBedisposedControllerOnDispose)
MainLayout3ColumnsController
addDisposableChildController in interface MainLayout3ColumnsControllerpublic void removeCssClassFromMain(java.lang.String cssClass)
MainLayout3ColumnsController
removeCssClassFromMain in interface MainLayout3ColumnsController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||