|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.internal.beans.AbstractPropertyStore
ag.ion.bion.officelayer.internal.text.table.TextTableCellPropertyStore
public class TextTableCellPropertyStore
"Construct" to store the properties of a table cell, so that even when deleteing the original cell (and thus loosing the reference), we keep the cell information.
Field Summary |
---|
Fields inherited from interface ag.ion.bion.officelayer.text.ITextTableCellProperties |
---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_TOP, ALIGN_UNDEFINED, TYPE_ID |
Constructor Summary | |
---|---|
TextTableCellPropertyStore(ITextTableCell cell)
Constructs the TextTableCellPropertyStore |
Method Summary | |
---|---|
int |
getBackColor()
Returns the cell background color. |
java.lang.String |
getCellStyle()
Returns style of the cell. |
int |
getNumberFormat()
Returns number format. |
IProperties |
getProperties()
Returns the properties. |
short |
getVertOrient()
Returns the vertical alignment. |
void |
setBackColor(int color)
Sets the CellBackColor, this overwrites previously stored values. |
void |
setCellStyle(java.lang.String cellStyle)
Sets style of the cell. |
void |
setNumberFormat(int numberFormat)
Sets number format. |
void |
setVertOrient(short align)
Sets the vertical alignment in the cell, this overwrites previously stored values. |
Methods inherited from class ag.ion.bion.officelayer.internal.beans.AbstractPropertyStore |
---|
copyTo, getTypeID, getXPropertySet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ag.ion.bion.officelayer.beans.IProperties |
---|
copyTo, getTypeID, getXPropertySet |
Constructor Detail |
---|
public TextTableCellPropertyStore(ITextTableCell cell) throws TextException
cellXPropertySet
- the propertyset of the cell whose properties should be storedverticalPosition
- the column in which teh cell is positionedhorizontalPosition
- the row in which the cell is positioned
TextException
Method Detail |
---|
public IProperties getProperties()
getProperties
in interface IPropertyStore
getProperties
in class AbstractPropertyStore
public void setBackColor(int color) throws TextException
setBackColor
in interface ITextTableCellProperties
cell
- background color
TextException
- if the property is not availablepublic void setVertOrient(short align) throws TextException
setVertOrient
in interface ITextTableCellProperties
vertical
- alignment
TextException
- if the property is not availablepublic void setCellStyle(java.lang.String cellStyle) throws TextException
setCellStyle
in interface ITextTableCellProperties
cellStyle
- style of the cell
TextException
- if the property can not be modifiedpublic java.lang.String getCellStyle() throws TextException
getCellStyle
in interface ITextTableCellProperties
TextException
- if the property is not availablepublic void setNumberFormat(int numberFormat) throws TextException
setNumberFormat
in interface ITextTableCellProperties
numberFormat
- number format
TextException
- if the property can not be modifiedpublic int getNumberFormat() throws TextException
getNumberFormat
in interface ITextTableCellProperties
TextException
- if the property is not availablepublic int getBackColor() throws TextException
getBackColor
in interface ITextTableCellProperties
TextException
- if the property is not availablepublic short getVertOrient() throws TextException
getVertOrient
in interface ITextTableCellProperties
TextException
- if the property is not available.
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |