Package org.silverpeas.core.web.look
Class DefaultLayoutConfiguration
- java.lang.Object
-
- org.silverpeas.core.web.look.DefaultLayoutConfiguration
-
- All Implemented Interfaces:
LayoutConfiguration
public class DefaultLayoutConfiguration extends Object implements LayoutConfiguration
- Author:
- Nicolas Eysseric
-
-
Constructor Summary
Constructors Constructor Description DefaultLayoutConfiguration(org.silverpeas.kernel.bundle.SettingBundle settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBodyNavigationURL()
Gets the URL of the body navigation part of the layout in order to load the body navigation content.String
getBodyURL()
Gets the URL of the body part of the layout in order to load the body content.String
getHeaderURL()
Gets the URL of the header part of the layout in order to load the header content.boolean
isBodyNavigationFade()
boolean
isHeaderToggleFade()
void
setBodyNavigationURL(String url)
void
setBodyURL(String url)
void
setHeaderURL(String url)
-
-
-
Method Detail
-
getHeaderURL
public String getHeaderURL()
Description copied from interface:LayoutConfiguration
Gets the URL of the header part of the layout in order to load the header content.- Specified by:
getHeaderURL
in interfaceLayoutConfiguration
- Returns:
- a string representing the URL into the application context.
-
isHeaderToggleFade
public boolean isHeaderToggleFade()
- Specified by:
isHeaderToggleFade
in interfaceLayoutConfiguration
- Returns:
- true if a fade out MUST be applied on the header part when toggling its display.
-
getBodyURL
public String getBodyURL()
Description copied from interface:LayoutConfiguration
Gets the URL of the body part of the layout in order to load the body content.- Specified by:
getBodyURL
in interfaceLayoutConfiguration
- Returns:
- a string representing the URL into the application context.
-
getBodyNavigationURL
public String getBodyNavigationURL()
Description copied from interface:LayoutConfiguration
Gets the URL of the body navigation part of the layout in order to load the body navigation content.- Specified by:
getBodyNavigationURL
in interfaceLayoutConfiguration
- Returns:
- a string representing the URL into the application context.
-
isBodyNavigationFade
public boolean isBodyNavigationFade()
- Specified by:
isBodyNavigationFade
in interfaceLayoutConfiguration
- Returns:
- true if a fade out MUST be applied on the header part when toggling its display.
-
setHeaderURL
public void setHeaderURL(String url)
-
setBodyURL
public void setBodyURL(String url)
-
setBodyNavigationURL
public void setBodyNavigationURL(String url)
-
-