|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.remotefileselector2.BaseFieldRenderer
public abstract class BaseFieldRenderer
BaseFieldRenderer is the abstract base class for any renderers
used to control the display of the description row of the
RemoteFileSelector
.
The description row is the last column displayed in the file view area of
the RemoteFileSelector. The specific class used for rendering
the description row is the
ColumnAsRowCellRenderer
class. It displays this column as a row and it also controls whether
the description is visible or not. By default, the description is available
for each file and folder but it is hidden.
Renderers of this type should be used with the
TableView
transformation bean. The TableView class is used to construct an HTML table.
Field Summary |
---|
Fields inherited from interface com.sas.servlet.tbeans.HttpConstants |
---|
ALL, BASELINE, CHAR, COL, COLGROUP, JUSTIFY, MULTIPLE, NONE, ROW, ROWGROUP, SINGLE |
Constructor Summary | |
---|---|
BaseFieldRenderer()
Constructs a new BaseFieldRenderer. |
Method Summary | |
---|---|
java.lang.String |
getArrayName()
Returns the name of the array used to store the table cells containing descriptions. |
java.lang.String |
getName()
Returns name of the renderer. |
int |
getStartColumn()
Returns the start column. |
boolean |
isFieldRenderable()
Returns the status of the FieldRenderer which indicates whether anything is written out by the renderer. |
boolean |
isVisible()
Returns the visibility status for the renderer. |
void |
setArrayName(java.lang.String name)
Sets the name of the array used to store the table cells containing descriptions. |
void |
setFieldRenderable(boolean render)
Sets a status on the renderer to indicate whether anything should be rendered for the description or for the field. |
void |
setName(java.lang.String name)
Sets the name of the row renderer. |
void |
setStartColumn(int startIndex)
Sets the column where rendering will start. |
void |
setVisible(boolean visibility)
Sets the visibility attribute of the renderer. |
Methods inherited from class com.sas.servlet.tbeans.tableview.html.DefaultTableCellRenderer |
---|
getTableCellContentsRenderer, setTableCellContentsRenderer, write |
Methods inherited from class com.sas.servlet.tbeans.tableview.html.BaseTableCell |
---|
getBgColor, getColSpan, getCustomAttributes, getHeaders, getHeight, getHeightPercentage, getHorizontalAlignment, getId, getLocale, getRowSpan, getScope, getStyleInfo, getVerticalAlignment, getWidth, getWidthPercentage, isHeader, isNoWrap, setBgColor, setColSpan, setCustomAttributes, setHeader, setHeaders, setHeight, setHeightPercentage, setHorizontalAlignment, setId, setLocale, setNoWrap, setRowSpan, setScope, setStyleInfo, setVerticalAlignment, setWidth, setWidthPercentage, writeBeginCell, writeEndCell |
Methods inherited from interface com.sas.servlet.tbeans.tableview.TableCellRenderer |
---|
getLocale, setLocale |
Methods inherited from interface com.sas.servlet.tbeans.tableview.TableCell |
---|
isHeader, setHeader, writeBeginCell, writeEndCell |
Constructor Detail |
---|
public BaseFieldRenderer()
Method Detail |
---|
public void setName(java.lang.String name)
name
- row renderer namegetName()
public java.lang.String getName()
setName(String)
public void setVisible(boolean visibility)
true
then the display status of the <tr>
tag is
block
, otherwise it is none
.
Therefore, the column data is
displayed when the visibility is
set to true
and the column
data is hidden when
the visibility is set to false
.
visibility
- the visibility status of
the description or the column data. If
true
, the
description is displayed, otherwise
the description is hidden.isVisible()
public boolean isVisible()
false
by defaultsetVisible(boolean)
public void setFieldRenderable(boolean render)
false
. This will
also prevent rendering of the
description. Thus, nothing will
be rendered for the column that uses
this renderer if render
is set to false.
render
- true
by
default, the field
data and JavaScript are renderedisFieldRenderable()
,
ColumnAsRowCellRenderer
public boolean isFieldRenderable()
setFieldRenderable(boolean)
public void setArrayName(java.lang.String name)
name
- name of array containing <td> elementsgetArrayName()
public java.lang.String getArrayName()
setArrayName(String)
public void setStartColumn(int startIndex)
startIndex
- starting point for rendering the
field datapublic int getStartColumn()
setStartColumn(int)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |