|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Model
Contract for top level functionality for all model elements.
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to this model element. |
int |
getX()
Obtains the X co-ordinate for the model. |
int |
getY()
Obtains the Y co-ordinate for the model. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener from this model element. |
void |
setX(int x)
Specifies the X co-ordinate for the model. |
void |
setY(int y)
Specifies the Y co-ordinate for the model. |
| Method Detail |
|---|
int getX()
void setX(int x)
x - X co-ordinate for the model.int getY()
void setY(int y)
y - Y co-ordinate for the model.void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener to this model element.
listener - PropertyChangeListener to this model element.void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener from this model element.
listener - PropertyChangeListener.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||