|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.Container
com.sapportals.htmlb.EventValidationContainer
| Field Summary |
| Fields inherited from class com.sapportals.htmlb.Container |
elements |
| Constructor Summary | |
EventValidationContainer()
|
|
EventValidationContainer(String id)
|
|
| Method Summary | |
ArrayList |
getAllValidators()
returns all validators, user defined (application validator) and type validaors, for theis component |
String |
getClientEvent(EventTrigger trigger)
gets a client event handler (in Javascript) from the list of the events |
HashMap |
getClientEventMap()
|
String |
getErrorText()
returns the error text used for validation |
Event |
getServerEvent(EventTrigger trigger)
gets an event handler from the list of the events |
HashMap |
getServerEventMap()
|
Validator |
getValidator()
returns application specific validator to the component |
boolean |
isDisabled()
Deprecated. return if this button is currently disabled |
boolean |
isEnabled()
return if this button is currently disabled |
boolean |
isRequiresValidation()
determines if the validation is required or not before submitting server event |
void |
renderJavascriptInterface(IPageContext renderContext,
String generatedId)
|
void |
setClientEvent(EventTrigger trigger,
String javascript)
adds a client event handler (in Javascript) to the list of the events null removes the event for the given trigger |
void |
setDisabled(boolean disabled)
Deprecated. disable or enable this button |
void |
setEnabled(boolean enabled)
disable or enable this button |
void |
setErrorText(String errortext)
sets the error text for the validation |
void |
setServerEvent(EventTrigger trigger,
Event event)
adds an event handler to the list of the events |
void |
setValidator(Validator validator)
sets an application specific validator to the component null removes the validator |
| Methods inherited from class com.sapportals.htmlb.Container |
addComponent, addRawText, addText, getChildCount, iterator, preRender, removeComponent, render |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, getUI, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EventValidationContainer()
public EventValidationContainer(String id)
| Method Detail |
public void setValidator(Validator validator)
setValidator in interface IEventValidationComponentvalidator - a validator to be assigned to the componentValidatorpublic Validator getValidator()
getValidator in interface IEventValidationComponentValidatorpublic ArrayList getAllValidators()
getAllValidators in interface IEventValidationComponentpublic void setErrorText(String errortext)
setErrorText in interface IEventValidationComponentpublic String getErrorText()
getErrorText in interface IEventValidationComponent
public void setClientEvent(EventTrigger trigger,
String javascript)
setClientEvent in interface IEventValidationComponenttrigger - triggering event, @see com.sapportals.htmlb.enum.EventTriggerjavascript - javascript to execute, be sure to specify return valuepublic String getClientEvent(EventTrigger trigger)
getClientEvent in interface IEventValidationComponenttrigger - triggering event, @see com.sapportals.htmlb.enum.EventTrigger
public void setServerEvent(EventTrigger trigger,
Event event)
setServerEvent in interface IEventValidationComponenttrigger - triggering event, @see com.sapportals.htmlb.enum.EventTriggerevent - object, @see com.sapportals.htmlb.event.Eventpublic Event getServerEvent(EventTrigger trigger)
getServerEvent in interface IEventValidationComponenttrigger - triggering event, @see com.sapportals.htmlb.enum.EventTrigger
public HashMap getClientEventMap()
getClientEventMap in interface IEventValidationComponentpublic HashMap getServerEventMap()
getServerEventMap in interface IEventValidationComponentpublic boolean isDisabled()
isDisabled in interface IEventValidationComponentpublic void setDisabled(boolean disabled)
setDisabled in interface IEventValidationComponentdisabled - true if the button should be
disabledpublic boolean isEnabled()
isEnabled in interface IEventValidationComponentpublic void setEnabled(boolean enabled)
setEnabled in interface IEventValidationComponent
public void renderJavascriptInterface(IPageContext renderContext,
String generatedId)
public boolean isRequiresValidation()
IEventValidationComponent
isRequiresValidation in interface IEventValidationComponent
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||