Class BaseActionEventGridMove

java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
All Implemented Interfaces:
Serializable, IBaseActionEvent

public class BaseActionEventGridMove extends BaseActionEventGrid
Event that is sent with a move event inside the grid.
See Also:
  • Constructor Details

    • BaseActionEventGridMove

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

    • getDelta

      public int getDelta()
      Number of items that the selection should be moved. See getScrollDelta() for special situations...
    • getScrollDelta

      public int getScrollDelta()
      In some situations the number of moved items contains a scrolling portion (concrete: not equal row heights). In this case this is indicated by this property getScrollDelta().

      The user presses "line down", as consequence the grid might be moved by 3 items but 2 of them are scrolling items only. The actual selection needs to be move by (3 - 2) = 1 items only.
    • getShiftKeyPressed

      public boolean getShiftKeyPressed()