public class ConstructCategory extends Object
Constructor and Description |
---|
ConstructCategory() |
ConstructCategory(String name)
Creates a construct category with the given name
|
Modifier and Type | Method and Description |
---|---|
void |
addConstruct(String name,
Construct construct)
Adds the construct with the given name to the map of constructs of this category
|
Map<String,Construct> |
getConstructs()
Map of constructs for this category
|
String |
getName()
Name of this construct category
|
boolean |
isVisibleInMenu()
True if the construct category shall be visible in the menu, false if not
|
void |
setConstructs(Map<String,Construct> constructs)
Sets the map with constructs for this category
|
void |
setName(String name)
Sets the name of this construct category
|
void |
setVisibleInMenu(boolean visibleInMenu)
Set whether the construct category shall be visible in the menu
|
public ConstructCategory()
public ConstructCategory(String name)
name
- public String getName()
public void setName(String name)
name
- public boolean isVisibleInMenu()
public void setVisibleInMenu(boolean visibleInMenu)
visibleInMenu
- true for visible, false for hiddenpublic void addConstruct(String name, Construct construct)
name
- construct
- public Map<String,Construct> getConstructs()
Copyright © 2016 Gentics Software. All rights reserved.