|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.components.HTMLComponent
wt.templateutil.components.HTMLTableCellComponent
wt.templateutil.table.PDMLinkTableHeader
Generates the Column Headers for the PDMLinkHTMLTable data columns. The presentation of the sorting links, sorting icons, column hiding links, column hiding icons, and column title are all handled by this class.
There are a number of presentation properties with defaults set in properties files with
overrides posible from script calls.
Supported API: false
Extendable: false
Field Summary | |
protected static String |
ALT_START
Deprecated. |
protected static String |
ANCHOR_END
Deprecated. |
protected static String |
ANCHOR_START
Deprecated. |
protected static String |
BORDER_START
Deprecated. |
protected static String |
COLLAPSE_JAVASCRIPT_START
Deprecated. |
protected ColumnCollapseService |
collapseService
Deprecated. |
protected static String |
COLUMN_CLOSED_ICON
Deprecated. |
protected static String |
COLUMN_ICON_BORDER
Deprecated. |
protected static String |
COLUMN_NAME
Deprecated. |
protected static String |
COLUMN_OPEN_ICON
Deprecated. |
protected String |
columnName
Deprecated. |
static String |
COMPONENT_ID_TABLE_HEADER_SUFFIX
Deprecated. |
protected static String |
EMPTY_STRING
Deprecated. |
protected static String |
ENABLE_COL_COLLAPSE_PREF
Deprecated. |
protected static String |
ENABLE_SORTING_PREF
Deprecated. |
protected static String |
FALSE
Deprecated. |
protected static String |
FRONT_SPACER
Deprecated. |
protected static String |
HEADER_TEXT_ICON_SPACER
Deprecated. |
protected static String |
IMG_START
Deprecated. |
protected static String |
IS_EMPTY
Deprecated. |
protected boolean |
isEmpty
Deprecated. |
protected static String |
JAVASCRIPT_END
Deprecated. |
protected boolean |
showCollapseIcon
Deprecated. |
protected boolean |
showSortLink
Deprecated. |
protected static String |
SORT_DOWN_ICON
Deprecated. |
protected static String |
SORT_ICON_BORDER
Deprecated. |
protected static String |
SORT_JAVASCRIPT_START
Deprecated. |
protected static String |
SORT_UP_ICON
Deprecated. |
protected ColumnSortService |
sortService
Deprecated. |
protected static String |
SRC_START
Deprecated. |
protected static String |
TABLE_TAB_NOT_SELECT
Deprecated. |
protected static String |
TABLE_TAB_SELECT
Deprecated. |
protected static String |
TAG_END
Deprecated. |
protected static String |
TITLE_START
Deprecated. |
protected PrintWriter |
writer
Deprecated. |
Fields inherited from class wt.templateutil.components.HTMLTableCellComponent |
ALIGN, BGCOLOR, COLSPAN, HEIGHT, NOWRAP, ROWSPAN, showBold, TAG, TD_ALIGN, TD_CLASS, TD_COLSPAN, TD_HEIGHT, TD_ID, TD_NOWRAP, TD_ROWSPAN, TD_VALIGN, TD_WIDTH, VALIGN, WIDTH |
Fields inherited from class wt.templateutil.components.HTMLComponent |
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, ID, ID_US_ENGLISH_LOCALE, NAME, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW |
Constructor Summary | |
PDMLinkTableHeader()
Deprecated. |
Method Summary | |
String |
getCollapseIcon(Object value,
Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
protected ColumnCollapseService |
getCollapseService()
Deprecated. |
protected String |
getIconTag(String src,
String border,
String alt,
boolean addSpace)
Deprecated. |
String |
getSortIcon(Object value,
Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
protected ColumnSortService |
getSortService()
Deprecated. |
String |
getTitleStr(Object value,
Properties formData,
Locale locale,
OutputStream os)
Deprecated. |
String |
getTitleWithLink(Object value,
Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
private PrintWriter |
getWriter(OutputStream out,
Locale locale)
Deprecated. |
void |
init(String selector,
Object value,
HTMLComponentFactory componentFactory,
String mode,
Properties props)
Deprecated. Determines whether the cell should be displayed in Bold font and then calls the super class init method. |
void |
setShowCollapseIcon(boolean showCollapseIcon)
Deprecated. |
void |
setShowSortLink(boolean showSortLink)
Deprecated. |
String |
showSubComponents(Object value,
Properties formData,
OutputStream os,
Locale locale)
Deprecated. Handles displaying the bold tag if the contents should be bold. |
Methods inherited from class wt.templateutil.components.HTMLTableCellComponent |
getTag, isShowBold, setShowBold, setTagListArray, startComponent |
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, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String SORT_UP_ICON
protected static final String SORT_DOWN_ICON
protected static final String SORT_ICON_BORDER
protected static final String COLUMN_CLOSED_ICON
protected static final String COLUMN_OPEN_ICON
protected static final String COLUMN_ICON_BORDER
protected static final String TABLE_TAB_SELECT
protected static final String TABLE_TAB_NOT_SELECT
protected static final String FRONT_SPACER
protected static final String COLUMN_NAME
protected static final String IS_EMPTY
protected static final String FALSE
protected static final String ANCHOR_START
protected static final String COLLAPSE_JAVASCRIPT_START
protected static final String SORT_JAVASCRIPT_START
protected static final String JAVASCRIPT_END
protected static final String ANCHOR_END
protected static final String IMG_START
protected static final String BORDER_START
protected static final String ALT_START
protected static final String TITLE_START
protected static final String SRC_START
protected static final String TAG_END
protected static final String EMPTY_STRING
protected static final String ENABLE_SORTING_PREF
protected static final String ENABLE_COL_COLLAPSE_PREF
protected static final String HEADER_TEXT_ICON_SPACER
public static final String COMPONENT_ID_TABLE_HEADER_SUFFIX
protected ColumnSortService sortService
protected ColumnCollapseService collapseService
protected PrintWriter writer
protected String columnName
protected boolean showSortLink
protected boolean showCollapseIcon
protected boolean isEmpty
Constructor Detail |
public PDMLinkTableHeader()
Method Detail |
public void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props)
HTMLTableCellComponent
init
in class HTMLTableCellComponent
selector
- value
- componentFactory
- mode
- props
- public String showSubComponents(Object value, Properties formData, OutputStream os, Locale locale)
HTMLTableCellComponent
showSubComponents
in class HTMLTableCellComponent
public String getSortIcon(Object value, Properties parameters, Locale locale, OutputStream os)
public String getCollapseIcon(Object value, Properties parameters, Locale locale, OutputStream os)
public String getTitleStr(Object value, Properties formData, Locale locale, OutputStream os)
protected ColumnSortService getSortService()
private PrintWriter getWriter(OutputStream out, Locale locale)
protected ColumnCollapseService getCollapseService()
public String getTitleWithLink(Object value, Properties parameters, Locale locale, OutputStream os)
public void setShowSortLink(boolean showSortLink)
public void setShowCollapseIcon(boolean showCollapseIcon)
protected String getIconTag(String src, String border, String alt, boolean addSpace)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |