org.rcfaces.core.event
Class SelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by javax.faces.event.ActionEvent
              extended by org.rcfaces.core.event.SelectionEvent
All Implemented Interfaces:
Serializable, ITypedEvent
Direct Known Subclasses:
ItemSelectionEvent

public class SelectionEvent
extends ActionEvent
implements ITypedEvent

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)
See Also:
Serialized Form

Field Summary
static int BUTTON_1
           
static int BUTTON_2
           
static int BUTTON_3
           
static int DEFAULT_SELECTED_EVENT_TYPE
           
static int MODIFIER_ALT
           
static int MODIFIER_CTRL
           
static int MODIFIER_SHIFT
           
static int SELECTED_EVENT_TYPE
           
static int UNKNOWN_BUTTONS
           
static int UNKNOWN_KEY
           
static int UNKNOWN_MODIFIERS
           
static int UNKNOWN_POSITION
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SelectionEvent(UIComponent component, int type, int mouseX, int mouseY, int buttonsMask, int modifiersMask)
           
SelectionEvent(UIComponent component, int type, int mouseX, int mouseY, int buttonsMask, int modifiersMask, int keyCode)
           
SelectionEvent(UIComponent component, String value, Object valueObject, Object item, int detail)
           
 
Method Summary
 int getButtonsMask()
           
 Object getItem()
           
 int getKeyCode()
           
 int getModifiersMask()
           
 int getMouseX()
           
 int getMouseY()
           
 int getType()
           
 String getValue()
           
 Object getValueObject()
           
 boolean isAppropriateListener(FacesListener listener)
           
 void processListener(FacesListener listener)
           
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.rcfaces.core.event.ITypedEvent
getComponent
 

Field Detail

SELECTED_EVENT_TYPE

public static final int SELECTED_EVENT_TYPE
See Also:
Constant Field Values

DEFAULT_SELECTED_EVENT_TYPE

public static final int DEFAULT_SELECTED_EVENT_TYPE
See Also:
Constant Field Values

UNKNOWN_POSITION

public static final int UNKNOWN_POSITION
See Also:
Constant Field Values

UNKNOWN_KEY

public static final int UNKNOWN_KEY
See Also:
Constant Field Values

UNKNOWN_BUTTONS

public static final int UNKNOWN_BUTTONS
See Also:
Constant Field Values

UNKNOWN_MODIFIERS

public static final int UNKNOWN_MODIFIERS
See Also:
Constant Field Values

BUTTON_1

public static final int BUTTON_1
See Also:
Constant Field Values

BUTTON_2

public static final int BUTTON_2
See Also:
Constant Field Values

BUTTON_3

public static final int BUTTON_3
See Also:
Constant Field Values

MODIFIER_ALT

public static final int MODIFIER_ALT
See Also:
Constant Field Values

MODIFIER_CTRL

public static final int MODIFIER_CTRL
See Also:
Constant Field Values

MODIFIER_SHIFT

public static final int MODIFIER_SHIFT
See Also:
Constant Field Values
Constructor Detail

SelectionEvent

public SelectionEvent(UIComponent component,
                      String value,
                      Object valueObject,
                      Object item,
                      int detail)

SelectionEvent

public SelectionEvent(UIComponent component,
                      int type,
                      int mouseX,
                      int mouseY,
                      int buttonsMask,
                      int modifiersMask)

SelectionEvent

public SelectionEvent(UIComponent component,
                      int type,
                      int mouseX,
                      int mouseY,
                      int buttonsMask,
                      int modifiersMask,
                      int keyCode)
Method Detail

getType

public int getType()
Specified by:
getType in interface ITypedEvent

getItem

public Object getItem()

getValue

public String getValue()

getValueObject

public Object getValueObject()

getButtonsMask

public int getButtonsMask()

getKeyCode

public int getKeyCode()

getModifiersMask

public int getModifiersMask()

getMouseX

public int getMouseX()

getMouseY

public int getMouseY()

isAppropriateListener

public boolean isAppropriateListener(FacesListener listener)
Overrides:
isAppropriateListener in class ActionEvent

processListener

public void processListener(FacesListener listener)
Overrides:
processListener in class ActionEvent


Copyright © 2006-2011 Vedana. All Rights Reserved.