public interface Moveable
Green (hyzheng) |
Green (eal) |
Modifier and Type | Method and Description |
---|---|
int |
moveDown()
Move this object down by one in the list of
objects in its container.
|
int |
moveToFirst()
Move this object to the first position in the list of
objects in its container.
|
int |
moveToIndex(int index)
Move this object to the specified position in the list of
objects in its container, where 0 is the first position.
|
int |
moveToLast()
Move this object to the last position in the list of
objects in its container.
|
int |
moveUp()
Move this object up by one in the list of
objects in its container.
|
int moveDown() throws IllegalActionException
IllegalActionException
- If this object has
no container.int moveToFirst() throws IllegalActionException
IllegalActionException
- If this object has
no container.int moveToIndex(int index) throws IllegalActionException
index
- The position to which to move the object.IllegalActionException
- If this object has
no container or if the index is out of range.int moveToLast() throws IllegalActionException
IllegalActionException
- If this object has
no container.int moveUp() throws IllegalActionException
IllegalActionException
- If this object has
no container.