| |
|
| java.lang.Object com.salmonllc.html.HtmlTableCellProperties
TOP_LEFT | public static HtmlTableCellProperties TOP_LEFT(Code) | | The following constants cover most uses of HtmlTableCellProperties.
They are to be used instead of creating local instances page after page.
|
HtmlTableCellProperties | public HtmlTableCellProperties()(Code) | | Constructs a new empty object
|
HtmlTableCellProperties | public HtmlTableCellProperties(String align, String vAlign, String backGroundColor, boolean wrap)(Code) | | Constructs a new object with all the properties set
Parameters: align - Valid values are HtmlTable.ALIGN_LEFT,HtmlTable.ALIGN_CENTER,HtmlTable.ALIGN_RIGHT,HtmlTable.ALIGN_NONE Parameters: vAlign - Valid values are HtmlTable.VALIGN_BASELINE,HtmlTable.VALIGN_BOTTOM,HtmlTable.VALIGN_MIDDLE and HtmlTable.VALIGN_TOP. Parameters: backGroundColor - The background color for the cell. Parameters: wrap - True if the contents of the cell should word wrap. |
getAlign | public String getAlign()(Code) | | Returns the alignment for the cell. Values are HtmlTable.ALIGN_CENTER, HtmlTable.ALIGN_RIGHT, HtmlTable.ALIGN_LEFT, HtmlTable.ALIGN_NONE
|
getBackgroundColor | public String getBackgroundColor()(Code) | | Returns the background color for the cell
|
getCellHeight | public int getCellHeight()(Code) | | This method gets the height of the table cell.
|
getCellHeightSizeOption | public int getCellHeightSizeOption()(Code) | | This method gets the height size option of the table cell.
|
getCellWidth | public int getCellWidth()(Code) | | This method gets the width of the table cell.
|
getCellWidthSizeOption | public int getCellWidthSizeOption()(Code) | | This method gets the width size option of the table cell.
|
getColumnSpan | public int getColumnSpan()(Code) | | This method gets the column span for a table cell
|
getOnClick | public String getOnClick()(Code) | | Use this method to get the javascript that will be executed when the user clicks on one of the components in the link.
|
getOnMouseDown | public String getOnMouseDown()(Code) | | Use this method to get the javascript that will be executed when mouse clicks on the components with either mouse button
|
getOnMouseOut | public String getOnMouseOut()(Code) | | Use this method to get the javascript that will be executed when the mouse passes over out of all the components
|
getOnMouseOver | public String getOnMouseOver()(Code) | | Use this method to get the javascript that will be executed when the mouse passes over any component in the link
|
getOnMouseUp | public String getOnMouseUp()(Code) | | Use this method to get the javascript that will be executed when releases a mouse button while the mouse is over the component
|
getRowSpan | public int getRowSpan()(Code) | | This method gets the column span for a table cell
|
getStyle | public HtmlStyle getStyle()(Code) | | This method was created in VisualAge.
com.salmonllc.html.HtmlStyle |
getVertAlign | public String getVertAlign()(Code) | | Sets the vertical align property for the page. Valid values are HtmlTable.VALIGN_BASELINE,HtmlTable.VALIGN_BOTTOM,HtmlTable.VALIGN_MIDDLE,HtmlTable.VALIGN_TOP,HtmlTable.VALIGN_NONE
|
getWrap | public boolean getWrap()(Code) | | true false indicating whether the text in the component should wrap or not
|
setAlign | public void setAlign(String value)(Code) | | Sets the alignment for the cell. Values are HtmlTable.ALIGN_CENTER, HtmlTable.ALIGN_RIGHT, HtmlTable.ALIGN_LEFT, HtmlTable.ALIGN_NONE
|
setBackgroundColor | public void setBackgroundColor(String color)(Code) | | Sets the bacground color for the cell.
|
setCellHeight | public void setCellHeight(int cellHeight)(Code) | | This method sets the height of the table cell. Overerides table column height.
Parameters: cellHeight - the height of the cell |
setCellHeight | public void setCellHeight(int cellHeight, int sizeOption)(Code) | | This method sets the height of the table cell. Overerides table column height.
Parameters: cellHeight - the height of the cell Parameters: sizeOption - SIZE_PIXELS or SIZE_PERCENT |
setCellHeightSizeOption | public void setCellHeightSizeOption(int sizeOption)(Code) | | This method sets the height size option for the cell
Parameters: sizeOption - SIZE_PIXELS or SIZE_PERCENT |
setCellWidth | public void setCellWidth(int cellWidth)(Code) | | This method sets the width of the table cell. Overerides table column width.
Parameters: cellWidth - the width of the cell |
setCellWidth | public void setCellWidth(int cellWidth, int sizeOption)(Code) | | This method sets the width of the table cell. Overerides table column width.
Parameters: cellWidth - the width of the cell Parameters: sizeOption - SIZE_PIXELS or SIZE_PERCENT |
setCellWidthSizeOption | public void setCellWidthSizeOption(int sizeOption)(Code) | | This method sets the width size option for the cell
Parameters: sizeOption - SIZE_PIXELS or SIZE_PERCENT |
setColumnSpan | public void setColumnSpan(int colSpan)(Code) | | This method sets the column span for a table cell
Parameters: colSpan - the number of columns to span |
setOnClick | public void setOnClick(String onClick)(Code) | | Use this method to set the javascript that will be executed when the user clicks on one of the components in the link.
|
setOnMouseDown | public void setOnMouseDown(String onMouseDown)(Code) | | Use this method to get the javascript that will be executed when mouse clicks on the components with either mouse button
|
setOnMouseOut | public void setOnMouseOut(String onMouseOut)(Code) | | Use this method to set the javascript that will be executed when the mouse passes over out of all the components
|
setOnMouseOver | public void setOnMouseOver(String onMouseOver)(Code) | | Use this method to set the javascript that will be executed when the mouse passes over any component in the link
|
setOnMouseUp | public void setOnMouseUp(String onMouseUp)(Code) | | Use this method to get the javascript that will be executed when releases a mouse button while the mouse is over the component
|
setRowSpan | public void setRowSpan(int rowSpan)(Code) | | This method sets the column span for a table cell
Parameters: colSpan - the number of columns to span |
setStyle | public void setStyle(HtmlStyle style)(Code) | | This method was created in VisualAge.
Parameters: style - com.salmonllc.html.HtmlStyle |
setVertAlign | public void setVertAlign(String value)(Code) | | Sets the vertical align property for the page. Valid values are HtmlTable.VALIGN_BASELINE,HtmlTable.VALIGN_BOTTOM,HtmlTable.VALIGN_MIDDLE,HtmlTable.VALIGN_TOP,HtmlTable.VALIGN_NONE
|
setWrap | public void setWrap(boolean value)(Code) | | Sets whether or not the text in the cell should wrap if there isn't enough room to display it.
|
|
|
|