|
|||||||||||
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.HTMLImgComponent
wt.templateutil.components.ActionIconComponent
Supported API: false
Extendable: false
Field Summary | |
private String |
action
|
private static String |
CLASSNAME
|
private static String |
CODEBASE
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.templateutil.components.HTMLImgComponent |
ALIGN, ALT, BORDER, HEIGHT, HSPACE, IMG_ALIGN, IMG_ALT, IMG_BORDER, IMG_HEIGHT, IMG_HSPACE, IMG_ISMAP, IMG_LOWSRC, IMG_NAME, IMG_ONABORT, IMG_ONERROR, IMG_ONLOAD, IMG_SRC, IMG_SUPPRESS, IMG_TITLE, IMG_USEMAP, IMG_VSPACE, IMG_WIDTH, ISMAP, LOWSRC, NAME, ONABORT, ONERROR, ONLOAD, SRC, SUPPRESS, tag, TAG, TITLE, USEMAP, 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, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW |
Constructor Summary | |
ActionIconComponent()
|
Method Summary | |
private void |
actionValidate(String a_Action)
|
String |
getAction()
Gets the value of the attribute: action. |
private String |
getIconResource(Object obj,
String action)
Returns a String containing the URL to the icon for the given WTObject. |
String |
getObjectIconImgTag(Object value,
String action)
|
void |
init(String selector,
Object value,
HTMLComponentFactory componentFactory,
String mode,
Properties props)
Deprecated. |
void |
setAction(String a_Action)
Sets the value of the attribute: action. |
String |
showSubComponents(Object value,
Properties formData,
OutputStream os,
Locale locale)
Returns a string that is the contcatenation of the result of calling show() on all the associated subComponents sequentially. |
String |
startComponent(Object value,
Properties formData,
OutputStream os,
Locale locale)
Displays the standard format of a starting HTML tag include the opening less than, the tag name, the key value pairs that are the tag attributes, and the closing greater than. |
Methods inherited from class wt.templateutil.components.HTMLImgComponent |
getTag, setTagListArray |
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 |
private static final String RESOURCE
private static final String CLASSNAME
private String action
private static boolean VERBOSE
private static String CODEBASE
Constructor Detail |
public ActionIconComponent()
Method Detail |
public String getAction()
public void setAction(String a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
private void actionValidate(String a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
public void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props)
init
in class HTMLImgComponent
selector
- value
- componentFactory
- mode
- props
- public String getObjectIconImgTag(Object value, String action) throws WTException
WTException
private String getIconResource(Object obj, String action) throws WTException, PropertyVetoException, InvocationTargetException, IllegalAccessException
obj
- the WTObject for which a URL to the icon file is
returned
WTException
- if an error occurs retrieving the icon file
PropertyVetoException
- if an error occurs retrieving the
icon file
InvocationTargetException
- if an error occurs retrieving
the icon file
IllegalAccessException
- if an error occurs retrieving
the icon filepublic String showSubComponents(Object value, Properties formData, OutputStream os, Locale locale)
HTMLComponent
showSubComponents
in class HTMLComponent
value
- formData
- os
- locale
-
public String startComponent(Object value, Properties formData, OutputStream os, Locale locale)
HTMLComponent
startComponent
in class HTMLComponent
value
- formData
- os
- locale
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |