|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arctorus.documents.table.CellStyle
public final class CellStyle
Style of a table cell. Contains alignment and fill style of a cell
By default any new created cell has next properties:
Method Summary | |
---|---|
CellStyle |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
FillFormat |
getFillFormat()
Get fill properties of a cell. |
HorizontalAlignmentType |
getHorizontalAlignment()
Get horizontal alignment of a cell content. |
CellStyleId |
getId()
Get Id of this cell style. |
TextRotationType |
getTextRotationType()
Get text rotation of a cell. |
VerticalAlignmentType |
getVerticalAlignment()
Get vertical alignment of a cell content. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isShrinkToFit()
Determines whether the text in the cell should be shrunk to fit the cell width. |
boolean |
isWrapText()
Determines whether the text should be wrapped in a cell. |
void |
setFillFormat(FillFormat fillFormat)
Set fill properties of a cell. |
void |
setHorizontalAlignment(HorizontalAlignmentType horizontalAlignment)
Set horizontal alignment of a cell content. |
void |
setShrinkToFit(boolean shrinkToFit)
Set whether the text in the cell should be shrunk to fit the cell width. |
void |
setTextRotationType(TextRotationType textRotationType)
Set text rotation of a cell. |
void |
setVerticalAlignment(VerticalAlignmentType verticalAlignment)
Set vertical alignment of a cell. |
void |
setWrapText(boolean wrapText)
Set whether the text should be wrapped in a cell. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public HorizontalAlignmentType getHorizontalAlignment()
public void setHorizontalAlignment(HorizontalAlignmentType horizontalAlignment)
horizontalAlignment
- new horizontal alignment.public VerticalAlignmentType getVerticalAlignment()
public void setVerticalAlignment(VerticalAlignmentType verticalAlignment)
verticalAlignment
- new vertical alignment.public FillFormat getFillFormat()
public void setFillFormat(FillFormat fillFormat)
fillFormat
- new fill properties.public TextRotationType getTextRotationType()
public void setTextRotationType(TextRotationType textRotationType)
textRotationType
- new text rotation type.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean isShrinkToFit()
public void setShrinkToFit(boolean shrinkToFit)
shrinkToFit
- true to shrink the text.public boolean isWrapText()
public void setWrapText(boolean wrapText)
wrapText
- true to wrap the text.public CellStyleId getId()
public CellStyle clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |