org.kuali.rice.krad.uif.component
Interface ScriptEventSupport

All Known Subinterfaces:
Component, Container, ContentElement, Control, Field, Widget
All Known Implementing Classes:
Accordion, AccordionGroup, Action, ActionField, BlockUI, BreadCrumbs, CheckboxControl, CheckboxGroupControl, CollectionGroup, ComponentBase, ComponentExhibit, ComponentLibraryView, ContainerBase, ContentElementBase, ControlBase, DataField, DataTable, DatePicker, DialogGroup, Disclosure, DocumentView, FieldBase, FieldGroup, FieldValidationMessages, FileControl, FormView, GenericField, Group, GroupControl, GroupValidationMessages, Growls, Header, Help, HiddenControl, Iframe, Image, ImageField, InputField, Inquiry, InquiryView, Label, LightBox, Link, LinkField, LinkGroup, LookupInputField, LookupView, MaintenanceDocumentView, Message, MessageField, MessageView, MultiValueControlBase, NavigationGroup, PageGroup, PageValidationMessages, QuickFinder, RadioGroupControl, RemoteFieldsHolder, Reorderer, ReorderingGroup, RichTable, Scrollpane, SelectControl, Space, SpaceField, Spinner, SpinnerControl, Suggest, SyntaxHighlighter, TabGroup, Tabs, TextAreaControl, TextControl, Tooltip, TransactionalDocumentView, Tree, TreeGroup, UserControl, ValidationMessages, View, 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
 String getOnBlurScript()
          Script that should be executed when the component's onBlur event is fired
 String getOnChangeScript()
          Script that should be executed when the component's onChange event is fired
 String getOnClickScript()
          Script that should be executed when the component's onClick event is fired
 String getOnCloseScript()
          Script that should be executed when the component's onClose event is fired
 String getOnDblClickScript()
          Script that should be executed when the component's onDblClick event is fired
 String getOnDocumentReadyScript()
          Script to be run when the document ready event is triggered
 String getOnFocusScript()
          Script that should be executed when the component's onFocus event is fired
 String getOnKeyDownScript()
          Script that should be executed when the component's onKeyDown event is fired
 String getOnKeyPressScript()
          Script that should be executed when the component's onKeyPress event is fired
 String getOnKeyUpScript()
          Script that should be executed when the component's onKeyUp event is fired
 String getOnLoadScript()
          Script that should be executed when the component's onLoad event is fired
 String getOnMouseDownScript()
          Script that should be executed when the component's onMouseDown event is fired
 String getOnMouseMoveScript()
          Script that should be executed when the component's onMouseMove event is fired
 String getOnMouseOutScript()
          Script that should be executed when the component's onMouseOut event is fired
 String getOnMouseOverScript()
          Script that should be executed when the component's onMouseOver event is fired
 String getOnMouseUpScript()
          Script that should be executed when the component's onMouseUp event is fired
 String getOnSubmitScript()
          Script that should be executed when the component's onSubmit event is fired
 String getOnUnloadScript()
          Script that should be executed when the component's onUnload event is fired
 void setOnBlurScript(String onBlurScript)
          Script that should be executed when the component's onBlur event is fired
 void setOnLoadScript(String onLoadScript)
          Script that should be executed when the component's onLoad event is fired
 

Method Detail

getOnLoadScript

String getOnLoadScript()
Script that should be executed when the component's onLoad event is fired

Returns:
String JavaScript code

setOnLoadScript

void setOnLoadScript(String onLoadScript)
Script that should be executed when the component's onLoad event is fired


getOnDocumentReadyScript

String getOnDocumentReadyScript()
Script to be run when the document ready event is triggered

Returns:
the onDocumentReadyScript

getOnUnloadScript

String getOnUnloadScript()
Script that should be executed when the component's onUnload event is fired

Returns:
String JavaScript code

getOnCloseScript

String getOnCloseScript()
Script that should be executed when the component's onClose event is fired

Returns:
String JavaScript code

getOnBlurScript

String getOnBlurScript()
Script that should be executed when the component's onBlur event is fired

Returns:
String JavaScript code

setOnBlurScript

void setOnBlurScript(String onBlurScript)
Script that should be executed when the component's onBlur event is fired


getOnChangeScript

String getOnChangeScript()
Script that should be executed when the component's onChange event is fired

Returns:
String JavaScript code

getOnClickScript

String getOnClickScript()
Script that should be executed when the component's onClick event is fired

Returns:
String JavaScript code

getOnDblClickScript

String getOnDblClickScript()
Script that should be executed when the component's onDblClick event is fired

Returns:
String JavaScript code

getOnFocusScript

String getOnFocusScript()
Script that should be executed when the component's onFocus event is fired

Returns:
String JavaScript code

getOnSubmitScript

String getOnSubmitScript()
Script that should be executed when the component's onSubmit event is fired

Returns:
String JavaScript code

getOnKeyPressScript

String getOnKeyPressScript()
Script that should be executed when the component's onKeyPress event is fired

Returns:
String JavaScript code

getOnKeyUpScript

String getOnKeyUpScript()
Script that should be executed when the component's onKeyUp event is fired

Returns:
String JavaScript code

getOnKeyDownScript

String getOnKeyDownScript()
Script that should be executed when the component's onKeyDown event is fired

Returns:
String JavaScript code

getOnMouseOverScript

String getOnMouseOverScript()
Script that should be executed when the component's onMouseOver event is fired

Returns:
String JavaScript code

getOnMouseOutScript

String getOnMouseOutScript()
Script that should be executed when the component's onMouseOut event is fired

Returns:
String JavaScript code

getOnMouseUpScript

String getOnMouseUpScript()
Script that should be executed when the component's onMouseUp event is fired

Returns:
String JavaScript code

getOnMouseDownScript

String getOnMouseDownScript()
Script that should be executed when the component's onMouseDown event is fired

Returns:
String JavaScript code

getOnMouseMoveScript

String getOnMouseMoveScript()
Script that should be executed when the component's onMouseMove event is fired

Returns:
String JavaScript code


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.