Interface IFormItemMovementService
-
- All Known Implementing Classes:
FormItemMovementService
public interface IFormItemMovementService
The movement service of form item
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
move(FormItem item, FormItemContainer parent, int index)
The method move form item to index position of parent objectboolean
moveToEnd(FormItem item, FormItemContainer parent)
The method move form item to end position of parent object
-
-
-
Method Detail
-
moveToEnd
boolean moveToEnd(FormItem item, FormItemContainer parent)
The method move form item to end position of parent object- Parameters:
item
- the movable itemparent
- the container in which there is a movement- Returns:
- returns
true
if it is moved,false
if it not - Throws:
NullPointerException
- - if item or parent is nullIllegalStateException
- - if parent is not supported the item
-
move
boolean move(FormItem item, FormItemContainer parent, int index)
The method move form item to index position of parent object- Parameters:
item
- the movable itemparent
- the container in which there is a movementindex
- the index in which item will be move- Returns:
- returns
true
if it is moved,false
if it not - Throws:
NullPointerException
- - if item or parent is nullIllegalStateException
- - if parent is not supported the itemIndexOutOfBoundsException
- - if index out of bounds
-
-