|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.pivot.PivotHeaderContext
public class PivotHeaderContext
The information context for assisting rendering, representing a PivotHeaderNode or a subtotal Calculator slot in columns or rows.
| Constructor Summary | |
|---|---|
PivotHeaderContext(int displayIndex)
|
|
PivotHeaderContext(PivotHeaderNode node,
Calculator calculator,
int displayIndex)
|
|
| Method Summary | |
|---|---|
Calculator |
getCalculator()
Returns the subtotal Calculator if the context represents a subtotal slot, null otherwise. |
int |
getDisplayIndex()
Returns the displayed index of the slot in columns or rows. |
PivotHeaderNode |
getNode()
Returns the PivotHeaderNode corresponding to the slot. |
boolean |
isGrandTotal()
Return true is the context represents a grand total rank. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PivotHeaderContext(int displayIndex)
public PivotHeaderContext(PivotHeaderNode node,
Calculator calculator,
int displayIndex)
| Method Detail |
|---|
public PivotHeaderNode getNode()
public Calculator getCalculator()
public int getDisplayIndex()
public boolean isGrandTotal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||