public interface MVCGroup extends MVCHandler
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroy()
Destroys the current group. 
 | 
Map<String,MVCGroup> | 
getChildrenGroups()
Returns an immutable view of all children groups for which this group is a parent 
 | 
MVCGroupConfiguration | 
getConfiguration()
Returns the configuration of this group. 
 | 
Context | 
getContext()
Returns the context belonging to this group. 
 | 
GriffonController | 
getController()
Returns the Controller portion of this group. 
 | 
Object | 
getMember(String name)
Returns the specified member type. 
 | 
Map<String,Object> | 
getMembers()
Returns a read-only view of all instance members. 
 | 
GriffonModel | 
getModel()
Returns the Model portion of this group. 
 | 
String | 
getMvcId()
Returns the id of the group. 
 | 
String | 
getMvcType()
Returns the type of this group as set in the application's configuration. 
 | 
MVCGroup | 
getParentGroup()
Returns the parent  
MVCGroup of this group. | 
GriffonView | 
getView()
Returns the View portion of this group. 
 | 
boolean | 
isAlive()
Returns whether this group has been destroyed or not. 
 | 
void | 
notifyMVCGroupDestroyed(String mvcId)
Notifies the group when another MVC group has been destroyed, potentially
 a child group. 
 | 
createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup@Nonnull MVCGroupConfiguration getConfiguration()
@Nonnull String getMvcType()
@Nonnull String getMvcId()
@Nullable GriffonModel getModel()
IllegalStateException - if the group has been destroyed already@Nullable GriffonView getView()
IllegalStateException - if the group has been destroyed already@Nullable GriffonController getController()
IllegalStateException - if the group has been destroyed already@Nullable Object getMember(@Nonnull String name)
name - the type of member to retrieveIllegalStateException - if the group has been destroyed already@Nonnull Map<String,Object> getMembers()
IllegalStateException - if the group has been destroyed alreadyvoid destroy()
IllegalStateException - if the group has been destroyed alreadyboolean isAlive()
@Nullable MVCGroup getParentGroup()
MVCGroup of this group.
 The parent may be null if this is a top level MVC group.
@Nonnull Map<String,MVCGroup> getChildrenGroups()