|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.table.navi.AbstractClickableMember com.tonbeller.jpivot.table.navi.ClickableMemberSupport
public abstract class ClickableMemberSupport
clickable that invokes a RequestListener instead of following an URL
UrlClickableMember
Field Summary | |
---|---|
protected com.tonbeller.wcf.controller.Dispatcher |
dispatcher
|
protected OlapModel |
model
|
Fields inherited from class com.tonbeller.jpivot.table.navi.AbstractClickableMember |
---|
parser |
Constructor Summary | |
---|---|
ClickableMemberSupport(java.lang.String uniqueName)
|
Method Summary | |
---|---|
protected abstract com.tonbeller.wcf.controller.RequestListener |
createRequestListener(OlapModel model,
Member m)
specifies what should happen when the user clicks on the member. |
void |
decorate(SpanBuilder.SBContext sbctx,
Displayable obj)
|
protected abstract java.lang.String |
getMenuLabel()
label to show in popup menu |
java.lang.String |
getUrlPattern()
|
void |
modelChanged(ModelChangeEvent e)
model data have changed, e.g. user has navigated |
void |
request(com.tonbeller.wcf.controller.RequestContext context)
|
void |
setUrlPattern(java.lang.String urlPattern)
the url to generate into the hyprelink, in most cases the default null is ok |
void |
startRendering(com.tonbeller.wcf.controller.RequestContext context,
TableComponent table)
|
void |
stopRendering()
|
void |
structureChanged(ModelChangeEvent e)
major change, e.g. extensions added/removed |
Methods inherited from class com.tonbeller.jpivot.table.navi.AbstractClickableMember |
---|
isSuppressAllMember, isSuppressCalcMember, isSuppressMeasures, match, setSuppressAllMember, setSuppressCalcMember, setSuppressMeasures |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.tonbeller.wcf.controller.Dispatcher dispatcher
protected OlapModel model
Constructor Detail |
---|
public ClickableMemberSupport(java.lang.String uniqueName)
uniqueName
- name of level, hierarchy or dimension that shall be clickable.
If null, all dimensions except Measures will be clickable.paramProvider
- creates the parameter from the member.Method Detail |
---|
protected abstract java.lang.String getMenuLabel()
protected abstract com.tonbeller.wcf.controller.RequestListener createRequestListener(OlapModel model, Member m)
public void startRendering(com.tonbeller.wcf.controller.RequestContext context, TableComponent table)
startRendering
in interface ClickableMember
startRendering
in class AbstractClickableMember
public void stopRendering()
stopRendering
in interface ClickableMember
stopRendering
in class AbstractClickableMember
public void decorate(SpanBuilder.SBContext sbctx, Displayable obj)
public void modelChanged(ModelChangeEvent e)
ModelChangeListener
public void structureChanged(ModelChangeEvent e)
ModelChangeListener
public void request(com.tonbeller.wcf.controller.RequestContext context) throws java.lang.Exception
java.lang.Exception
public void setUrlPattern(java.lang.String urlPattern)
public java.lang.String getUrlPattern()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |