Module org.jpo

Class MoveNodeHandler

java.lang.Object
org.jpo.eventbus.MoveNodeHandler

public class MoveNodeHandler extends Object
  • Constructor Details

    • MoveNodeHandler

      public MoveNodeHandler()
  • Method Details

    • handleEvent

      public void handleEvent(MoveNodeToTopRequest request)
      Moves the node to the first position in the group
      Parameters:
      request - The node on which the request was made
    • handleEvent

      public void handleEvent(MoveNodeUpRequest request)
      Moves the node up one position
      Parameters:
      request - the request
    • handleEvent

      public void handleEvent(MoveNodeDownRequest request)
      Moves the node down one position
      Parameters:
      request - the request
    • handleEvent

      public void handleEvent(MoveNodeToBottomRequest request)
      Moves the node to the last position
      Parameters:
      request - the request
    • handleEvent

      public void handleEvent(MoveIndentRequest request)
      Indents the nodes
      Parameters:
      request - the request
    • handleEvent

      public void handleEvent(MoveOutdentRequest request)
      Outdents the nodes
      Parameters:
      request - the request
    • handleEvent

      public void handleEvent(MoveNodeToNodeRequest request)
      Moves the movingNode into the last child position of the target node
      Parameters:
      request - the request