|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.beanfabrics.context.DefaultContext
org.beanfabrics.context.BnParentContext
public class BnParentContext
ModelSubscriber Context that will become a parent context of the bound object's context.
| Constructor Summary | |
|---|---|
BnParentContext()
|
|
| Method Summary | |
|---|---|
IModelProvider |
getModelProvider()
Returns the provider. |
Path |
getPath()
Returns the path. |
PresentationModel |
getPresentationModel()
Returns the PresentationModel with that this component is
synchronized. |
void |
setModelProvider(IModelProvider provider)
Sets the provider. |
void |
setPath(Path path)
Sets the path. |
void |
setPresentationModel(PresentationModel aPresentationModel)
Sets the PresentationModel to synchronize this component with. |
| Methods inherited from class org.beanfabrics.context.DefaultContext |
|---|
addContextListener, addParent, addService, findService, fireParentAdded, fireParentRemoved, fireServiceAdded, fireServiceRemoved, getParents, getService, getServiceEntries, removeContextListener, removeParent, removeService, removeServiceEntry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BnParentContext()
| Method Detail |
|---|
public PresentationModel getPresentationModel()
PresentationModel with that this component is
synchronized.
getPresentationModel in interface View<PresentationModel>PresentationModelpublic void setPresentationModel(PresentationModel aPresentationModel)
PresentationModel to synchronize this component with.
setPresentationModel in interface View<PresentationModel>aPresentationModel - the PresentationModel to setpublic IModelProvider getModelProvider()
getModelProvider in interface ModelSubscriberModelProviderpublic void setModelProvider(IModelProvider provider)
setModelProvider in interface ModelSubscriberprovider - the providerpublic Path getPath()
getPath in interface ModelSubscriberpublic void setPath(Path path)
Path is used to locate the model inside the
provider.
setPath in interface ModelSubscriberpath - the path relative to the provider's root model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||