|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

T - Type of widgets this envelope contains.public interface IShedEnvelope<T>
Interface for envelopes containing only one type of widgets inside.
| Method Summary | |
|---|---|
void |
add(T widget,
int position)
Add widget to the envelope at the specified position. |
void |
move(int index,
T widget)
Move the widget relative to the other widgets. |
void |
remove(T widget)
Remove widget from the envelope. |
| Method Detail |
|---|
void add(T widget,
int position)
widget - widget to addposition - where to put widget
void move(int index,
T widget)
absoluteIndex - New index of the widget in the envelope. Once move
is done, the index of the @widget is @absoluteIndex and the rest of
widgets change their position in a way that will keep the order they were
in before move, while having the widget at its new position.widget - widget to movevoid remove(T widget)
widget - widget to remove from the envelope.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||