|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OwBaseView
Base View functionality, which supports rendering and regions.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Field Summary | |
---|---|
static String |
EMPTY_STRING
|
Method Summary | |
---|---|
String |
getBreadcrumbPart()
This method is used to create a "Breadcrumb" navigation view. |
String |
getTitle()
Returns a title for this view or an empty String |
boolean |
isNamedRegion(String strRegion_p)
determine if region exists |
boolean |
isRegion(int iRegion_p)
determine if region exists |
void |
render(Writer w_p)
render the object |
void |
renderNamedRegion(Writer w_p,
String strRegion_p)
render only a region in the view, used by derived classes |
void |
renderRegion(Writer w_p,
int iRegion_p)
render only a region in the view, used by derived classes |
Field Detail |
---|
static final String EMPTY_STRING
Method Detail |
---|
void render(Writer w_p) throws Exception
w_p
- Writer object to write HTML to
Exception
void renderRegion(Writer w_p, int iRegion_p) throws Exception
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to render
Exception
void renderNamedRegion(Writer w_p, String strRegion_p) throws Exception
w_p
- Writer object to write HTML tostrRegion_p
- named region to render
Exception
boolean isRegion(int iRegion_p) throws Exception
iRegion_p
- ID of the region to render
Exception
boolean isNamedRegion(String strRegion_p) throws Exception
strRegion_p
- name of the region to render
Exception
String getTitle()
String getBreadcrumbPart()
Example: We have a View A which contains a View B which
has a many views contained.
A.getBreadcrumbPart()
{
return this.getTitle() + " - " + B.getBreadcrumbPart();
}
B.getBreadcrumbPart()
{
return this.getName() + " - " + getMainView().getBreadcrumbPart();
}
null
at
least the EMPTY_STRING
should be returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |