![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Column
public class Column
Represents a single column in a worksheet.
Method Summary | |
---|---|
void |
applyStyle(Style style,
StyleFlag flag)
Applies formattings for a whole column. |
int |
compareTo(Column colTo)
Compares this Column with another one for order. |
int |
compareTo(int indexTo)
Compares this Column with another one that has given column index for order. |
int |
getIndex()
Gets the index of this column. |
int |
getKey()
Gets the comparable key of this Column. |
Style |
getRefStyle()
Gets the style setting for the column. |
Style |
getStyle()
Gets the style setting for the column. |
boolean |
isUsingDefaultWidth()
Indicates whether column has default column width. |
void |
setKey(int key)
Sets the comparable key of this Column. |
void |
setStyle(Style style)
Sets a style to the column. |
void |
setUseDefaultWidth(boolean isUsingDefaultWidth)
Sets whether column has default column width. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Style getStyle()
CellsException
- if the worksheet has been removed from the workbook.public void setStyle(Style style)
style
- style to set.
CellsException
- if the worksheet has been removed from the workbook.public void applyStyle(Style style, StyleFlag flag)
style
- The style object which will be applied.flag
- Flags which indicates applied formatting properties.public Style getRefStyle()
CellsException
- if the worksheet has been removed from the workbook.public final int getIndex()
public boolean isUsingDefaultWidth()
public void setUseDefaultWidth(boolean isUsingDefaultWidth)
isUsingDefaultWidth
- column has default column width.public int compareTo(int indexTo)
indexTo
- the column index to be compared with the column index of this Column.
public int compareTo(Column colTo)
colTo
- the Column to be compared with this one.
public int getKey()
getIndex()
.
public void setKey(int key)
key
- key value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |