|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwLayout.OwDispatchRegion
protected class OwLayout.OwDispatchRegion
dispatch region wrapper used by addRegion to dispatch to a region in the attached Renderable
Field Summary |
---|
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
---|
EMPTY_STRING |
Constructor Summary | |
---|---|
OwLayout.OwDispatchRegion(OwBaseView view_p,
int iDispatchRegion_p)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwLayout.OwDispatchRegion(OwBaseView view_p, int iDispatchRegion_p)
Method Detail |
---|
public boolean isNamedRegion(String strRegion_p) throws Exception
isNamedRegion
in interface OwBaseView
strRegion_p
- name of the region to render
Exception
public boolean isRegion(int iRegion_p) throws Exception
isRegion
in interface OwBaseView
iRegion_p
- ID of the region to render
Exception
public void render(Writer w_p) throws Exception
OwBaseView
render
in interface OwBaseView
w_p
- Writer object to write HTML to
Exception
public String getTitle()
OwBaseView
getTitle
in interface OwBaseView
public void renderNamedRegion(Writer w_p, String strRegion_p) throws Exception
renderNamedRegion
in interface OwBaseView
w_p
- Writer object to write HTML tostrRegion_p
- named region to render
Exception
public void renderRegion(Writer w_p, int iRegion_p) throws Exception
OwBaseView
renderRegion
in interface OwBaseView
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to render
Exception
public String getBreadcrumbPart()
OwBaseView
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 OwBaseView.EMPTY_STRING
should be returned.
getBreadcrumbPart
in interface OwBaseView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |