|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tonbeller.jpivot.table.PartBuilderSupport
com.tonbeller.jpivot.table.AxisBuilderSupport
com.tonbeller.jpivot.table.RowAxisBuilderImpl
public class RowAxisBuilderImpl
common functionality for row axis builders
| Field Summary |
|---|
| Fields inherited from class com.tonbeller.jpivot.table.AxisBuilderSupport |
|---|
axisHeaderBuilder, headerSpan, hierarchyHeader, memberIndent, memberSpan, propertySpanBuilder, showParentMembers, spanBuilder, 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 | |
|---|---|
RowAxisBuilderImpl()
|
|
| Method Summary | |
|---|---|
void |
buildHeaderRow(org.w3c.dom.Element parent,
int rowIndex)
builds a row for the corner element |
void |
buildRow(org.w3c.dom.Element parent,
int rowIndex)
appends one <row-heading> or multiple >column-heading< elements to parent. |
protected Axis |
getAxis()
returns the row/column axis or null if result is 1- or 0-dimensional |
int |
getColumnCount()
returns the number of columns. |
int |
getHeaderRowCount()
return the number of rows needed for the header (corner element) |
SpanCalc |
getHeaderSpanCalc()
returns the SpanCalc for header if present. return null otherwise |
int |
getPositionHeader()
Returns the positionHeader. |
int |
getRowCount()
returns the number of rows. |
void |
initialize(Axis axis)
called from startBuild |
void |
setPositionHeader(int positionHeader)
Sets the positionHeader. |
void |
stopBuild()
called after the DOM has been built. |
| Methods inherited from class com.tonbeller.jpivot.table.AxisBuilderSupport |
|---|
buildHeading, destroy, getAxisConfig, getAxisHeaderBuilder, getBookmarkState, getHeaderSpan, getHierarchyHeader, getMemberSpan, getPropertyConfig, getSpanBuilder, getSpanCalc, initialize, isMemberIndent, isShowParentMembers, propertyChange, setAxisHeaderBuilder, setBookmarkState, setHeaderSpan, setHierarchyHeader, setMemberIndent, setMemberSpan, setShowParentMembers, setSpanBuilder, startBuild |
| 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 |
|---|
getAxisConfig, getAxisHeaderBuilder, getSpanBuilder, getSpanCalc, setAxisHeaderBuilder, setSpanBuilder |
| Methods inherited from interface com.tonbeller.jpivot.table.PartBuilder |
|---|
destroy, initialize, isAvailable, startBuild |
| Methods inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
|---|
getBookmarkState, setBookmarkState |
| Methods inherited from interface com.tonbeller.jpivot.table.AxisConfig |
|---|
getHeaderSpan, getHierarchyHeader, getMemberSpan, getPropertyConfig, isMemberIndent, isShowParentMembers, setHeaderSpan, setHierarchyHeader, setMemberIndent, setMemberSpan, setShowParentMembers |
| Constructor Detail |
|---|
public RowAxisBuilderImpl()
| Method Detail |
|---|
public void buildRow(org.w3c.dom.Element parent,
int rowIndex)
AxisBuilder
buildRow in interface AxisBuilderparent - a <row> element containing headings (and cells)rowIndex - - index of the row to buildpublic int getColumnCount()
AxisBuilder
getColumnCount in interface AxisBuildercom.tonbeller.jpivot.ui.table.AxisBuilder#getColumnCount()public int getRowCount()
AxisBuilder
getRowCount in interface AxisBuildercom.tonbeller.jpivot.ui.table.AxisBuilder#getRowCount()public int getPositionHeader()
getPositionHeader in interface RowAxisConfigpublic void setPositionHeader(int positionHeader)
setPositionHeader in interface RowAxisConfigpositionHeader - The positionHeader to set
public void buildHeaderRow(org.w3c.dom.Element parent,
int rowIndex)
RowAxisBuilder
buildHeaderRow in interface RowAxisBuilderpublic int getHeaderRowCount()
RowAxisBuilder
getHeaderRowCount in interface RowAxisBuilderpublic SpanCalc getHeaderSpanCalc()
RowAxisBuilder
getHeaderSpanCalc in interface RowAxisBuilderpublic void initialize(Axis axis)
initialize in class AxisBuilderSupportpublic void stopBuild()
PartBuilder
stopBuild in interface PartBuilderstopBuild in class AxisBuilderSupportprotected Axis getAxis()
AxisBuilderSupport
getAxis in class AxisBuilderSupport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||