|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tonbeller.wcf.component.ComponentSupport
com.tonbeller.jpivot.navigator.Navigator
public class Navigator
Root Component, contains MemberNavigator and HierarchyNavigator. Coordinates the activities between MemberNavigator and HierarchyNavigator (GOF Director pattern).
| Field Summary |
|---|
| Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
|---|
EXTENSIONAL, INTENSIONAL |
| Constructor Summary | |
|---|---|
Navigator(java.lang.String id,
com.tonbeller.wcf.component.Component parent,
OlapModel olapModel)
|
|
| Method Summary | |
|---|---|
protected HierarchyItemClickHandler |
createHierarchyItemClickHandler()
factory method that allows derived classes to install their own handlers |
protected com.tonbeller.wcf.controller.RequestListener |
createMemberNavAcceptHandler()
factory method that allows derived classes to install their own handlers |
protected com.tonbeller.wcf.controller.RequestListener |
createMemberNavCancelHandler()
factory method that allows derived classes to install their own handlers |
void |
destroy(javax.servlet.http.HttpSession session)
lifecycle |
HierarchyNavigator |
getHierarchyNav()
|
MemberNavigator |
getMemberNav()
|
void |
initialize(com.tonbeller.wcf.controller.RequestContext context)
lifecycle |
boolean |
isAvailable()
return true, if this component currently can be used |
boolean |
isVisible()
Returns the visible. |
void |
modelChanged(ModelChangeEvent e)
model data have changed, e.g. user has navigated |
org.w3c.dom.Document |
render(com.tonbeller.wcf.controller.RequestContext context)
|
void |
setVisible(boolean visible)
Sets the visible. |
void |
show(com.tonbeller.wcf.component.Component component)
sets component to visible |
void |
structureChanged(ModelChangeEvent e)
major change, e.g. extensions added/removed |
| Methods inherited from class com.tonbeller.wcf.component.ComponentSupport |
|---|
addFormListener, getBookmarkState, getDispatcher, getForm, getId, getLocale, getNextView, getParent, getRoleExpr, isAutoValidate, isListeningTo, removeFormListener, request, revert, setAutoValidate, setBookmarkState, setId, setNextView, setParent, setRoleExpr, validate, valueBound, valueUnbound |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Navigator(java.lang.String id,
com.tonbeller.wcf.component.Component parent,
OlapModel olapModel)
| Method Detail |
|---|
public void initialize(com.tonbeller.wcf.controller.RequestContext context)
throws java.lang.Exception
initialize in interface com.tonbeller.wcf.component.LifeCycleinitialize in class com.tonbeller.wcf.component.ComponentSupportjava.lang.Exception
public void destroy(javax.servlet.http.HttpSession session)
throws java.lang.Exception
destroy in interface com.tonbeller.wcf.component.LifeCycledestroy in class com.tonbeller.wcf.component.ComponentSupportjava.lang.Exception
public org.w3c.dom.Document render(com.tonbeller.wcf.controller.RequestContext context)
throws java.lang.Exception
render in interface com.tonbeller.wcf.component.Renderablejava.lang.Exceptionpublic void show(com.tonbeller.wcf.component.Component component)
protected com.tonbeller.wcf.controller.RequestListener createMemberNavAcceptHandler()
protected HierarchyItemClickHandler createHierarchyItemClickHandler()
protected com.tonbeller.wcf.controller.RequestListener createMemberNavCancelHandler()
public boolean isVisible()
isVisible in interface com.tonbeller.wcf.component.VisibleisVisible in class com.tonbeller.wcf.component.ComponentSupportpublic void setVisible(boolean visible)
setVisible in interface com.tonbeller.wcf.component.VisiblesetVisible in class com.tonbeller.wcf.component.ComponentSupportvisible - The visible to setpublic void modelChanged(ModelChangeEvent e)
ModelChangeListener
modelChanged in interface ModelChangeListenerpublic void structureChanged(ModelChangeEvent e)
ModelChangeListener
structureChanged in interface ModelChangeListenerpublic HierarchyNavigator getHierarchyNav()
public MemberNavigator getMemberNav()
public boolean isAvailable()
Available
isAvailable in interface Available
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||