Class f_event

Object
  extended by f_event

public final class f_event
extends Object

f_event class


Field Summary
static Number ACTIVATE_DETAIL
           
static String ADDITIONAL_INFORMATION
          Blur event name.
static String BLUR
          Blur event name.
static String CHANGE
          Change event name.
static String CHECK
          Check event name.
static String CLOSE
          Close event name.
static String DBLCLICK
          Double-click event name.
static String DRAG
          Drag event name.
static String DROP
          Drop event name.
static String DROP_COMPLETE
          Drop complete event name.
static String ERROR
          Error event name.
static String EXPAND
          Expand event name.
static String FOCUS
          Focus event name.
static Number IMMEDIATE_DETAIL
           
static String INIT
          Initialize event name.
static String KEYDOWN
          Key down event name.
static String KEYPRESS
          Key press event name.
static String KEYUP
          Key up event name.
static String LOAD
          Load event name.
static String MENU
          Menu event name.
static String MOUSEDOWN
          Mouse button down event name.
static String MOUSEOUT
          Mouse out event name.
static String MOUSEOVER
          Mouse over event name.
static String MOUSEUP
          Mouse button up event name.
static String PRE_SELECTION
          Pre Selection event name.
static String PROPERTY_CHANGE
          Property Change event name.
static Number REFRESH_DETAIL
           
static String RESET
          Reset event name.
static Number RESET_DETAIL
           
static String SELECTION
          Selection event name.
static String SORT
          Sort event name.
static String SUBMIT
          Submit event name.
static String SUGGESTION
          Suggestion event name.
static String USER
          User event name.
static String VALIDATION
          Validation event name.
 
Constructor Summary
f_event(f_object component, String type, Event jsEvent, Object item, any value, fa_selectionProvider selectionProvider, any detail, String serializedValue)
           
 
Method Summary
static f_object GetComponent()
           
static any GetDetail()
           
static f_event GetEvent()
           
static Object GetItem()
           
static Event GetJsEvent()
           
static fa_selectionProvider GetSelectionProvider()
           
static f_object GetType()
           
static any GetValue()
           
 HTMLElement f_findComponent(String... id)
           Search for and return the f_component with an id that matches the specified search expression (if any).
 HTMLElement f_findSiblingComponent(String... id)
           Search for and return the sibling f_component with an id that matches the specified search expression (if any).
 f_object f_getComponent()
          Returns the component associated to the event.
 any f_getDetail()
          Returns a detail about the event.
 Object f_getItem()
          Returns the item associated to the event.
 Event f_getJsEvent()
          Returns the Javascript event if any.
 fa_selectionProvider f_getSelectionProvider()
          Returns the selectionProvider wich contains the item associated to the event.
 String f_getType()
          Returns the type of event.
 any f_getValue()
          Returns the value of the item associated to the event.
 boolean f_isImmediate()
           
 boolean f_preventDefault()
          Prevent the default process of the event.
 void f_setImmediate(boolean immediate)
           
 String toString()
          Returns a string representing the specified object.
 
Methods inherited from class Object
toString
 

Field Detail

MOUSEUP

public static final String MOUSEUP
Mouse button up event name.


FOCUS

public static final String FOCUS
Focus event name.


DROP_COMPLETE

public static final String DROP_COMPLETE
Drop complete event name.


SUBMIT

public static final String SUBMIT
Submit event name.


DRAG

public static final String DRAG
Drag event name.


RESET

public static final String RESET
Reset event name.


LOAD

public static final String LOAD
Load event name.


PROPERTY_CHANGE

public static final String PROPERTY_CHANGE
Property Change event name.


SORT

public static final String SORT
Sort event name.


ACTIVATE_DETAIL

public static final Number ACTIVATE_DETAIL

ERROR

public static final String ERROR
Error event name.


REFRESH_DETAIL

public static final Number REFRESH_DETAIL

EXPAND

public static final String EXPAND
Expand event name.


CHANGE

public static final String CHANGE
Change event name.


KEYPRESS

public static final String KEYPRESS
Key press event name.


BLUR

public static final String BLUR
Blur event name.


SELECTION

public static final String SELECTION
Selection event name.


KEYDOWN

public static final String KEYDOWN
Key down event name.


VALIDATION

public static final String VALIDATION
Validation event name.


MOUSEOVER

public static final String MOUSEOVER
Mouse over event name.


CLOSE

public static final String CLOSE
Close event name.


DROP

public static final String DROP
Drop event name.


MOUSEOUT

public static final String MOUSEOUT
Mouse out event name.


KEYUP

public static final String KEYUP
Key up event name.


IMMEDIATE_DETAIL

public static final Number IMMEDIATE_DETAIL

ADDITIONAL_INFORMATION

public static final String ADDITIONAL_INFORMATION
Blur event name.


RESET_DETAIL

public static final Number RESET_DETAIL

USER

public static final String USER
User event name.


MENU

public static final String MENU
Menu event name.


DBLCLICK

public static final String DBLCLICK
Double-click event name.


CHECK

public static final String CHECK
Check event name.


MOUSEDOWN

public static final String MOUSEDOWN
Mouse button down event name.


PRE_SELECTION

public static final String PRE_SELECTION
Pre Selection event name.


INIT

public static final String INIT
Initialize event name.


SUGGESTION

public static final String SUGGESTION
Suggestion event name.

Constructor Detail

f_event

public f_event(f_object component,
               String type,
               Event jsEvent,
               Object item,
               any value,
               fa_selectionProvider selectionProvider,
               any detail,
               String serializedValue)
Parameters:
component -
type -
jsEvent -
item -
value -
selectionProvider -
detail -
serializedValue -
Method Detail

f_isImmediate

public boolean f_isImmediate()

GetEvent

public static f_event GetEvent()

f_getSelectionProvider

public fa_selectionProvider f_getSelectionProvider()
Returns the selectionProvider wich contains the item associated to the event.

Returns:
Returns the selectionProvider associated to the item.

f_findSiblingComponent

public HTMLElement f_findSiblingComponent(String... id)

Search for and return the sibling f_component with an id that matches the specified search expression (if any).

Parameters:
id - Identifier of component.
Returns:
the found link, or null if the component was not found.
See Also:
f_component#f_findComponent

GetType

public static f_object GetType()

f_setImmediate

public void f_setImmediate(boolean immediate)
Parameters:
immediate -

f_preventDefault

public boolean f_preventDefault()
Prevent the default process of the event.

Returns:
false value.

f_getJsEvent

public Event f_getJsEvent()
Returns the Javascript event if any.

Returns:
The Javascript event.

f_getDetail

public any f_getDetail()
Returns a detail about the event.

Returns:
A detail value.

f_getComponent

public f_object f_getComponent()
Returns the component associated to the event.

Returns:
The component associated to the event.

GetDetail

public static any GetDetail()

GetJsEvent

public static Event GetJsEvent()

f_findComponent

public HTMLElement f_findComponent(String... id)

Search for and return the f_component with an id that matches the specified search expression (if any).

Parameters:
id - Identifier of component.
Returns:
the found link, or null if the component was not found.
See Also:
f_component#f_findComponent

GetItem

public static Object GetItem()

GetSelectionProvider

public static fa_selectionProvider GetSelectionProvider()

f_getValue

public any f_getValue()
Returns the value of the item associated to the event.

Returns:
The value of the item associated to the event.

f_getType

public String f_getType()
Returns the type of event.

Returns:
The type of event.

toString

public String toString()
Description copied from class: Object
Returns a string representing the specified object.

Overrides:
toString in class Object

GetComponent

public static f_object GetComponent()

GetValue

public static any GetValue()

f_getItem

public Object f_getItem()
Returns the item associated to the event.

Returns:
An item.