|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Page
Represents a Page object, with IXml contents
Field Summary | |
---|---|
static java.lang.String |
DESIGN_VIEW_STYLE_SHEET
|
static java.lang.String |
EVENT_ONLOAD
|
static java.lang.String |
INDIVIDUAL_CONTROL_CONTAINER
Name of the PageDataContainer which holds all the individual Controls |
static java.lang.String |
JSP_PAGE_PROCESSOR
Name of the internal JSP PageProcessor ( *this is the default if none specified) |
static java.lang.String |
PAGE_PROCESSOR_PROPERTY
Property for specifying a special Page Processor for this page. |
static java.lang.String |
PAGELOCATION_REDIRECT
|
static java.lang.String |
PROCESSED_PAGE_REQUEST_ATTRIBUTE
The name of the request attribute that specified that a page has been processed. |
static java.lang.String |
REDIRECT_TO_PAGE
|
static java.lang.String |
STATIC_PAGE_PROCESSOR
Name of the internal Static PageProcessor |
Fields inherited from interface com.bowstreet.webapp.WebAppObject |
---|
ALWAYS_VISIBLE, INFORMATION_PROPERTY, NEVER_VISIBLE, SOMETIMES_VISIBLE |
Method Summary | |
---|---|
void |
addContents(IXml contents)
Adds contents to a page. |
PageDataContainer |
addPageDataContainer(java.lang.String name)
Create an empty PageDataContainer |
void |
addScriptReference(java.lang.String script)
Add a reference to the specified JavaScript file. |
void |
addStyleSheet(java.lang.String styleSheet)
Add another stylesheet reference to the list of non-primary style sheets |
PageDataContainer |
associateVariable(java.lang.String variableName,
java.lang.String dataPageReferenceName,
java.lang.String namedNode)
Associate an existing Variable in the WebApp with this Page. |
PageDataContainer |
associateVariable(Variable variable,
java.lang.String dataPageReferenceName,
java.lang.String namedNode)
Associate an existing Variable in the WebApp with this Page. |
void |
clearContents()
Clears the contents of the page. |
PageDataContainer |
findPageDataContainer(java.lang.String name)
Find a named PageDataContainer |
IXml |
getContents()
Get contents of page This is an IXml container for the page contents, e.g. |
java.util.List |
getPageDataContainers()
Gets all the top-level PageDataContainers that are associated with this page. |
java.lang.String |
getPrimaryStyleSheet()
Gets the current value for the primary Style sheet. |
java.util.Collection |
getScriptReferences()
|
java.util.Collection |
getStyleSheets()
|
void |
setPrimaryStyleSheet(java.lang.String styleSheet)
Set the the current value for the primary Style sheet, overwriting the existing value |
Methods inherited from interface com.bowstreet.webapp.WebAppObject |
---|
clone, getBuilderCall, getName, getProperties, getProperty, getVisibility, isHidden, putProperty, setBuilderCall, setHidden, setName, setVisibility |
Methods inherited from interface com.bowstreet.util.IExemplar |
---|
newInstance |
Methods inherited from interface com.bowstreet.webapp.WebAppEventContainer |
---|
addEventListener, getEventListeners, getEventListeners |
Field Detail |
---|
static final java.lang.String DESIGN_VIEW_STYLE_SHEET
static final java.lang.String EVENT_ONLOAD
static final java.lang.String INDIVIDUAL_CONTROL_CONTAINER
static final java.lang.String JSP_PAGE_PROCESSOR
static final java.lang.String PAGE_PROCESSOR_PROPERTY
static final java.lang.String PAGELOCATION_REDIRECT
static final java.lang.String PROCESSED_PAGE_REQUEST_ATTRIBUTE
static final java.lang.String REDIRECT_TO_PAGE
static final java.lang.String STATIC_PAGE_PROCESSOR
Method Detail |
---|
void addContents(IXml contents)
contents
- for pagePageDataContainer addPageDataContainer(java.lang.String name)
name
- must be unique within this entire Page
void addScriptReference(java.lang.String script)
script
- void addStyleSheet(java.lang.String styleSheet)
styleSheet
- PageDataContainer associateVariable(java.lang.String variableName, java.lang.String dataPageReferenceName, java.lang.String namedNode)
variableName
- The name of the Variable. This may include wildcards!!
PageDataContainer associateVariable(Variable variable, java.lang.String dataPageReferenceName, java.lang.String namedNode)
variable
-
void clearContents()
PageDataContainer findPageDataContainer(java.lang.String name)
name
- case-sensitive name
IXml getContents()
java.util.List getPageDataContainers()
java.lang.String getPrimaryStyleSheet()
java.util.Collection getScriptReferences()
java.util.Collection getStyleSheets()
void setPrimaryStyleSheet(java.lang.String styleSheet)
styleSheet
- - new value for the primary Style sheet
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |