wt.templateutil.table
Class PDMLinkTableHeader

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLTableCellComponent
          extended bywt.templateutil.table.PDMLinkTableHeader
Direct Known Subclasses:
ActionColumnTableHeader

public class PDMLinkTableHeader
extends HTMLTableCellComponent

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

SORT_UP_ICON

protected static final String SORT_UP_ICON
Deprecated. 

SORT_DOWN_ICON

protected static final String SORT_DOWN_ICON
Deprecated. 

SORT_ICON_BORDER

protected static final String SORT_ICON_BORDER
Deprecated. 

COLUMN_CLOSED_ICON

protected static final String COLUMN_CLOSED_ICON
Deprecated. 

COLUMN_OPEN_ICON

protected static final String COLUMN_OPEN_ICON
Deprecated. 

COLUMN_ICON_BORDER

protected static final String COLUMN_ICON_BORDER
Deprecated. 

TABLE_TAB_SELECT

protected static final String TABLE_TAB_SELECT
Deprecated. 

TABLE_TAB_NOT_SELECT

protected static final String TABLE_TAB_NOT_SELECT
Deprecated. 

FRONT_SPACER

protected static final String FRONT_SPACER
Deprecated. 
See Also:
Constant Field Values

COLUMN_NAME

protected static final String COLUMN_NAME
Deprecated. 
See Also:
Constant Field Values

IS_EMPTY

protected static final String IS_EMPTY
Deprecated. 
See Also:
Constant Field Values

FALSE

protected static final String FALSE
Deprecated. 
See Also:
Constant Field Values

ANCHOR_START

protected static final String ANCHOR_START
Deprecated. 
See Also:
Constant Field Values

COLLAPSE_JAVASCRIPT_START

protected static final String COLLAPSE_JAVASCRIPT_START
Deprecated. 
See Also:
Constant Field Values

SORT_JAVASCRIPT_START

protected static final String SORT_JAVASCRIPT_START
Deprecated. 
See Also:
Constant Field Values

JAVASCRIPT_END

protected static final String JAVASCRIPT_END
Deprecated. 
See Also:
Constant Field Values

ANCHOR_END

protected static final String ANCHOR_END
Deprecated. 
See Also:
Constant Field Values

IMG_START

protected static final String IMG_START
Deprecated. 
See Also:
Constant Field Values

BORDER_START

protected static final String BORDER_START
Deprecated. 
See Also:
Constant Field Values

ALT_START

protected static final String ALT_START
Deprecated. 
See Also:
Constant Field Values

TITLE_START

protected static final String TITLE_START
Deprecated. 
See Also:
Constant Field Values

SRC_START

protected static final String SRC_START
Deprecated. 
See Also:
Constant Field Values

TAG_END

protected static final String TAG_END
Deprecated. 
See Also:
Constant Field Values

EMPTY_STRING

protected static final String EMPTY_STRING
Deprecated. 
See Also:
Constant Field Values

ENABLE_SORTING_PREF

protected static final String ENABLE_SORTING_PREF
Deprecated. 
See Also:
Constant Field Values

ENABLE_COL_COLLAPSE_PREF

protected static final String ENABLE_COL_COLLAPSE_PREF
Deprecated. 
See Also:
Constant Field Values

HEADER_TEXT_ICON_SPACER

protected static final String HEADER_TEXT_ICON_SPACER
Deprecated. 

COMPONENT_ID_TABLE_HEADER_SUFFIX

public static final String COMPONENT_ID_TABLE_HEADER_SUFFIX
Deprecated. 
See Also:
Constant Field Values

sortService

protected ColumnSortService sortService
Deprecated. 

collapseService

protected ColumnCollapseService collapseService
Deprecated. 

writer

protected PrintWriter writer
Deprecated. 

columnName

protected String columnName
Deprecated. 

showSortLink

protected boolean showSortLink
Deprecated. 

showCollapseIcon

protected boolean showCollapseIcon
Deprecated. 

isEmpty

protected boolean isEmpty
Deprecated. 
Constructor Detail

PDMLinkTableHeader

public PDMLinkTableHeader()
Deprecated. 
Method Detail

init

public void init(String selector,
                 Object value,
                 HTMLComponentFactory componentFactory,
                 String mode,
                 Properties props)
Deprecated. 
Description copied from class: HTMLTableCellComponent
Determines whether the cell should be displayed in Bold font and then calls the super class init method.

Supported API: true

Overrides:
init in class HTMLTableCellComponent
Parameters:
selector -
value -
componentFactory -
mode -
props -

showSubComponents

public String showSubComponents(Object value,
                                Properties formData,
                                OutputStream os,
                                Locale locale)
Deprecated. 
Description copied from class: HTMLTableCellComponent
Handles displaying the bold tag if the contents should be bold. If the contents should not be bold it just cals the superclass showSubComponents method.

Supported API: true

Overrides:
showSubComponents in class HTMLTableCellComponent
Returns:
String

getSortIcon

public String getSortIcon(Object value,
                          Properties parameters,
                          Locale locale,
                          OutputStream os)
Deprecated. 

getCollapseIcon

public String getCollapseIcon(Object value,
                              Properties parameters,
                              Locale locale,
                              OutputStream os)
Deprecated. 

getTitleStr

public String getTitleStr(Object value,
                          Properties formData,
                          Locale locale,
                          OutputStream os)
Deprecated. 

getSortService

protected ColumnSortService getSortService()
Deprecated. 

getWriter

private PrintWriter getWriter(OutputStream out,
                              Locale locale)
Deprecated. 

getCollapseService

protected ColumnCollapseService getCollapseService()
Deprecated. 

getTitleWithLink

public String getTitleWithLink(Object value,
                               Properties parameters,
                               Locale locale,
                               OutputStream os)
Deprecated. 

setShowSortLink

public void setShowSortLink(boolean showSortLink)
Deprecated. 

setShowCollapseIcon

public void setShowCollapseIcon(boolean showCollapseIcon)
Deprecated. 

getIconTag

protected String getIconTag(String src,
                            String border,
                            String alt,
                            boolean addSpace)
Deprecated.