public class RMCrossTabCol extends java.lang.Object implements java.lang.Cloneable, Archivable
Constructor and Description |
---|
RMCrossTabCol() |
Modifier and Type | Method and Description |
---|---|
void |
addCell(RMCrossTabCell aCell)
Adds a cell at end of column.
|
void |
addCell(RMCrossTabCell aCell,
int anIndex)
Adds a cell at given index.
|
RMCrossTabCol |
clone()
Returns a basic clone of this object.
|
java.lang.Object |
fromXML(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
double |
getBestWidth()
Returns the best height for the row.
|
RMCrossTabCell |
getCell(int anIndex)
Returns the specific child cell at the given index in the list of unique cells for this row.
|
int |
getCellCount()
Returns the number of cells in this row.
|
RMCrossTabDivider |
getDivider(int anIndex)
Returns the specific divider at given index.
|
int |
getDividerCount()
Returns the divider count.
|
java.util.List<RMCrossTabDivider> |
getDividers()
Returns the dividers for this column.
|
int |
getIndex()
Returns the index of this column in the table.
|
double |
getMaxX()
Returns the max x of this column.
|
double |
getWidth()
Returns the width of this column.
|
float |
getX()
Returns the x of this column.
|
RMCrossTabCell |
removeCell(int anIndex)
Removes a cell at given index.
|
void |
resetDividers()
Resets dividers so they will be recalculated.
|
protected void |
setCell(RMCrossTabCell aCell,
int anIndex)
Sets the cell at given index.
|
void |
setWidth(double aWidth)
Sets the width of this column.
|
RXElement |
toXML(RXArchiver anArchiver)
XML archival.
|
public int getIndex()
public int getCellCount()
public RMCrossTabCell getCell(int anIndex)
protected void setCell(RMCrossTabCell aCell, int anIndex)
public void addCell(RMCrossTabCell aCell)
public void addCell(RMCrossTabCell aCell, int anIndex)
public RMCrossTabCell removeCell(int anIndex)
public float getX()
public double getWidth()
public void setWidth(double aWidth)
public double getMaxX()
public double getBestWidth()
public int getDividerCount()
public RMCrossTabDivider getDivider(int anIndex)
public java.util.List<RMCrossTabDivider> getDividers()
public void resetDividers()
public RMCrossTabCol clone()
clone
in class java.lang.Object
public RXElement toXML(RXArchiver anArchiver)
toXML
in interface Archivable
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
fromXML
in interface Archivable