wt.templateutil.components
Class SelectActionHTMLCellComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLTableCellComponent
          extended bywt.templateutil.components.DefaultHTMLCellComponent
              extended bywt.templateutil.components.SelectActionHTMLCellComponent
All Implemented Interfaces:
ApplicationContextChild

public class SelectActionHTMLCellComponent
extends DefaultHTMLCellComponent
implements ApplicationContextChild


Field Summary
private  String actionBarName
           
private  ApplicationContext applicationContext
           
private static int BASE_BUFFER_SIZE
           
private static String CLASSNAME
           
private static boolean DEBUG
           
private static DebugWriter LOG
           
 
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
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
SelectActionHTMLCellComponent()
           
 
Method Summary
protected  String[][] buildSelectedList(NavigationTreeModel treeModel, Locale locale)
           
 String getActionBarName(Properties props)
           
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: APPLICATION_CONTEXT.
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Sets the object for the association that plays role: APPLICATION_CONTEXT.
 String showSubComponents(Object value, Properties formData, OutputStream os, Locale locale)
          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

applicationContext

private ApplicationContext applicationContext

BASE_BUFFER_SIZE

private static final int BASE_BUFFER_SIZE
See Also:
Constant Field Values

actionBarName

private String actionBarName

CLASSNAME

private static final String CLASSNAME

DEBUG

private static final boolean DEBUG

LOG

private static final DebugWriter LOG
Constructor Detail

SelectActionHTMLCellComponent

public SelectActionHTMLCellComponent()
Method Detail

showSubComponents

public String showSubComponents(Object value,
                                Properties formData,
                                OutputStream os,
                                Locale locale)
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

buildSelectedList

protected String[][] buildSelectedList(NavigationTreeModel treeModel,
                                       Locale locale)

getActionBarName

public String getActionBarName(Properties props)
                        throws WTException
Throws:
WTException

getApplicationContext

public ApplicationContext getApplicationContext()
Description copied from interface: ApplicationContextChild
Gets the object for the association that plays role: APPLICATION_CONTEXT.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Description copied from interface: ApplicationContextChild
Sets the object for the association that plays role: APPLICATION_CONTEXT.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException