|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.Container
com.sapportals.htmlb.Document
The outer document control. Note that this control may not actually render anything, e.g. if it is used in a Portal environment where this wrapper is not required.
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
static int |
VAR_BEGIN
|
static int |
VAR_BODYBEGIN
|
static int |
VAR_BODYBEGININCLUDES
|
static int |
VAR_BODYEND
|
static int |
VAR_BODYENDINCLUDES
|
static int |
VAR_DOCBEGIN
|
static int |
VAR_DOCEND
|
static int |
VAR_DOCTYPE
|
static int |
VAR_END
|
static int |
VAR_HEAD
|
static int |
VAR_HEADBEGIN
|
static int |
VAR_HEADEND
|
static int |
VAR_HEADINCLUDES
|
| Fields inherited from class com.sapportals.htmlb.Container |
elements |
| Constructor Summary | |
Document(String title)
construct a new Document. |
|
| Method Summary | |
void |
addHeadResource(ResourceType type,
String key,
Object data)
add a head include to the document |
HashSet |
get508Texts()
returns the texts which are needed on client side |
String |
getDocumentId()
gets the id of this document |
String |
getElementId(Component c)
|
String |
getHeadRawText()
gets the raw text to be inserted in the document head. |
HashSet |
getHoverMenus()
returns the hover menus for rendering, internal use only |
Includes |
getIncludes()
get the includes for this document, i.e. |
Includes |
getJsIncludes()
|
String |
getNewElementId()
get a new String ID for an element of this document. |
HashSet |
getStandardTexts()
returns the texts which are needed on client side |
String |
getTitle()
get the title of this document |
String |
getUI()
get an identification String for the renderer that is unique across all supported components. |
void |
register508Text(String key)
register 508 Texts which are needed on client side |
void |
registerHoverMenu(HoverMenu hoverMenu)
register the hover menu, internal use only hover menus within one page should be collected before they'll be rendered, for saving performance |
void |
registerJavaScript(String rendererId,
IPageContext rendererContext)
register the javascript file, internal use only |
void |
registerStandardText(String key)
register standard texts which are needed on client side |
void |
render(int selector,
IPageContext rendererContext)
render an aspect of the component using the current context. |
void |
setDocumentId(String documentId)
sets the id of this document |
void |
setHeadRawText(String headRawText)
sets the raw text to be inserted in the document head. |
void |
setIncludes(Includes includes)
set the includes for this document, i.e. |
void |
setTitle(String title)
set the title of this document |
| Methods inherited from class com.sapportals.htmlb.Container |
addComponent, addRawText, addText, getChildCount, iterator, preRender, removeComponent |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
public static final int VAR_BEGIN
public static final int VAR_END
public static final int VAR_HEADINCLUDES
public static final int VAR_BODYBEGININCLUDES
public static final int VAR_BODYENDINCLUDES
public static final int VAR_DOCBEGIN
public static final int VAR_DOCEND
public static final int VAR_HEADBEGIN
public static final int VAR_HEADEND
public static final int VAR_BODYBEGIN
public static final int VAR_BODYEND
public static final int VAR_HEAD
public static final int VAR_DOCTYPE
| Constructor Detail |
public Document(String title)
title - the title for the document.| Method Detail |
public String getNewElementId()
Application developers should not need this method.
public String getElementId(Component c)
public String getUI()
getUI in class Componentpublic String getTitle()
public void setTitle(String title)
public String getHeadRawText()
public void setHeadRawText(String headRawText)
headRawText - raw text to be included in the head of the documentpublic String getDocumentId()
public void setDocumentId(String documentId)
documentId - the id of this documentpublic Includes getIncludes()
public Includes getJsIncludes()
public void setIncludes(Includes includes)
includes - the includes for this document
public void addHeadResource(ResourceType type,
String key,
Object data)
public void registerHoverMenu(HoverMenu hoverMenu)
public HashSet getHoverMenus()
public void register508Text(String key)
public HashSet get508Texts()
public void registerStandardText(String key)
public HashSet getStandardTexts()
public void render(int selector,
IPageContext rendererContext)
render in class Containerselector - the aspect to render.rendererContext - the context in which to render.
public void registerJavaScript(String rendererId,
IPageContext rendererContext)
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||