|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.webapp.navigation.NavigationNodeBase
info.aduna.webapp.navigation.Group
public class Group
Group represents a logical group of views in a NavigationModel.
| Field Summary | |
|---|---|
protected Map<String,Group> |
groups
|
protected Map<String,View> |
viewNames
|
protected Map<String,View> |
views
|
| Fields inherited from class info.aduna.webapp.navigation.NavigationNodeBase |
|---|
i18n, icon, path, viewSuffix |
| Constructor Summary | |
|---|---|
Group(String id)
Construct a new group with the specified ID. |
|
| Method Summary | |
|---|---|
void |
addGroup(Group group)
Add a group to this group. |
void |
addView(View view)
Add a view to this group. |
Object |
clone()
|
protected void |
copyGroupsAndViews(Group group)
|
protected View |
findViewInternal(String viewName)
|
Group |
getGroup(String id)
Get the sub-group with the specified ID. |
List<Group> |
getGroups()
Get the list of sub-groups |
View |
getView(String viewId)
|
View |
getViewByName(String viewName)
Get the view with the specified name. |
List<View> |
getViews()
Get the list of views. |
| Methods inherited from class info.aduna.webapp.navigation.NavigationNodeBase |
|---|
copyCommonAttributes, equals, getDepth, getI18n, getI18nPrefix, getI18nSeparator, getI18nSuffix, getIcon, getIconPrefix, getIconSeparator, getIconSuffix, getId, getParent, getPath, getPathPrefix, getPathSeparator, getViewSuffix, hashCode, isEnabled, isHidden, isParent, setEnabled, setHidden, setI18n, setIcon, setParent, setPath, setViewSuffix |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,Group> groups
protected Map<String,View> views
protected Map<String,View> viewNames
| Constructor Detail |
|---|
public Group(String id)
id - the ID of the group| Method Detail |
|---|
public void addGroup(Group group)
group - the group to addpublic Group getGroup(String id)
id - the ID of the sub-group
public List<Group> getGroups()
public void addView(View view)
view - the view to addpublic View getView(String viewId)
public View getViewByName(String viewName)
viewName - the name of the view (ID+suffix)
protected View findViewInternal(String viewName)
public List<View> getViews()
public Object clone()
clone in class Objectprotected void copyGroupsAndViews(Group group)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||