|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.table.PartBuilderSupport com.tonbeller.jpivot.table.AxisBuilderSupport
public abstract class AxisBuilderSupport
Created on 24.10.2002
Field Summary | |
---|---|
protected AxisHeaderBuilder |
axisHeaderBuilder
|
protected int |
headerSpan
|
protected int |
hierarchyHeader
|
protected boolean |
memberIndent
|
protected int |
memberSpan
|
protected PropertySpanBuilder |
propertySpanBuilder
|
protected boolean |
showParentMembers
|
protected SpanBuilder |
spanBuilder
|
protected SpanCalc |
spanCalc
|
Fields inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
---|
table |
Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
---|
EXTENSIONAL, INTENSIONAL |
Fields inherited from interface com.tonbeller.jpivot.table.AxisConfig |
---|
HIERARCHY_HEADER, HIERARCHY_LEVEL_HEADER, LEVEL_HEADER, NO_HEADER |
Fields inherited from interface com.tonbeller.jpivot.table.span.SpanDirections |
---|
HIERARCHY_SPAN, HIERARCHY_THEN_POSITION_SPAN, NO_SPAN, POSITION_SPAN, POSITION_THEN_HIERARCHY_SPAN |
Constructor Summary | |
---|---|
protected |
AxisBuilderSupport(SpanBuilder spanBuilder)
|
Method Summary | |
---|---|
protected void |
buildHeading(org.w3c.dom.Element row,
Span span,
int rowspan,
int colspan,
boolean even)
builds a single cell of the axis. |
void |
destroy(javax.servlet.http.HttpSession session)
destructor, called once after session timeout |
protected abstract Axis |
getAxis()
returns the row/column axis or null if result is 1- or 0-dimensional |
AxisConfig |
getAxisConfig()
|
AxisHeaderBuilder |
getAxisHeaderBuilder()
|
java.lang.Object |
getBookmarkState(int levelOfDetail)
stores settings for Member Properties. |
int |
getHeaderSpan()
Returns the headerSpan. |
int |
getHierarchyHeader()
Returns the hierarchyHeader. |
int |
getMemberSpan()
Returns the memberSpan. |
PropertyConfig |
getPropertyConfig()
|
SpanBuilder |
getSpanBuilder()
Returns the spanBuilder. |
SpanCalc |
getSpanCalc()
only valid between startBuild() and stopBuild() |
protected void |
initialize(Axis axis)
called from startBuild() |
void |
initialize(com.tonbeller.wcf.controller.RequestContext context,
TableComponent table)
deferred ctor, called once after creation |
boolean |
isMemberIndent()
Returns the memberIndent. |
boolean |
isShowParentMembers()
Returns the showParentMembers. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
setAxisHeaderBuilder(AxisHeaderBuilder axisHeaderBuilder)
|
void |
setBookmarkState(java.lang.Object state)
restores settings for Member Properties. |
void |
setHeaderSpan(int headerSpan)
Sets the headerSpan. |
void |
setHierarchyHeader(int hierarchyHeader)
Sets the hierarchyHeader. |
void |
setMemberIndent(boolean memberIndent)
Sets the memberIndent. |
void |
setMemberSpan(int memberSpan)
Sets the memberSpan. |
void |
setShowParentMembers(boolean showParentMembers)
Sets the showParentMembers. |
void |
setSpanBuilder(SpanBuilder spanBuilder)
Sets the spanBuilder. |
void |
startBuild(com.tonbeller.wcf.controller.RequestContext context)
called before the DOM is built after the TableRenderer has been fully initialized |
void |
stopBuild()
called after the DOM has been built. |
Methods inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
---|
isAvailable, setDirty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.tonbeller.jpivot.table.AxisBuilder |
---|
buildRow, getColumnCount, getRowCount |
Methods inherited from interface com.tonbeller.jpivot.table.PartBuilder |
---|
isAvailable |
Field Detail |
---|
protected SpanCalc spanCalc
protected SpanBuilder spanBuilder
protected PropertySpanBuilder propertySpanBuilder
protected AxisHeaderBuilder axisHeaderBuilder
protected boolean showParentMembers
protected boolean memberIndent
protected int hierarchyHeader
protected int memberSpan
protected int headerSpan
Constructor Detail |
---|
protected AxisBuilderSupport(SpanBuilder spanBuilder)
Method Detail |
---|
public void initialize(com.tonbeller.wcf.controller.RequestContext context, TableComponent table) throws java.lang.Exception
PartBuilder
initialize
in interface PartBuilder
initialize
in class PartBuilderSupport
java.lang.Exception
public void destroy(javax.servlet.http.HttpSession session) throws java.lang.Exception
PartBuilder
destroy
in interface PartBuilder
destroy
in class PartBuilderSupport
java.lang.Exception
protected void initialize(Axis axis)
public boolean isShowParentMembers()
isShowParentMembers
in interface AxisConfig
public void setShowParentMembers(boolean showParentMembers)
setShowParentMembers
in interface AxisConfig
showParentMembers
- The showParentMembers to setpublic SpanBuilder getSpanBuilder()
getSpanBuilder
in interface AxisBuilder
SpanBuilder
public void setSpanBuilder(SpanBuilder spanBuilder)
setSpanBuilder
in interface AxisBuilder
spanBuilder
- The spanBuilder to setSpanBuilder
public boolean isMemberIndent()
isMemberIndent
in interface AxisConfig
public void setMemberIndent(boolean memberIndent)
setMemberIndent
in interface AxisConfig
memberIndent
- The memberIndent to setpublic AxisConfig getAxisConfig()
getAxisConfig
in interface AxisBuilder
com.tonbeller.jpivot.ui.table.AxisBuilder#getAxisConfig()
public int getHeaderSpan()
getHeaderSpan
in interface AxisConfig
public int getHierarchyHeader()
getHierarchyHeader
in interface AxisConfig
public int getMemberSpan()
getMemberSpan
in interface AxisConfig
public void setHeaderSpan(int headerSpan)
setHeaderSpan
in interface AxisConfig
headerSpan
- The headerSpan to setpublic void setHierarchyHeader(int hierarchyHeader)
setHierarchyHeader
in interface AxisConfig
hierarchyHeader
- The hierarchyHeader to setpublic void setMemberSpan(int memberSpan)
setMemberSpan
in interface AxisConfig
memberSpan
- The memberSpan to setprotected abstract Axis getAxis()
public void startBuild(com.tonbeller.wcf.controller.RequestContext context)
PartBuilder
startBuild
in interface PartBuilder
startBuild
in class PartBuilderSupport
public void stopBuild()
PartBuilder
stopBuild
in interface PartBuilder
stopBuild
in class PartBuilderSupport
public SpanCalc getSpanCalc()
getSpanCalc
in interface AxisBuilder
protected void buildHeading(org.w3c.dom.Element row, Span span, int rowspan, int colspan, boolean even)
row
- public PropertyConfig getPropertyConfig()
getPropertyConfig
in interface AxisConfig
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public java.lang.Object getBookmarkState(int levelOfDetail)
getBookmarkState
in interface com.tonbeller.wcf.bookmarks.Bookmarkable
getBookmarkState
in class PartBuilderSupport
public void setBookmarkState(java.lang.Object state)
setBookmarkState
in interface com.tonbeller.wcf.bookmarks.Bookmarkable
setBookmarkState
in class PartBuilderSupport
public AxisHeaderBuilder getAxisHeaderBuilder()
getAxisHeaderBuilder
in interface AxisBuilder
public void setAxisHeaderBuilder(AxisHeaderBuilder axisHeaderBuilder)
setAxisHeaderBuilder
in interface AxisBuilder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |