|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CellFormat
Interface for cell formats
Method Summary | |
---|---|
Alignment |
getAlignment()
Gets the horizontal cell alignment |
Colour |
getBackgroundColour()
Gets the background colour used by this cell |
BorderLineStyle |
getBorder(Border border)
Gets the line style for the given cell border If a border type of ALL or NONE is specified, then a line style of NONE is returned |
Colour |
getBorderColour(Border border)
Gets the colour for the given cell border If a border type of ALL or NONE is specified, then a line style of NONE is returned If the specified cell does not have an associated line style, then the colour the line would be is still returned |
BorderLineStyle |
getBorderLine(Border border)
Gets the line style for the given cell border If a border type of ALL or NONE is specified, then a line style of NONE is returned |
Font |
getFont()
Gets the font information used by this format |
Format |
getFormat()
Gets the format used by this format |
Orientation |
getOrientation()
Gets the orientation |
Pattern |
getPattern()
Gets the pattern used by this cell format |
VerticalAlignment |
getVerticalAlignment()
Gets the vertical cell alignment |
boolean |
getWrap()
Gets whether or not the contents of this cell are wrapped |
boolean |
hasBorders()
Determines if this cell format has any borders at all. |
boolean |
isLocked()
Accessor for whether a particular cell is locked |
boolean |
isShrinkToFit()
Gets the shrink to fit flag |
Method Detail |
---|
Alignment getAlignment()
Colour getBackgroundColour()
BorderLineStyle getBorder(Border border)
border
- the cell border we are interested in
Colour getBorderColour(Border border)
border
- the cell border we are interested in
BorderLineStyle getBorderLine(Border border)
border
- the cell border we are interested in
Font getFont()
Format getFormat()
Orientation getOrientation()
Pattern getPattern()
VerticalAlignment getVerticalAlignment()
boolean getWrap()
boolean hasBorders()
boolean isLocked()
boolean isShrinkToFit()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |