|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.wcf.component.ComponentSupport com.tonbeller.jpivot.table.TableComponent
public class TableComponent
Contains a reference to the olap data plus additional gui settings. Renders the pivot table
Field Summary |
---|
Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
---|
EXTENSIONAL, INTENSIONAL |
Constructor Summary | |
---|---|
TableComponent()
for instantiation via reflection api. |
|
TableComponent(java.lang.String id,
com.tonbeller.wcf.component.Component parent)
|
|
TableComponent(java.lang.String id,
com.tonbeller.wcf.component.Component parent,
OlapModel newOlapModel)
|
Method Summary | |
---|---|
void |
addExtension(TableComponentExtension extension)
registers an extension. |
org.w3c.dom.Element |
append(java.lang.String name,
org.w3c.dom.Element parent)
utility - creates an element and appends it |
java.lang.Object |
cdata(java.lang.String content,
org.w3c.dom.Element parent)
utility - creates a CDATA section |
java.util.Iterator |
clickableIterator()
|
void |
destroy(javax.servlet.http.HttpSession session)
deferred ctor called once by the creating tag |
org.w3c.dom.Element |
elem(java.lang.String name)
utility - creates an element with the given name |
java.lang.Object |
getBookmarkState(int levelOfDetail)
|
CellBuilder |
getCellBuilder()
Returns the cellBuilder. |
Axis |
getColumnAxis()
returns the column axis or null |
ColumnAxisBuilder |
getColumnAxisBuilder()
Returns the columnAxisBuilder. |
CornerBuilder |
getCornerBuilder()
Returns the cornerBuilder. |
int |
getDimCount()
returns the dimension count of the current result |
java.util.Map |
getExtensions()
provides access to the extensions thru JSP scripting |
OlapModel |
getOlapModel()
|
PropertyConfig |
getPropertyConfig()
returns the property config object that allows to adjust visible properties |
Result |
getResult()
returns the current result |
org.w3c.dom.Element |
getRootElement()
returns the root DOM element that is rendered |
Axis |
getRowAxis()
returns the row axis or null |
RowAxisBuilder |
getRowAxisBuilder()
Returns the rowAxisBuilder. |
SlicerBuilder |
getSlicerBuilder()
Returns the slicerBuilder. |
void |
initialize(com.tonbeller.wcf.controller.RequestContext context)
deferred ctor called once by the creating tag |
org.w3c.dom.Element |
insert(java.lang.String name,
org.w3c.dom.Element parent)
utility - creates an element an inserts it before the first child |
boolean |
isDirty()
true means that render() will create a new DOM |
void |
modelChanged(ModelChangeEvent e)
model data have changed, e.g. user has navigated |
org.w3c.dom.Document |
render(com.tonbeller.wcf.controller.RequestContext context)
main entry point |
void |
request(com.tonbeller.wcf.controller.RequestContext context)
|
void |
setBookmarkState(java.lang.Object state)
|
void |
setCellBuilder(CellBuilder cellBuilder)
Sets the cellBuilder. |
void |
setColumnAxisBuilder(ColumnAxisBuilder columnAxisBuilder)
Sets the columnAxisBuilder. |
void |
setCornerBuilder(CornerBuilder cornerBuilder)
Sets the cornerBuilder. |
void |
setDirty(boolean dirty)
|
void |
setOlapModel(OlapModel newOlapModel)
|
void |
setRowAxisBuilder(RowAxisBuilder rowAxisBuilder)
Sets the rowAxisBuilder. |
void |
setSlicerBuilder(SlicerBuilder slicerBuilder)
Sets the slicerBuilder. |
void |
structureChanged(ModelChangeEvent e)
major change, e.g. extensions added/removed |
protected Result |
updateOlapModel()
|
Methods inherited from class com.tonbeller.wcf.component.ComponentSupport |
---|
addFormListener, getDispatcher, getForm, getId, getLocale, getNextView, getParent, getRoleExpr, isAutoValidate, isListeningTo, isVisible, removeFormListener, revert, setAutoValidate, setId, setNextView, setParent, setRoleExpr, setVisible, validate, valueBound, valueUnbound |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableComponent(java.lang.String id, com.tonbeller.wcf.component.Component parent)
public TableComponent(java.lang.String id, com.tonbeller.wcf.component.Component parent, OlapModel newOlapModel)
public TableComponent()
setOlapModel(com.tonbeller.jpivot.olap.model.OlapModel)
Method Detail |
---|
public void setOlapModel(OlapModel newOlapModel)
public void initialize(com.tonbeller.wcf.controller.RequestContext context) throws java.lang.Exception
initialize
in interface com.tonbeller.wcf.component.LifeCycle
initialize
in class com.tonbeller.wcf.component.ComponentSupport
java.lang.Exception
public void destroy(javax.servlet.http.HttpSession session) throws java.lang.Exception
destroy
in interface com.tonbeller.wcf.component.LifeCycle
destroy
in class com.tonbeller.wcf.component.ComponentSupport
java.lang.Exception
public java.lang.Object getBookmarkState(int levelOfDetail)
getBookmarkState
in interface com.tonbeller.wcf.bookmarks.Bookmarkable
getBookmarkState
in class com.tonbeller.wcf.component.ComponentSupport
public void setBookmarkState(java.lang.Object state)
setBookmarkState
in interface com.tonbeller.wcf.bookmarks.Bookmarkable
setBookmarkState
in class com.tonbeller.wcf.component.ComponentSupport
public java.util.Iterator clickableIterator()
public void request(com.tonbeller.wcf.controller.RequestContext context) throws java.lang.Exception
request
in interface com.tonbeller.wcf.controller.RequestListener
request
in class com.tonbeller.wcf.component.ComponentSupport
java.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.Renderable
java.lang.Exception
protected Result updateOlapModel() throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element elem(java.lang.String name)
public org.w3c.dom.Element append(java.lang.String name, org.w3c.dom.Element parent)
public org.w3c.dom.Element insert(java.lang.String name, org.w3c.dom.Element parent)
public java.lang.Object cdata(java.lang.String content, org.w3c.dom.Element parent)
public OlapModel getOlapModel()
public void addExtension(TableComponentExtension extension)
public java.util.Map getExtensions()
public boolean isDirty()
public void setDirty(boolean dirty)
public void modelChanged(ModelChangeEvent e)
ModelChangeListener
modelChanged
in interface ModelChangeListener
public void structureChanged(ModelChangeEvent e)
ModelChangeListener
structureChanged
in interface ModelChangeListener
public CellBuilder getCellBuilder()
public ColumnAxisBuilder getColumnAxisBuilder()
public CornerBuilder getCornerBuilder()
public RowAxisBuilder getRowAxisBuilder()
public SlicerBuilder getSlicerBuilder()
public void setCellBuilder(CellBuilder cellBuilder)
cellBuilder
- The cellBuilder to setpublic void setColumnAxisBuilder(ColumnAxisBuilder columnAxisBuilder)
columnAxisBuilder
- The columnAxisBuilder to setpublic void setCornerBuilder(CornerBuilder cornerBuilder)
cornerBuilder
- The cornerBuilder to setpublic void setRowAxisBuilder(RowAxisBuilder rowAxisBuilder)
rowAxisBuilder
- The rowAxisBuilder to setpublic void setSlicerBuilder(SlicerBuilder slicerBuilder)
slicerBuilder
- The slicerBuilder to setpublic Result getResult()
public int getDimCount()
public org.w3c.dom.Element getRootElement()
public Axis getRowAxis()
public Axis getColumnAxis()
public PropertyConfig getPropertyConfig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |