| 
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 IPropertyStoregetProperties in class AbstractPropertyStore
public void setBackColor(int color)
                  throws TextException
setBackColor in interface ITextTableCellPropertiescell - background color
TextException - if the property is not available
public void setVertOrient(short align)
                   throws TextException
setVertOrient in interface ITextTableCellPropertiesvertical - alignment
TextException - if the property is not available
public void setCellStyle(java.lang.String cellStyle)
                  throws TextException
setCellStyle in interface ITextTableCellPropertiescellStyle - style of the cell
TextException - if the property can not be modified
public java.lang.String getCellStyle()
                              throws TextException
getCellStyle in interface ITextTableCellPropertiesTextException - if the property is not available
public void setNumberFormat(int numberFormat)
                     throws TextException
setNumberFormat in interface ITextTableCellPropertiesnumberFormat - number format
TextException - if the property can not be modified
public int getNumberFormat()
                    throws TextException
getNumberFormat in interface ITextTableCellPropertiesTextException - if the property is not available
public int getBackColor()
                 throws TextException
getBackColor in interface ITextTableCellPropertiesTextException - if the property is not available
public short getVertOrient()
                    throws TextException
getVertOrient in interface ITextTableCellPropertiesTextException - 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 | ||||||||