public interface MVCGroup extends MVCHandler
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, 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()