|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Moveable
This is an interface for objects that can be moved in a list of objects in a container.
| Green (hyzheng) |
| Green (eal) |
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||