Interface MoveableTableModel

    • Method Detail

      • moveUp

        int[] moveUp​(int[] indices)
        moves the selected items up by 1.
        Parameters:
        indices - the indices of the rows to move
        Returns:
        the updated indices of the selected rows
      • moveDown

        int[] moveDown​(int[] indices)
        moves the selected items down by 1.
        Parameters:
        indices - the indices of the rows to move
        Returns:
        the updated indices of the selected rows
      • moveTop

        int[] moveTop​(int[] indices)
        moves the selected items to the top.
        Parameters:
        indices - the indices of the rows to move
        Returns:
        the updated indices of the selected rows
      • moveBottom

        int[] moveBottom​(int[] indices)
        moves the selected items to the end.
        Parameters:
        indices - the indices of the rows to move
        Returns:
        the updated indices of the selected rows
      • canMoveUp

        boolean canMoveUp​(int[] indices)
        checks whether the selected items can be moved up.
        Parameters:
        indices - the indices of the rows to move
        Returns:
        true if the selected items can be moved
      • canMoveDown

        boolean canMoveDown​(int[] indices)
        checks whether the selected items can be moved down.
        Parameters:
        indices - the indices of the rows to move
        Returns:
        true if the selected items can be moved