|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HeaderResource
HeaderResource has tags information to put them into <head> tag.
Method Summary | |
---|---|
void |
addHeaderInfo(String text)
Add text as-is to this instance. |
void |
addHeaderInfo(String elementName,
Map attributes,
String text)
Add tag information to this instance. |
void |
addHeaderSectionFragment(String addToHeaderName,
String text)
Add text argument to the getHeaderSections() content entry with a key that matches addToHeaderName argument |
void |
addHeaderSectionFragment(String headerFragmentName,
String addToHeaderName,
String text)
If no previous call using value of headerFragmentName argument has been added to any getHeaderSections() content entry, add text argument to the getHeaderSections() content entry with a key that matches addToHeaderName argument |
void |
addJavaScript(String path)
Convenient method to add <script> tag. |
void |
addJavaScript(String path,
boolean defer)
Convenient method to add <script> tag with defer option. |
void |
addStyleSheet(String path)
Convenient method to add <link> tag. |
void |
dojoAddBodyExpandStyle(boolean omitWindowScrollbars)
Assure that header section name for dojo body expand style is included |
void |
dojoAddCoreLibraryRequire(String dojoRequire)
If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo core require statements |
void |
dojoAddCoreLibraryRequires(String dojoRequires)
Split dojoRequires argument using ';' delimiter and for each resulting dojoRequire value, if no previous call using dojoRequire value has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo core require statements |
void |
dojoAddModuleLibraryRequire(String dojoRequire)
If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo library module require statements |
void |
dojoAddModuleLibraryRequires(String dojoRequires)
Split dojoRequires argument using ';' delimiter and for each resulting dojoRequire value, if no previous call using dojoRequire value has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo library module require statements |
void |
dojoEnable()
Enable dojo by setting appropriate modifiable header configuration setting |
String |
getContent()
Output all content (that has not already been output) |
Map |
getHeaderConfiguration()
Access complete header configuration settings |
Map |
getHeaderDynamicConfiguration()
Access modifiable header configuration settings |
String |
getHeaderSectionRequiredFlag(String headerName)
Get the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument |
String |
getHeaderSectionType(String headerName)
Get the type of the getHeaderSections() content entry with a key that matches headerName argument |
String |
getNamedContent()
Output all getHeaderSections() content (that has not already been output) |
String |
getNamedContent(String headerName)
Output the one getHeaderSections() content entry with a key that matches headerName (if it has not already been output) |
String |
getNamedContentForPrefix(String headerNamePrefix)
Output getHeaderSections() content entries with key prefixes that match headerNamePrefix (if it has not already been output) |
String |
getPortalBaseUrl()
Portal base url ( e.g. |
String |
getPortalBaseUrl(boolean encode)
Portal base url ( e.g. |
String |
getPortalResourceUrl(String relativePath)
Portal base url with relativePath argument appended ( e.g. |
String |
getPortalResourceUrl(String relativePath,
boolean encode)
Portal base url with relativePath argument appended ( e.g. |
String |
getPortalUrl()
Portal base servlet url ( e.g. |
String |
getPortalUrl(boolean encode)
Portal base servlet url ( e.g. |
String |
getPortalUrl(String relativePath)
Portal base servlet url with relativePath argument appended ( e.g. |
String |
getPortalUrl(String relativePath,
boolean encode)
Portal base servlet url with relativePath argument appended ( e.g. |
String |
getUnnamedContent()
Output all unnamed content (that has not already been output) |
boolean |
hasHeaderSectionFragment(String headerFragmentName)
Indicate whether value of headerFragmentName argument has been used to add to any getHeaderSections() content entry |
boolean |
isDesktop()
Is request for /desktop rather than /portal |
boolean |
isHeaderSectionIncluded(String headerName)
Indicate whether value of headerName is an included header section |
void |
setHeaderSectionRequiredFlag(String headerName,
String headerReqFlag)
Set the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument to the value of the headerReqFlag argument |
void |
setHeaderSectionType(String headerName,
String headerType)
Set the type of the getHeaderSections() content entry with a key that matches headerName argument to the value of the headerType argument |
String |
toString()
Output all content (that has not already been output) |
Field Detail |
---|
static final String HEADER_TYPE_SCRIPT_BLOCK_START
static final int HEADER_TYPE_ID_SCRIPT_BLOCK_START
static final String HEADER_TYPE_SCRIPT_BLOCK
static final int HEADER_TYPE_ID_SCRIPT_BLOCK
static final String HEADER_TYPE_SCRIPT_BLOCK_END
static final int HEADER_TYPE_ID_SCRIPT_BLOCK_END
static final String HEADER_TYPE_SCRIPT_TAG
static final int HEADER_TYPE_ID_SCRIPT_TAG
static final String HEADER_TYPE_STYLE_BLOCK
static final int HEADER_TYPE_ID_STYLE_BLOCK
static final String HEADER_TYPE_LINK_TAG
static final int HEADER_TYPE_ID_LINK_TAG
static final String HEADER_TYPE_BASE_TAG
static final int HEADER_TYPE_ID_BASE_TAG
static final String HEADER_CONFIG_ORDER
static final String HEADER_CONFIG_TYPES
static final String HEADER_CONFIG_REQUIREDFLAG
static final String HEADER_CONFIG_DOJO
static final String HEADER_CONFIG_DESKTOP
static final String HEADER_INTERNAL_INCLUDED_NAMES
static final String HEADER_SECTION_BASE_TAG
static final String HEADER_SECTION_NAME_PREFIX_DOJO
static final String HEADER_SECTION_DOJO_PARAMETERS
static final String HEADER_SECTION_DOJO_PREINIT
static final String HEADER_SECTION_DOJO_CONFIG
static final String HEADER_SECTION_DOJO_INIT
static final String HEADER_SECTION_DOJO_REQUIRES_CORE
static final String HEADER_SECTION_DOJO_MODULES_PATH
static final String HEADER_SECTION_DOJO_REQUIRES_MODULES
static final String HEADER_SECTION_DOJO_WRITEINCLUDES
static final String HEADER_SECTION_DOJO_MODULES_NAMESPACE
static final String HEADER_SECTION_DOJO_STYLE_BODYEXPAND
static final String HEADER_SECTION_DOJO_STYLE_BODYEXPAND_NOSCROLL
static final String HEADER_SECTION_DESKTOP_STYLE_LAYOUT
static final String HEADER_SECTION_DESKTOP_INIT
static final String HEADER_INTERNAL_JETSPEED_VAR_NAME
static final String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME
static final String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME_SCOPE
static final String HEADER_CONFIG_DOJO_ENABLE
static final String HEADER_CONFIG_DOJO_PATH
static final String HEADER_CONFIG_DOJO_PARAM_ISDEBUG
static final String HEADER_CONFIG_DOJO_PARAM_DEBUGALLCOSTS
static final String HEADER_CONFIG_DOJO_PARAM_PREVENT_BACKBUTTON_FIX
static final String HEADER_CONFIG_DOJO_PARAMS
static final String HEADER_CONFIG_DOJO_REQUIRES_CORE
static final String HEADER_CONFIG_DOJO_MODULES_PATH
static final String HEADER_CONFIG_DOJO_MODULES_NAMESPACE
static final String HEADER_CONFIG_DOJO_REQUIRES_MODULES
static final String HEADER_CONFIG_DESKTOP_LAYOUT_DECORATION_DEFAULT
static final String HEADER_CONFIG_DESKTOP_PORTLET_DECORATION_DEFAULT
static final String HEADER_CONFIG_DESKTOP_PAGE_AJAXNAVIGATION
static final String HEADER_CONFIG_DESKTOP_PAGE_ACTION_BUTTON_TOOLTIP
static final String HEADER_CONFIG_DESKTOP_WINDOW_TILING
static final String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT_EXPAND
static final String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT
static final String HEADER_CONFIG_DESKTOP_WINDOW_WIDTH
static final String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_ORDER
static final String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_NOIMAGE
static final String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_MENU_ORDER
static final String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_MAX
static final String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_TOOLTIP
static final String HEADER_CONFIG_DESKTOP_WINDOW_ICON_ENABLED
static final String HEADER_CONFIG_DESKTOP_WINDOW_ICON_PATH
static final String HEADER_CONFIG_DESKTOP_WINDOW_TITLEBAR_ENABLED
static final String HEADER_CONFIG_DESKTOP_WINDOW_RESIZEBAR_ENABLED
static final String DESKTOP_JSON_WINDOW_ACTION_BUTTON_ORDER
static final String DESKTOP_JSON_WINDOW_ACTION_NOIMAGE
static final String DESKTOP_JSON_WINDOW_ACTION_MENU_ORDER
static final String DESKTOP_JSON_WINDOW_ACTION_BUTTON_MAX
static final String DESKTOP_JSON_WINDOW_ACTION_BUTTON_TOOLTIP
static final String DESKTOP_JSON_WINDOW_ICON_ENABLED
static final String DESKTOP_JSON_WINDOW_ICON_PATH
static final String DESKTOP_JSON_WINDOW_TITLEBAR_ENABLED
static final String DESKTOP_JSON_WINDOW_RESIZEBAR_ENABLED
static final String HEADER_INTERNAL_CONFIG_DESKTOP_WINDOW_ACTION
static final String HEADER_DEBUG_REQUIRES
Method Detail |
---|
String toString()
toString
in class Object
String getContent()
String getUnnamedContent()
String getNamedContent()
String getNamedContent(String headerName)
String getNamedContentForPrefix(String headerNamePrefix)
void addHeaderSectionFragment(String addToHeaderName, String text)
void addHeaderSectionFragment(String headerFragmentName, String addToHeaderName, String text)
boolean hasHeaderSectionFragment(String headerFragmentName)
boolean isHeaderSectionIncluded(String headerName)
String getHeaderSectionType(String headerName)
void setHeaderSectionType(String headerName, String headerType)
String getHeaderSectionRequiredFlag(String headerName)
void setHeaderSectionRequiredFlag(String headerName, String headerReqFlag)
Map getHeaderDynamicConfiguration()
Map getHeaderConfiguration()
boolean isDesktop()
String getPortalBaseUrl()
String getPortalBaseUrl(boolean encode)
String getPortalResourceUrl(String relativePath)
String getPortalResourceUrl(String relativePath, boolean encode)
String getPortalUrl()
String getPortalUrl(boolean encode)
String getPortalUrl(String relativePath)
String getPortalUrl(String relativePath, boolean encode)
void dojoAddCoreLibraryRequire(String dojoRequire)
void dojoAddCoreLibraryRequires(String dojoRequires)
void dojoAddModuleLibraryRequire(String dojoRequire)
void dojoAddModuleLibraryRequires(String dojoRequires)
void dojoAddBodyExpandStyle(boolean omitWindowScrollbars)
void dojoEnable()
void addHeaderInfo(String elementName, Map attributes, String text)
elementName
- Tag's nameattributes
- Tag's attributestext
- Tag's contentvoid addHeaderInfo(String text)
text
- contentvoid addJavaScript(String path, boolean defer)
path
- Javascript file pathdefer
- defer attributes for <script> tag.void addJavaScript(String path)
path
- Javascript file pathvoid addStyleSheet(String path)
path
- CSS file path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |