|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.table.span.Span
public class Span
contains info about one cell of an table axis.
Constructor Summary | |
---|---|
Span(Axis axis,
Position position,
Displayable object)
|
|
Span(Displayable object)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
Axis |
getAxis()
Returns the axis. |
int |
getHierarchyIndex()
Returns the hierarchyIndex. |
int |
getHierarchySpan()
Returns the hierarchySpan. |
int |
getIndent()
|
Member |
getMember()
shorthand for (Member)span.getObject() |
Displayable |
getObject()
Returns the data of this axis cell. |
Position |
getPosition()
Returns the position. |
int |
getPositionIndex()
Returns the positionIndex. |
int |
getPositionSpan()
Returns the positionSpan. |
boolean |
isMember()
true if this span denotes a member. |
boolean |
isSignificant()
true, if this introduces a new span, i.e. is positioned on the upper left of a multi column or multi row field. |
void |
setAxis(Axis axis)
Sets the axis. |
void |
setIndent(int i)
|
void |
setObject(Displayable object)
Sets the object. |
void |
setPosition(Position position)
Sets the position. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Span(Axis axis, Position position, Displayable object)
public Span(Displayable object)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getHierarchySpan()
public Displayable getObject()
public void setObject(Displayable object)
object
- The object to setpublic int getPositionSpan()
public Axis getAxis()
public Position getPosition()
public Member getMember()
public int getHierarchyIndex()
public int getPositionIndex()
public boolean isMember()
public java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()
public boolean isSignificant()
public void setAxis(Axis axis)
axis
- The axis to setpublic void setPosition(Position position)
position
- The position to setpublic int getIndent()
public void setIndent(int i)
i
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |