The IWP_TableCell interface contains public methods that set properties for table cells. Note: An IWP_TableCell object may only be obtained by first getting an IWP_Table object. The public methods are organized into the following categories:
Return | Function Call | Description |
String | getText() | returns the cell contents |
void | setText(String) | sets the cell's text contents after deleting current contents |
Return | Function Call | Description |
void | setAlignment(String alignment) | sets alignment to specified alignment - left, right or center |
String | getAlignment() | returns the alignment |
void | setVAlign(String align) | sets the vertical alignment - top, middle or bottom |
String | getVAlign() | returns the vertical alignment of the cells |
Return | Function Call | Description |
void | setColSpan(int numCols) | specifies how many columns are connected |
int | getColSpan() | returns how many columns are connected |
void | setRowSpan(int numRows) | specifies how many rows are connected |
int | getRowSpan() | returns how many rows are connected |
Return | Function Call | Description |
void | setBackgroundColor(Color c) | sets the cell's background color |
Color | getBackgroundColor() | returns the cell's background color |
void | setBorderColor(Color c) | sets the cell's border color |
Color | getBorderColor() | returns the cell's border color |
void | setBackgroundImage(String alt) | sets the cell's background image |
String | getBackgroundImage() | returns the cell's background image |
void | setBackgroundImageTiled(boolean tiled) | sets the cell's background image tiled option on/off |
boolean | isBackgroundImageTiled() | returns true if the cell's background image is tiled |
Return | Function Call | Description |
String | getName() | returns the cell's name |
void | setName(String name) | sets the cell's name |