Class BaseActionEventFlush

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

public class BaseActionEventFlush extends BaseActionEvent
Event that is sent with a flush event of a client side component.
See Also:
  • Constructor Details

    • BaseActionEventFlush

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

    • getFlushWasTriggeredByTimer

      public boolean getFlushWasTriggeredByTimer()
      A flush can be triggered by two user activities: (1) the user may leave the component ("focus lost") or (2) the flush may be cause by user input which is monitored by a flush timer.
    • getFlushComponentWidth

      public int getFlushComponentWidth()
      Returns the width of the component that triggered the flush event. May return "-1" if the data is not available.
    • getFlushComponentHeight

      public int getFlushComponentHeight()
      Returns the height of the component that triggered the flush event. May return "-1" if the data is not available.
    • getFlushAttributeInfo

      public String getFlushAttributeInfo()
      By default a components updates one value - e.g. a FIELD updates the property behind its attribute TEXT. Some components update multiple values, e.g. a PAINTAREAITEM updates its BOUNDS and SELECTED attribute. In this case the information behind this method helps to separate.
      Returns:
      null is returned for the default attribute, a String value is returned for additional attributes that are updated.