public class RMCrossTabColumn
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
RMCrossTabColumn()
Creates a new column.
|
RMCrossTabColumn(RMCrossTab aTable)
Creates a new column for the given table.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a basic clone of this object.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival.
|
RMCrossTabCell |
getCell(int anIndex)
Returns the specific child cell at the given index in the list of unique cells for this column.
|
int |
getCellCount()
Returns the number of cells in this column.
|
RMCrossTabDivider |
getDivider(int anIndex)
Returns the specific divider at given index.
|
int |
getDividerCount()
Returns the divider count.
|
java.util.List |
getDividers()
Returns the dividers for this column.
|
int |
getIndex()
Returns the index of this column in the table.
|
float |
getMaxX()
Returns the max x of this column.
|
RMCrossTab |
getTable()
Returns the row's parent table.
|
float |
getWidth()
Returns the width of this column.
|
float |
getX()
Returns the x of this column.
|
void |
resetDividers()
Resets dividers so they will be recalculated.
|
void |
setWidth(double aWidth)
Sets the width of this column.
|
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival.
|
public RMCrossTabColumn()
public RMCrossTabColumn(RMCrossTab aTable)
public RMCrossTab getTable()
public int getIndex()
public int getCellCount()
public RMCrossTabCell getCell(int anIndex)
public float getX()
public float getWidth()
public void setWidth(double aWidth)
public float getMaxX()
public int getDividerCount()
public RMCrossTabDivider getDivider(int anIndex)
public java.util.List getDividers()
public void resetDividers()
public boolean equals(java.lang.Object anObj)
equals
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)