public abstract class AbstractMVCGroup extends Object implements MVCGroup
MVCGroup interface| Modifier and Type | Field and Description | 
|---|---|
| protected MVCGroupConfiguration | configuration | 
| protected Map<String,Object> | members | 
| protected MVCGroupManager | mvcGroupManager | 
| protected String | mvcId | 
| Constructor and Description | 
|---|
| AbstractMVCGroup(MVCGroupManager mvcGroupManager,
                MVCGroupConfiguration configuration,
                String mvcId,
                Map<String,Object> members) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | checkIfAlive() | 
| void | destroy()Destroys the current group. | 
| MVCGroupConfiguration | getConfiguration()Returns the configuration of 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. | 
| MVCGroupManager | getMvcGroupManager() | 
| String | getMvcId()Returns the id of the group. | 
| String | getMvcType()Returns the type of this group as set in the application's configuration. | 
| GriffonView | getView()Returns the View portion of this group. | 
| boolean | isAlive()Returns whether this group has been destroyed or not. | 
protected final MVCGroupManager mvcGroupManager
protected final MVCGroupConfiguration configuration
protected final String mvcId
public AbstractMVCGroup(@Nonnull MVCGroupManager mvcGroupManager, @Nonnull MVCGroupConfiguration configuration, @Nullable String mvcId, @Nonnull Map<String,Object> members)
@Nonnull public MVCGroupManager getMvcGroupManager()
@Nonnull public MVCGroupConfiguration getConfiguration()
MVCGroupgetConfiguration in interface MVCGroup@Nonnull public String getMvcType()
MVCGroupgetMvcType in interface MVCGroup@Nonnull public String getMvcId()
MVCGroup@Nullable public GriffonModel getModel()
MVCGroup@Nullable public GriffonView getView()
MVCGroup@Nullable public GriffonController getController()
MVCGroupgetController in interface MVCGroup@Nullable public Object getMember(@Nonnull String name)
MVCGroup@Nonnull public Map<String,Object> getMembers()
MVCGroupgetMembers in interface MVCGrouppublic void destroy()
MVCGrouppublic boolean isAlive()
MVCGroupprotected void checkIfAlive()