Class Group
- java.lang.Object
-
- com.aspose.tasks.Group
-
public class Group extends Object
Represents a group definition. A Group object is a member of the ResourceGroups collection or the TaskGroups collection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupCriterionCollectiongetGroupCriteria()Gets a GroupCriteria collection representing the fields in a group definition.intgetIndex()Gets the index of aGroupobject in the Groups containing object.booleangetMaintainHierarchy()Gets a value indicating whether to show all the levels of summary tasks for subtasks within group.StringgetName()Gets a name of a Group object.ProjectgetParentProject()Gets the parent of the Group object.booleangetShowInMenu()Gets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.booleangetShowSummary()Gets a value indicating whether summary rows are displayed for the group.intgetUid()Gets a unique identifier of a group.voidsetGroupCriteria(GroupCriterionCollection value)Sets a GroupCriteria collection representing the fields in a group definition.voidsetMaintainHierarchy(boolean value)Sets a value indicating whether to show all the levels of summary tasks for subtasks within group.voidsetName(String value)Sets a name of a Group object.voidsetShowInMenu(boolean value)Sets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.voidsetShowSummary(boolean value)Sets a value indicating whether summary rows are displayed for the group.
-
-
-
Constructor Detail
-
Group
public Group()
Initializes a new instance of the
Groupclass.
-
-
Method Detail
-
getGroupCriteria
public final GroupCriterionCollection getGroupCriteria()
Gets a GroupCriteria collection representing the fields in a group definition.
- Returns:
- a GroupCriteria collection representing the fields in a group definition.
-
setGroupCriteria
public final void setGroupCriteria(GroupCriterionCollection value)
Sets a GroupCriteria collection representing the fields in a group definition.
- Parameters:
value- a GroupCriteria collection representing the fields in a group definition.
-
getIndex
public final int getIndex()
Gets the index of a
Groupobject in the Groups containing object.- Returns:
- the index of a
Groupobject in the Groups containing object.
-
getMaintainHierarchy
public final boolean getMaintainHierarchy()
Gets a value indicating whether to show all the levels of summary tasks for subtasks within group.
- Returns:
- a value indicating whether to show all the levels of summary tasks for subtasks within group.
-
setMaintainHierarchy
public final void setMaintainHierarchy(boolean value)
Sets a value indicating whether to show all the levels of summary tasks for subtasks within group.
- Parameters:
value- a value indicating whether to show all the levels of summary tasks for subtasks within group.
-
getName
public final String getName()
Gets a name of a Group object.
- Returns:
- a name of a Group object.
-
setName
public final void setName(String value)
Sets a name of a Group object.
- Parameters:
value- a name of a Group object.
-
getParentProject
public final Project getParentProject()
Gets the parent of the Group object.
- Returns:
- the parent of the Group object.
-
getShowInMenu
public final boolean getShowInMenu()
Gets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.
- Returns:
- a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.
-
setShowInMenu
public final void setShowInMenu(boolean value)
Sets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.
- Parameters:
value- a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.
-
getShowSummary
public final boolean getShowSummary()
Gets a value indicating whether summary rows are displayed for the group.
- Returns:
- a value indicating whether summary rows are displayed for the group.
-
setShowSummary
public final void setShowSummary(boolean value)
Sets a value indicating whether summary rows are displayed for the group.
- Parameters:
value- a value indicating whether summary rows are displayed for the group.
-
getUid
public final int getUid()
Gets a unique identifier of a group.
- Returns:
- a unique identifier of a group.
-
-