|
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.TextTablePropertyStore
public class TextTablePropertyStore
The TextTablePropertyStore. Actually does nothing more than that : get a table and stores its properties (noteably : the proeprties are not changned
Field Summary |
---|
Fields inherited from interface ag.ion.bion.officelayer.text.ITextTableProperties |
---|
TYPE_ID |
Constructor Summary | |
---|---|
TextTablePropertyStore(ITextTable table)
Construcs the texttable property store. |
Method Summary | |
---|---|
int[] |
getCellWidths()
Gets the width of the cells. |
int |
getColumns()
Returns a count (the number) of the columns in the table. |
IProperties |
getProperties()
Returns the properties. |
int |
getRows()
Get number (count) of rows in the table, "mirrored" by the property store. |
TextTableColumnsSeparator[] |
getTableColumnSeparators()
Gets the column seperator of the table |
long |
getWidth()
Gets the currently set width of the table, |
boolean |
repeatHeadline()
Checks if the headline is to be repeated. |
void |
setCellWidths(int[] width)
Sets the cell width (this method overwrites previous settings) |
void |
setColumns(int number)
Sets the number of columns in the tables. |
void |
setRepeatHeadline(boolean repeatHeadline)
Sets the repeat haedline propertie (so this indicates if the headline is to be repeated over serveral pages). |
void |
setRows(int number)
Sets the number of rows of this table. |
void |
setTableColumnSeparators(TextTableColumnsSeparator[] textTableColumnsSeparators)
Sets the column seperators of the table |
void |
setWidth(long width)
Sets the table width (this method overwrites previous settings). |
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 TextTablePropertyStore(ITextTable table) throws TextException
table
- the table from which to gain the properties
TextException
Method Detail |
---|
public IProperties getProperties()
getProperties
in interface IPropertyStore
getProperties
in class AbstractPropertyStore
public void setCellWidths(int[] width)
setCellWidths
in interface ITextTablePropertyStore
width
- an array containing the individual cell widthpublic void setWidth(long width)
setWidth
in interface ITextTablePropertyStore
width
- the table width to be setpublic void setRows(int number)
setRows
in interface ITextTablePropertyStore
rows
- the number of rowspublic void setColumns(int number)
setColumns
in interface ITextTablePropertyStore
number
- the number of columns to be set to the tablepublic void setRepeatHeadline(boolean repeatHeadline) throws TextException
setRepeatHeadline
in interface ITextTableProperties
repeatHeadline
- if set to true the headline is repeated otherwise not
TextException
- if the property can not be setpublic boolean repeatHeadline() throws TextException
repeatHeadline
in interface ITextTableProperties
TextException
- if the property is not availablepublic int[] getCellWidths() throws TextException
getCellWidths
in interface ITextTableProperties
TextException
- if the property is not availablepublic long getWidth() throws TextException
getWidth
in interface ITextTableProperties
TextException
- if the property is not availablepublic TextTableColumnsSeparator[] getTableColumnSeparators() throws TextException
getTableColumnSeparators
in interface ITextTableProperties
TextException
- if the property is not availablepublic void setTableColumnSeparators(TextTableColumnsSeparator[] textTableColumnsSeparators) throws TextException
setTableColumnSeparators
in interface ITextTableProperties
columnseperators
- the columnseperators to be set to the table
TextException
- if the property is not availablepublic int getColumns()
getColumns
in interface ITextTablePropertyStore
public int getRows()
getRows
in interface ITextTablePropertyStore
|
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 |