|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectechoxul.view.impl.ViewContextImpl
| Constructor Summary | |
ViewContextImpl()
Constructor for serialization purposes only. |
|
ViewContextImpl(ViewContextImpl parent,
nextapp.echo.Component rootComponent,
java.lang.String name)
|
|
| Method Summary | |
protected void |
assertWriteable()
Throws IllegalStateException if lock() has been called |
void |
delete()
Delete (disassociate) this ViewContext from its parent. |
nextapp.echo.Component |
getComponent(java.lang.String name)
Returns the first component bound to a given name in this context. |
java.util.List |
getComponents(java.lang.String name)
Returns a read-only list of all Components bound to this ViewContext with the given name |
ViewContext |
getParentContext()
|
nextapp.echo.Component |
getRootComponent()
Each ViewContext is represented by a single root component |
ViewContext |
getSubContext(java.lang.String name)
Returns the first ViewContext with a given name to exist in this ViewContext |
java.util.List |
getSubContexts(java.lang.String name)
Returns a read-only List of all ViewContexts with a given name |
View |
getView()
|
ViewContext |
instantiateModelContext(java.lang.String name)
Instantiate a new model context and add it to the view. |
java.util.Set |
listComponents()
|
java.util.Set |
listModelContexts()
|
java.util.Set |
listSubContexts()
|
void |
lock()
|
void |
setComponents(java.lang.String name,
nextapp.echo.Component[] array)
|
void |
setModelContext(java.lang.String name,
ModelViewContextStub stub)
|
void |
setSubContexts(java.lang.String name,
ViewContextImpl[] array)
|
void |
setViewContextualizables(ViewContextualizable[] vca)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ViewContextImpl()
public ViewContextImpl(ViewContextImpl parent,
nextapp.echo.Component rootComponent,
java.lang.String name)
| Method Detail |
public void setComponents(java.lang.String name,
nextapp.echo.Component[] array)
public void setSubContexts(java.lang.String name,
ViewContextImpl[] array)
public void setModelContext(java.lang.String name,
ModelViewContextStub stub)
public void setViewContextualizables(ViewContextualizable[] vca)
protected void assertWriteable()
public void lock()
public ViewContext instantiateModelContext(java.lang.String name)
ViewContext
instantiateModelContext in interface ViewContextname -
public void delete()
ViewContext
delete in interface ViewContextpublic ViewContext getSubContext(java.lang.String name)
ViewContext
getSubContext in interface ViewContextname -
public java.util.List getSubContexts(java.lang.String name)
ViewContext
getSubContexts in interface ViewContextname -
public nextapp.echo.Component getComponent(java.lang.String name)
ViewContext
getComponent in interface ViewContextname -
public java.util.List getComponents(java.lang.String name)
ViewContext
getComponents in interface ViewContextname -
public java.util.Set listComponents()
listComponents in interface ViewContextpublic java.util.Set listSubContexts()
listSubContexts in interface ViewContextpublic java.util.Set listModelContexts()
listModelContexts in interface ViewContextpublic ViewContext getParentContext()
getParentContext in interface ViewContextpublic View getView()
getView in interface ViewContextpublic nextapp.echo.Component getRootComponent()
ViewContext
getRootComponent in interface ViewContext
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||