Class FormItemMovementService

    • Constructor Detail

      • FormItemMovementService

        public FormItemMovementService()
    • Method Detail

      • moveToEnd

        public boolean moveToEnd​(FormItem item,
                                 FormItemContainer parent)
        Description copied from interface: IFormItemMovementService
        The method move form item to end position of parent object
        Specified by:
        moveToEnd in interface IFormItemMovementService
        Parameters:
        item - the movable item
        parent - the container in which there is a movement
        Returns:
        returns true if it is moved, false if it not
      • move

        public boolean move​(FormItem item,
                            FormItemContainer parent,
                            int index)
        Description copied from interface: IFormItemMovementService
        The method move form item to index position of parent object
        Specified by:
        move in interface IFormItemMovementService
        Parameters:
        item - the movable item
        parent - the container in which there is a movement
        index - the index in which item will be move
        Returns:
        returns true if it is moved, false if it not