|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PlacerModel
Interface that defines a suitable data model for a Placer.
| Method Summary | |
|---|---|
void |
addPlacerModelListener(PlacerModelListener listener)
Adds a listener that's notified each time this data model changes. |
Dimension |
getDesktopSize()
Gets the size of the desktop in this data model. |
Object |
getElement(int idx)
Gets the object at the given index. |
Object |
getElementAt(Point pt)
Gets the topmost element that contains the given point. |
int |
getIndexOfElementAt(Point pt)
Gets the index of the topmost element that contains the given point. |
Point |
getLocationOf(int idx)
Gets the location of the upper-left corner of the element at the given index. |
int |
getSize()
Gets the number of objects in this data model. |
Dimension |
getSizeOf(int idx)
Gets the size of the element at the given index. |
void |
moveToFront(int idx)
Moves the object at the selected index to the front. |
void |
removePlacerModelListener(PlacerModelListener listener)
Removes a listener that's notified each time this data model changes. |
void |
setDesktopSize(Dimension desktopSize)
Sets the size of the desktop in this data model. |
void |
setLocationOf(int idx,
Point pt)
Sets the location of the upper-left corner of the element at the given index. |
void |
setSizeOf(int idx,
Dimension size)
Sets the size of the element at the given index. |
| Method Detail |
|---|
Object getElement(int idx)
Object getElementAt(Point pt)
int getIndexOfElementAt(Point pt)
Dimension getSizeOf(int idx)
void setSizeOf(int idx,
Dimension size)
Point getLocationOf(int idx)
void setLocationOf(int idx,
Point pt)
void moveToFront(int idx)
int getSize()
Dimension getDesktopSize()
void setDesktopSize(Dimension desktopSize)
void addPlacerModelListener(PlacerModelListener listener)
void removePlacerModelListener(PlacerModelListener listener)
|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||