Package com.reportmill.shape
Class RMCellColumn
java.lang.Object
com.reportmill.shape.RMCellColumn
- All Implemented Interfaces:
Cloneable
Provides info for a column in a cell table.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new column.RMCellColumn
(RMCellTable aTable) Creates a new column for the given table. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a basic clone of this object.fromXML
(RXArchiver anArchiver, RXElement anElement) XML unarchival.getCell
(int anIndex) Returns the specific child cell at the given index in the list of unique cells for this column.int
Returns the number of cells in this column.getDivider
(int anIndex) Returns the specific divider at given index.int
Returns the divider count.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.getTable()
Returns the row's parent table.float
getWidth()
Returns the width of this column.float
getX()
Returns the x of this column.void
Resets dividers so they will be recalculated.void
setWidth
(double aWidth) Sets the width of this column.toXML
(RXArchiver anArchiver) XML archival.
-
Constructor Details
-
RMCellColumn
public RMCellColumn()Creates a new column. -
RMCellColumn
Creates a new column for the given table.
-
-
Method Details
-
getTable
Returns the row's parent table. -
getIndex
public int getIndex()Returns the index of this column in the table. -
getCellCount
public int getCellCount()Returns the number of cells in this column. -
getCell
Returns the specific child cell at the given index in the list of unique cells for this column. -
getX
public float getX()Returns the x of this column. -
getWidth
public float getWidth()Returns the width of this column. -
setWidth
public void setWidth(double aWidth) Sets the width of this column. -
getMaxX
public float getMaxX()Returns the max x of this column. -
getDividerCount
public int getDividerCount()Returns the divider count. -
getDivider
Returns the specific divider at given index. -
getDividers
Returns the dividers for this column. -
resetDividers
public void resetDividers()Resets dividers so they will be recalculated. -
clone
Returns a basic clone of this object. -
toXML
XML archival. -
fromXML
XML unarchival.
-