|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A swing element that can be contained in a SwingView and that will share the same bound model.
Use this interface when your View object in not a subclass of Component, for example Action; or when the View component doesn't belong to the parent SwingView yet have to share the same model or issue controls to the same controller, for example MenuItem.
Don't use this interface when your View object is a component contained (in Swing terms) in the parent SwingView. For example a TextField can be discovered automatically by its parent SPanel and have its bound model set automatically by the parent SPanel.
Method Summary | |
SwingView |
getOwner()
Gets the owner |
void |
setOwner(SwingView owner)
Sets the owner |
void |
unsetOwner(SwingView owner)
Description of the Method |
Methods inherited from interface org.scopemvc.core.View |
getBoundModel, getController, issueControl, setBoundModel, setController |
Method Detail |
public SwingView getOwner()
public void setOwner(SwingView owner)
owner
- The new owner valuepublic void unsetOwner(SwingView owner)
owner
- Description of the Parameter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |