com.sas.servlet.tbeans.models
Interface ItemInterface

All Known Implementing Classes:
DataItemNode, Item, JavaScriptNode, PercentItemNode, PropertyNode

public interface ItemInterface

ItemInterface is an interface which provides access for creating an Item. An Item is used to construct an item that has text and a return value.


Method Summary
 java.lang.String getOnBlur()
          Gets the onBlur value.
 java.lang.String getOnChange()
          Gets the onChange value.
 java.lang.String getOnClick()
          Gets the onClick value.
 java.lang.String getOnFocus()
          Gets the onFocus value.
 java.lang.String getOnKeyDown()
          Gets the onKeyDown value associated with the PushButton
 java.lang.String getOnKeyPress()
          Gets the onKeyPress value associated with the PushButton
 java.lang.String getOnKeyUp()
          Gets the onKeyUp value associated with the PushButton
 java.lang.String getOnMouseDown()
          Gets the onMouseDown value associated with the PushButton
 java.lang.String getOnMouseOut()
          Gets the onMouseOut value.
 java.lang.String getOnMouseOver()
          Gets the onMouseOver value.
 java.lang.String getOnMouseUp()
          Gets the onMouseUp value associated with the PushButton
 java.lang.String getText()
          Gets the text of the Item.
 java.lang.String getValue()
          Gets the return value for the Item.
 void setOnBlur(java.lang.String value)
          Sets the onBlur event for the item.
 void setOnChange(java.lang.String value)
          Sets the onChange event for the item.
 void setOnClick(java.lang.String value)
          Sets the onClick event for the item.
 void setOnFocus(java.lang.String value)
          Sets the onFocus event for the item.
 void setOnKeyDown(java.lang.String value)
          Sets the onKeyDown event for the item.
 void setOnKeyPress(java.lang.String value)
          Sets the onKeyPress event for the item.
 void setOnKeyUp(java.lang.String value)
          Sets the onKeyUp event for the item.
 void setOnMouseDown(java.lang.String value)
          Sets the onMouseDown event for the item.
 void setOnMouseOut(java.lang.String value)
          Sets the onMouseOut event for the item.
 void setOnMouseOver(java.lang.String value)
          Sets the onMouseOver event for the item.
 void setOnMouseUp(java.lang.String value)
          Sets the onMouseUp event for the item.
 void setText(java.lang.String value)
          Sets the text of the Item.
 void setValue(java.lang.String value)
          Sets the return value for the Item.
 

Method Detail

setText

void setText(java.lang.String value)
Sets the text of the Item.

Parameters:
value - The text

getText

java.lang.String getText()
Gets the text of the Item.

Returns:
text The text

setValue

void setValue(java.lang.String value)
Sets the return value for the Item.

Parameters:
value - The return value

getValue

java.lang.String getValue()
Gets the return value for the Item.

Returns:
value The return value

setOnBlur

void setOnBlur(java.lang.String value)
Sets the onBlur event for the item. The onBlur event handler executes the specified JavaScript code or function on the occurance of a blur event. This is when a item loses focus. This can be caused by the user clicking outside of the item, by using the TAB key to cycle through the various elements on screen, or a call to the blur method on the item.

Parameters:
value - The onBlur value

getOnBlur

java.lang.String getOnBlur()
Gets the onBlur value.

Returns:
onBlur value The onBlur

setOnChange

void setOnChange(java.lang.String value)
Sets the onChange event for the item. The onChange event handler executes the specified JavaScript code or function on the occurance of a change event. This is when the data in item is altered by the user. This is used frequently to validate the data that has been entered by the user by calling a specified JavaScript function.

Parameters:
value - The onChange value

getOnChange

java.lang.String getOnChange()
Gets the onChange value.

Returns:
onChange value The onChange

setOnClick

void setOnClick(java.lang.String value)
Sets the onClick event for the item. The onClick event handler executes the specified JavaScript code or function on the occurance of a click event.

Parameters:
value - The onClick value

getOnClick

java.lang.String getOnClick()
Gets the onClick value.

Returns:
onClick value The onClick

setOnFocus

void setOnFocus(java.lang.String value)
Sets the onFocus event for the item. The onFocus event handler executes the specified JavaScript code or function on the occurance of a focus event. This is when an item is given focus. This can be caused by the user clicking on the item, by using the TAB key to cycle through the various elements on screen, or by a call to the focus method on the item.

Parameters:
value - The onFocus value

getOnFocus

java.lang.String getOnFocus()
Gets the onFocus value.

Returns:
onFocus value The onFocus

setOnMouseOut

void setOnMouseOut(java.lang.String value)
Sets the onMouseOut event for the item. The onMouseOut event handler is used to execute specified Javascript code whenever the user moves the mouse out of an item from inside that item.

Parameters:
value - The onMouseOut value

getOnMouseOut

java.lang.String getOnMouseOut()
Gets the onMouseOut value.

Returns:
onMouseOut value The onMouseOut

setOnMouseOver

void setOnMouseOver(java.lang.String value)
Sets the onMouseOver event for the item. The onMouseOver event handler is used to execute specified Javascript code whenever the user moves the mouse over an item from outside that item.

Parameters:
value - The onMouseOver value

getOnMouseOver

java.lang.String getOnMouseOver()
Gets the onMouseOver value.

Returns:
onMouseOver value The onMouseOver

setOnMouseDown

void setOnMouseDown(java.lang.String value)
Sets the onMouseDown event for the item. The onMouseDown event handler is used to execute specified Javascript code whenever the user depresses a mouse button.

Parameters:
value - The onMouseDown

getOnMouseDown

java.lang.String getOnMouseDown()
Gets the onMouseDown value associated with the PushButton

Returns:
The onMouseDown value

setOnMouseUp

void setOnMouseUp(java.lang.String value)
Sets the onMouseUp event for the item. The onMouseUp event handler is used to execute specified JavaScript code whenever the user releases the mouse button.

Parameters:
value - The onMouseUp

getOnMouseUp

java.lang.String getOnMouseUp()
Gets the onMouseUp value associated with the PushButton

Returns:
The onMouseUp value

setOnKeyDown

void setOnKeyDown(java.lang.String value)
Sets the onKeyDown event for the item. The onKeyDown event handler executes the specified JavaScript code or function on the occurance of a KeyDown event. A KeyDown event occurs when the user depresses a key.

Parameters:
value - The onKeyDown

getOnKeyDown

java.lang.String getOnKeyDown()
Gets the onKeyDown value associated with the PushButton

Returns:
The onKeyDown value

setOnKeyPress

void setOnKeyPress(java.lang.String value)
Sets the onKeyPress event for the item. The onKeyPress event handler executes the specified JavaScript code or function on the occurance of a KeyPress event. A KeyPress event occurs when the user presses or holds down a key.

Parameters:
value - The onKeyPress

getOnKeyPress

java.lang.String getOnKeyPress()
Gets the onKeyPress value associated with the PushButton

Returns:
The onKeyPress value

setOnKeyUp

void setOnKeyUp(java.lang.String value)
Sets the onKeyUp event for the item. The onKeyUp event handler executes the specified JavaScript code or function on the occurance of a KeyUp event. A KeyUp event occurs when the user releases a key from its depressed position.

Parameters:
value - The onKeyUp

getOnKeyUp

java.lang.String getOnKeyUp()
Gets the onKeyUp value associated with the PushButton

Returns:
The onKeyUp value



Copyright © 2009 SAS Institute Inc. All Rights Reserved.