Interface ScriptEventSupport
- All Known Subinterfaces:
CollectionGroup,Component,Container,ContentElement,Control,DataBinding,DataField,Field,Group,InputField,PageGroup,SelectControl,TextControl,Widget
- All Known Implementing Classes:
Accordion,AccordionGroup,Action,ActionField,ApplicationHeader,BlockUI,BreadcrumbItem,Breadcrumbs,CheckboxControl,CheckboxGroupControl,CollectionGroupBase,ComponentBase,ContainerBase,Content,ContentElementBase,ControlBase,DataFieldBase,DataTable,DatePicker,DialogGroup,Disclosure,Div,DocumentView,FieldBase,FieldGroup,FileControl,FormView,GenericField,GroupBase,GroupControl,GroupLinkField,Growls,Header,HeadLink,Help,HiddenControl,Icon,Iframe,IframeView,Image,ImageField,InputFieldBase,Inquiry,InquiryView,Label,LightBox,LightTable,Link,LinkField,LinkGroup,LocationSuggest,LookupInputField,LookupView,MaintenanceDocumentView,Message,MessageField,MessageView,MetaTag,MockView,MultiFileUploadCollection,MultiValueControlBase,NavigationBar,NextPager,NumberedPager,OptionListControl,PageGroupBase,Pager,PasswordControl,ProgressBar,ProgressBarField,QuickFinder,RadioGroupControl,RemoteFieldsHolder,RichTable,RoleLinkField,Scrollpane,SelectControlBase,SidebarNavigationGroup,Space,SpaceField,Spinner,SpinnerControl,StepProgressBar,Suggest,SyntaxHighlighter,TabGroup,TabNavigationGroup,Tabs,TextAreaControl,TextControlBase,ToggleMenu,Tooltip,TransactionalDocumentView,Tree,TreeGroup,UserControl,UserLinkField,View,ViewHeader,WidgetBase
public interface ScriptEventSupport
Declares methods for retrieving the event script code
The code returned by the get*Script methods will be wrapped in the appropriate event registration code, therefore only the body needs to be returned
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionScript that should be executed when the component's onBlur event is firedScript that should be executed when the component's onChange event is firedScript that should be executed when the component's onClick event is firedScript that should be executed when the component's onClose event is firedScript that should be executed when the component's onDblClick event is firedScript to be run when the document ready event is triggeredScript that should be executed when the component's onFocus event is firedScript that should be executed when the component's onInput event is firedScript that should be executed when the component's onKeyDown event is firedScript that should be executed when the component's onKeyPress event is firedScript that should be executed when the component's onKeyUp event is firedScript that should be executed when the component's onLoad event is firedScript that should be executed when the component's onMouseDown event is firedScript that should be executed when the component's onMouseMove event is firedScript that should be executed when the component's onMouseOut event is firedScript that should be executed when the component's onMouseOver event is firedScript that should be executed when the component's onMouseUp event is firedScript that should be executed when the component's onSubmit event is firedScript that should be executed when the component's onUnload event is firedvoidsetOnBlurScript(String onBlurScript) Script that should be executed when the component's onBlur event is firedvoidsetOnChangeScript(String onChangeScript) Setter for the components onChange scriptvoidsetOnClickScript(String onClickScript) Setter for the components onClick scriptvoidsetOnCloseScript(String onCloseScript) Setter for the components onClose scriptvoidsetOnDblClickScript(String onDblClickScript) Setter for the components onDblClick scriptvoidsetOnDocumentReadyScript(String onDocumentReadyScript) Setter for the components onDocumentReady scriptvoidsetOnFocusScript(String onFocusScript) Setter for the components onFocus scriptvoidsetOnInputScript(String onInputScript) Setter for the components onInput scriptvoidsetOnKeyDownScript(String onKeyDownScript) Setter for the components onKeyDown scriptvoidsetOnKeyPressScript(String onKeyPressScript) Setter for the components onKeyPress scriptvoidsetOnKeyUpScript(String onKeyUpScript) Setter for the components onKeyUp scriptvoidsetOnLoadScript(String onLoadScript) Script that should be executed when the component's onLoad event is firedvoidsetOnMouseDownScript(String onMouseDownScript) Setter for the components onMouseDown scriptvoidsetOnMouseMoveScript(String onMouseMoveScript) Setter for the components onMouseMove scriptvoidsetOnMouseOutScript(String onMouseOutScript) Setter for the components onMouseOut scriptvoidsetOnMouseOverScript(String onMouseOverScript) Setter for the components onMouseOver scriptvoidsetOnMouseUpScript(String onMouseUpScript) Setter for the components onMouseUp scriptvoidsetOnSubmitScript(String onSubmitScript) Setter for the components onSubmit scriptvoidsetOnUnloadScript(String onUnloadScript) Setter for the components onUnload script
-
Method Details
-
getOnLoadScript
String getOnLoadScript()Script that should be executed when the component's onLoad event is fired- Returns:
- String JavaScript code
-
setOnLoadScript
Script that should be executed when the component's onLoad event is fired- Parameters:
onLoadScript- JavaScript code
-
getOnDocumentReadyScript
String getOnDocumentReadyScript()Script to be run when the document ready event is triggered- Returns:
- the onDocumentReadyScript
-
setOnDocumentReadyScript
Setter for the components onDocumentReady script- Parameters:
onDocumentReadyScript-
-
getOnUnloadScript
String getOnUnloadScript()Script that should be executed when the component's onUnload event is fired- Returns:
- String JavaScript code
-
setOnUnloadScript
Setter for the components onUnload script- Parameters:
onUnloadScript-
-
getOnCloseScript
String getOnCloseScript()Script that should be executed when the component's onClose event is fired- Returns:
- String JavaScript code
-
setOnCloseScript
Setter for the components onClose script- Parameters:
onCloseScript-
-
getOnBlurScript
String getOnBlurScript()Script that should be executed when the component's onBlur event is fired- Returns:
- String JavaScript code
-
setOnBlurScript
Script that should be executed when the component's onBlur event is fired- Parameters:
onBlurScript- JavaScript code
-
getOnChangeScript
String getOnChangeScript()Script that should be executed when the component's onChange event is fired- Returns:
- String JavaScript code
-
setOnChangeScript
Setter for the components onChange script- Parameters:
onChangeScript-
-
getOnClickScript
String getOnClickScript()Script that should be executed when the component's onClick event is fired- Returns:
- String JavaScript code
-
setOnClickScript
Setter for the components onClick script- Parameters:
onClickScript-
-
getOnDblClickScript
String getOnDblClickScript()Script that should be executed when the component's onDblClick event is fired- Returns:
- String JavaScript code
-
setOnDblClickScript
Setter for the components onDblClick script- Parameters:
onDblClickScript-
-
getOnFocusScript
String getOnFocusScript()Script that should be executed when the component's onFocus event is fired- Returns:
- String JavaScript code
-
setOnFocusScript
Setter for the components onFocus script- Parameters:
onFocusScript-
-
getOnSubmitScript
String getOnSubmitScript()Script that should be executed when the component's onSubmit event is fired- Returns:
- String JavaScript code
-
setOnSubmitScript
Setter for the components onSubmit script- Parameters:
onSubmitScript-
-
getOnInputScript
String getOnInputScript()Script that should be executed when the component's onInput event is firedThis differs from key press/up or change in that it will catch autocomplete, cut, and paste mouse actions on an input.
- Returns:
- String JavaScript code
-
setOnInputScript
Setter for the components onInput script- Parameters:
onInputScript-
-
getOnKeyPressScript
String getOnKeyPressScript()Script that should be executed when the component's onKeyPress event is fired- Returns:
- String JavaScript code
-
setOnKeyPressScript
Setter for the components onKeyPress script- Parameters:
onKeyPressScript-
-
getOnKeyUpScript
String getOnKeyUpScript()Script that should be executed when the component's onKeyUp event is fired- Returns:
- String JavaScript code
-
setOnKeyUpScript
Setter for the components onKeyUp script- Parameters:
onKeyUpScript-
-
getOnKeyDownScript
String getOnKeyDownScript()Script that should be executed when the component's onKeyDown event is fired- Returns:
- String JavaScript code
-
setOnKeyDownScript
Setter for the components onKeyDown script- Parameters:
onKeyDownScript-
-
getOnMouseOverScript
String getOnMouseOverScript()Script that should be executed when the component's onMouseOver event is fired- Returns:
- String JavaScript code
-
setOnMouseOverScript
Setter for the components onMouseOver script- Parameters:
onMouseOverScript-
-
getOnMouseOutScript
String getOnMouseOutScript()Script that should be executed when the component's onMouseOut event is fired- Returns:
- String JavaScript code
-
setOnMouseOutScript
Setter for the components onMouseOut script- Parameters:
onMouseOutScript-
-
getOnMouseUpScript
String getOnMouseUpScript()Script that should be executed when the component's onMouseUp event is fired- Returns:
- String JavaScript code
-
setOnMouseUpScript
Setter for the components onMouseUp script- Parameters:
onMouseUpScript-
-
getOnMouseDownScript
String getOnMouseDownScript()Script that should be executed when the component's onMouseDown event is fired- Returns:
- String JavaScript code
-
setOnMouseDownScript
Setter for the components onMouseDown script- Parameters:
onMouseDownScript-
-
getOnMouseMoveScript
String getOnMouseMoveScript()Script that should be executed when the component's onMouseMove event is fired- Returns:
- String JavaScript code
-
setOnMouseMoveScript
Setter for the components onMouseMove script- Parameters:
onMouseMoveScript-
-