|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.gui.jspbeans.JSPAbstractComponent
Provides a base class to develop customized JSPBeans to use in JSP pages and generate HTML content
Field Summary | |
protected java.util.Hashtable |
_properties
|
static java.lang.String |
BOTTOM
|
static java.lang.String |
CENTER
|
static java.lang.String |
HARD
|
static java.lang.String |
LEFT
|
static java.lang.String |
NO
|
static java.lang.String |
NULL
|
static java.lang.String |
OFF
|
static java.lang.String |
RESET
|
static java.lang.String |
RIGHT
|
static java.lang.String |
SOFT
|
static java.lang.String |
SUBMIT
|
static java.lang.String |
TOP
|
static java.lang.String |
YES
|
Constructor Summary | |
JSPAbstractComponent()
JSPAbstractComponent constructor In this constructor all "EXISTING" properties must be created |
|
JSPAbstractComponent(JspContextServices anInterface,
java.lang.String aDataName)
JSPAbstractComponent constructor |
Method Summary | |
java.lang.String |
getDataName()
Returns the dataname associated to the bean |
java.util.Vector |
getErrorList()
Returns the list of errors associated to this bean as a Vector of Strings |
JspContextServices |
getInterface()
Returns the object implementing JSPContextServices that will access the operation's context |
java.lang.Object |
getProperty(java.lang.String aPropertyName)
Returns the value associated to the key that is passed as an argument. |
void |
putError(java.lang.String anErrorMessage)
Adds an error message to the error list of the bean |
java.lang.String |
renderError(java.lang.String aHTMLString)
Renders the error message associated to the dataname in the operation's context, as a result of the validation in the server side. |
protected java.lang.String |
renderLabel(java.lang.String aHTMLString)
Renders the label associated to the dataname in the operation's context. |
void |
setDataName(java.lang.String aName)
Sets the value of the dataname associated to the bean |
void |
setInterface(JspContextServices aJSPContextServices)
Sets the object that implements a JspContextServices used to access the operation's context |
void |
setProperty(java.lang.String aPropertyName,
java.lang.Object aPropertyValue)
Associates a value to a given key.Property names are case-sensitive |
abstract java.lang.String |
toHTMLString()
The renderer of the JSPBean |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.util.Hashtable _properties
public static final java.lang.String LEFT
public static final java.lang.String RIGHT
public static final java.lang.String CENTER
public static final java.lang.String TOP
public static final java.lang.String BOTTOM
public static final java.lang.String YES
public static final java.lang.String NO
public static final java.lang.String NULL
public static final java.lang.String OFF
public static final java.lang.String HARD
public static final java.lang.String SOFT
public static final java.lang.String SUBMIT
public static final java.lang.String RESET
Constructor Detail |
public JSPAbstractComponent()
public JSPAbstractComponent(JspContextServices anInterface, java.lang.String aDataName)
anInterface
- com.ibm.dse.cs.html.JspContextServicesaDataName
- java.lang.StringMethod Detail |
public java.lang.String getDataName()
public java.util.Vector getErrorList()
public JspContextServices getInterface()
public java.lang.Object getProperty(java.lang.String aPropertyName)
public void putError(java.lang.String anErrorMessage)
anErrorMessage
- java.lang.Stringpublic java.lang.String renderError(java.lang.String aHTMLString)
aHTMLString
- java.lang.Stringprotected java.lang.String renderLabel(java.lang.String aHTMLString)
aHTMLString
- java.lang.Stringpublic void setDataName(java.lang.String aName)
aName
- java.lang.Stringpublic void setInterface(JspContextServices aJSPContextServices)
aJSPContextServices
- com.ibm.dse.cs.html.JspContextServicespublic void setProperty(java.lang.String aPropertyName, java.lang.Object aPropertyValue)
aPropertyName
- java.lang.StringaPropertyValue
- java.lang.Stringpublic abstract java.lang.String toHTMLString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |