wt.templateutil.table
Class AttributeHTMLTable
java.lang.Object
wt.templateutil.components.HTMLComponent
wt.templateutil.components.HTMLTableComponent
wt.templateutil.table.HTMLTable
wt.templateutil.table.AttributeHTMLTable
- All Implemented Interfaces:
- HTMLTableColumnModel, Serializable
- public class AttributeHTMLTable
- extends HTMLTable
- implements Serializable
- See Also:
- Serialized Form
Fields inherited from class wt.templateutil.components.HTMLTableComponent |
ALIGN, BGCOLOR, BORDER, CELLPADDING, CELLSPACING, HEIGHT, HSPACE, TABLE_ALIGN, TABLE_BGCOLOR, TABLE_BORDER, TABLE_CELLPADDING, TABLE_CELLSPACING, TABLE_HEIGHT, TABLE_HSPACE, TABLE_VSPACE, TABLE_WIDTH, TAG, VSPACE, WIDTH |
Fields inherited from class wt.templateutil.components.HTMLComponent |
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, EMPTY_STRING, ID, ID_US_ENGLISH_LOCALE, NAME, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW |
Methods inherited from class wt.templateutil.table.HTMLTable |
add2Table, addColumn, addNewColumn, createDefaultColumnsFromModel, getCellComponent, getCellSelector, getColumn, getColumn, getColumnClass, getColumnCount, getColumnIndex, getColumnName, getColumns, getComponentFactory, getFormData, getHeaderSelector, getLocale, getMode, getOutputStream, getRowCount, getTableCellID, getTableColumnModel, getTableContext, getTableHeaderCellID, getTableModel, getUniqueTableCellTrailId, getValueAt, isDisplayHeader, isShowDirect, moveColumn, printHeaders, removeColumn, setCellSelector, setComponentFactory, setDisplayHeader, setFormData, setHeaderSelector, setLocale, setMode, setOutputStream, setShowDirect, setTableColumnModel, setTableContext, setTableModel, show, show |
Methods inherited from class wt.templateutil.components.HTMLComponent |
appendID, appendID, appendToID, appendToID, createIDForComponent, endComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, getTagID, getTagIDKey, getTagList, getTagSettings, getURLFactory, insertID, insertID, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, putTagID, putTagID, removeID, removeTagID, setHtmlComponents, setID, setInheritStyle, setName, setPrintTagAttributes, setServiceName, setState, setTag, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly, startComponent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
versionID
private static final String versionID
- See Also:
- Constant Field Values
DEFAULT_NAME_COLUMN_COMPONENT
private static final String DEFAULT_NAME_COLUMN_COMPONENT
DEFAULT_VALUE_COLUMN_COMPONENT
private static final String DEFAULT_VALUE_COLUMN_COMPONENT
VERBOSE
private static final boolean VERBOSE
nameColumnComponent
private HTMLComponent nameColumnComponent
valueColumnComponent
private HTMLComponent valueColumnComponent
AttributeHTMLTable
public AttributeHTMLTable(TableModel tableModel,
HTMLTableColumnModel tableColumnModel)
showSubComponents
public String showSubComponents(Object value,
Properties formData,
OutputStream os,
Locale locale)
- Description copied from class:
HTMLComponent
- Returns a string that is the contcatenation of the result of calling
show() on all the associated subComponents sequentially.
Supported API: true
- Overrides:
showSubComponents
in class HTMLTable
printRow
public String printRow(int rowNumber,
Object value,
Properties formData)
- Description copied from class:
HTMLTable
- Returns a string that represents one table row of data. Including
the opening and closing tags and the table cell tags. The data in
any given cell is encoded for display in the HTML UI.
Supported API: true
- Overrides:
printRow
in class HTMLTable
- Parameters:
rowNumber
- value
- formData
-
- Returns:
- String
getNameColumnComponent
protected HTMLComponent getNameColumnComponent()
setNameColumnComponent
protected void setNameColumnComponent(HTMLComponent nameColumnComponent)
getValueColumnComponent
protected HTMLComponent getValueColumnComponent()
setValueColumnComponent
protected void setValueColumnComponent(HTMLComponent valueColumnComponent)
getComponentByName
protected HTMLComponent getComponentByName(String className)