Class BaseActionEventGridSelectorTitleIcon

java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
org.eclnt.jsfserver.elements.BaseActionEvent
org.eclnt.jsfserver.elements.events.BaseActionEventGridSelectorTitleIcon
All Implemented Interfaces:
Serializable, IBaseActionEvent

public class BaseActionEventGridSelectorTitleIcon extends BaseActionEvent
Event information that is associated with a simple invoke event on client side. If (and only in this case!) the event was caused by a component that used the attribute INVOKEEVENT (e.g. with the IMAGE component), then x,y,width,heigh information is associated with the event. In all other cases the corresponding methods of this event-class will return "-1".
See Also:
  • Constructor Details

    • BaseActionEventGridSelectorTitleIcon

      public BaseActionEventGridSelectorTitleIcon(javax.faces.component.UIComponent component, String type)
  • Method Details

    • getX

      public int getX()
      Returns:
      The x-position of the click, relative to the coordinates of the associated component. "-1" is returned in case no specific coordinates are associated with the event.
    • getY

      public int getY()
      Returns:
      The y-position of the click, relative to the coordinates of the associated component. "-1" is returned in case no specific coordinates are associated with the event.
    • getWidth

      public int getWidth()
      Returns:
      The pixel width of the component on which the invoke was invoked. "-1" is returned in case no specific coordinates are associated with the event.
    • getHeight

      public int getHeight()
      Returns:
      The pixel height of the component on which the invoke was invoked. "-1" is returned in case no specific coordinates are associated with the event.
    • getClickCount

      public int getClickCount()
      Returns:
      The click count of the operation that caused the invoke event on client side. "1" for single click, "2" for double click. "-1" is returned in case no specific click count was passed from client side.