wt.templateutil.components
Class ActionHTMLCellComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLTableCellComponent
          extended bywt.templateutil.components.DefaultHTMLCellComponent
              extended bywt.templateutil.components.ActionHTMLCellComponent

public class ActionHTMLCellComponent
extends DefaultHTMLCellComponent

Used to generate the Cells in the Action Row for the Multi-select and Context Object Action sections. Each cell contains an Icon for the action and a Title for the action. Both the Icon and Title are hyperlinked to the action. The Icon is retrieved using the IconDelegateFactory based on the context object for the page. The Title is retrieved from the NavBarURLActionDelegate that is used to generate the link.

To select a different HTMLCellComponent subclass to generate the cells in the Action Row, set the wt.properties entry, wt.actionrowtable.cell.component, to reference the desired HTMLCellComponent subclass.

Supported API: false

Extendable: false


Field Summary
private static int BASE_BUFFER_SIZE
          Deprecated.  
protected static String COMPONENT_ID_ICON_SUFFIX
          Deprecated.  
protected static String COMPONENT_ID_TEXT_SUFFIX
          Deprecated.  
private static String EMTPY_STRING
          Deprecated.  
static String NO_ACTION_BAR_LINK_TEXT
          Deprecated.  
private static String SP_REL_URL
          Deprecated.  
private  String spLink
          Deprecated.  
private static String STR_4_1
          Deprecated.  
private static String STR_4_2
          Deprecated.  
private static String STR_5
          Deprecated.  
private static String STR_6
          Deprecated.  
private static String STR_6_1
          Deprecated.  
private static String STR_7_1
          Deprecated.  
private static String STR_7_1_1
          Deprecated.  
private static String STR_7_2
          Deprecated.  
private static String STR_8
          Deprecated.  
private static String STR_9
          Deprecated.  
 
Fields inherited from class wt.templateutil.components.DefaultHTMLCellComponent
COMPONENT_ID_CELL_SUFFIX, defaultComponent
 
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, EMPTY_STRING, ID, ID_US_ENGLISH_LOCALE, NAME, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW
 
Constructor Summary
ActionHTMLCellComponent()
          Deprecated.  
 
Method Summary
protected  String getActionEntry(NavigationTreeNode node, Properties formData, OutputStream os, Locale locale)
          Deprecated.  
protected  String getIconHref(NavigationTreeNode node, Properties formData, Locale locale)
          Deprecated.  
 String getSpLink()
          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.DefaultHTMLCellComponent
init, initComponent, setDefaultCellAlignment
 
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

BASE_BUFFER_SIZE

private static final int BASE_BUFFER_SIZE
Deprecated. 
See Also:
Constant Field Values

SP_REL_URL

private static final String SP_REL_URL
Deprecated. 
See Also:
Constant Field Values

EMTPY_STRING

private static final String EMTPY_STRING
Deprecated. 
See Also:
Constant Field Values

STR_4_1

private static final String STR_4_1
Deprecated. 
See Also:
Constant Field Values

STR_4_2

private static final String STR_4_2
Deprecated. 
See Also:
Constant Field Values

STR_5

private static final String STR_5
Deprecated. 
See Also:
Constant Field Values

STR_6

private static final String STR_6
Deprecated. 
See Also:
Constant Field Values

STR_6_1

private static final String STR_6_1
Deprecated. 
See Also:
Constant Field Values

STR_7_1

private static final String STR_7_1
Deprecated. 
See Also:
Constant Field Values

STR_7_1_1

private static final String STR_7_1_1
Deprecated. 
See Also:
Constant Field Values

STR_7_2

private static final String STR_7_2
Deprecated. 
See Also:
Constant Field Values

STR_8

private static final String STR_8
Deprecated. 
See Also:
Constant Field Values

STR_9

private static final String STR_9
Deprecated. 
See Also:
Constant Field Values

spLink

private String spLink
Deprecated. 

COMPONENT_ID_ICON_SUFFIX

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

COMPONENT_ID_TEXT_SUFFIX

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

NO_ACTION_BAR_LINK_TEXT

public static final String NO_ACTION_BAR_LINK_TEXT
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ActionHTMLCellComponent

public ActionHTMLCellComponent()
Deprecated. 
Method Detail

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

getIconHref

protected String getIconHref(NavigationTreeNode node,
                             Properties formData,
                             Locale locale)
Deprecated. 

getActionEntry

protected String getActionEntry(NavigationTreeNode node,
                                Properties formData,
                                OutputStream os,
                                Locale locale)
Deprecated. 

getSpLink

public String getSpLink()
Deprecated.