|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beanfabrics.Link
public class Link
The Link is a view decorator that helps connecting a View
to a
PresentationModel
provided by a IModelProvider
at a given
Path
.
Constructor Summary | |
---|---|
Link(View view)
Creates a Link for the given view. |
Method Summary | |
---|---|
IModelProvider |
getModelProvider()
Returns the provider. |
Path |
getPath()
Returns the path. |
View |
getView()
Returns the view. |
void |
setModelProvider(IModelProvider provider)
Sets the provider. |
void |
setPath(Path path)
Sets the path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Link(View view)
view
- Method Detail |
---|
public void setModelProvider(IModelProvider provider)
setModelProvider
in interface ModelSubscriber
provider
- the providerpublic IModelProvider getModelProvider()
getModelProvider
in interface ModelSubscriber
ModelProvider
public void setPath(Path path)
Path
is used to locate the model inside the
provider.
setPath
in interface ModelSubscriber
path
- the path relative to the provider's root modelpublic Path getPath()
getPath
in interface ModelSubscriber
public View getView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |