public class Group extends Object
Represents a group definition. A Group object is a member of the ResourceGroups collection or the TaskGroups collection.
Constructor and Description |
---|
Group()
Initializes a new instance of the
Group class. |
Modifier and Type | Method and Description |
---|---|
GroupCriterionCollection |
getGroupCriteria()
Gets a GroupCriteria collection representing the fields in a group definition.
|
int |
getIndex()
Gets the index of a
Group object in the Groups containing object. |
boolean |
getMaintainHierarchy()
Determines whether to show all the levels of summary tasks for subtasks within group.
|
String |
getName()
Gets the name of a Group object.
|
Project |
getParentProject()
Gets the parent of the Group object.
|
boolean |
getShowInMenu()
Returns true if Project shows the group name in the Group drop-down list in the Ribbon.
|
boolean |
getShowSummary()
Returns true if summary rows are to be displayed for the group; otherwise, false.
|
int |
getUid()
The unique identifier of a group.
|
void |
setGroupCriteria(GroupCriterionCollection value)
Sets a GroupCriteria collection representing the fields in a group definition.
|
void |
setMaintainHierarchy(boolean value)
Determines whether to show all the levels of summary tasks for subtasks within group.
|
void |
setName(String value)
Sets the name of a group.
|
void |
setShowInMenu(boolean value)
Returns true if Project shows the group name in the Group drop-down list in the Ribbon.
|
void |
setShowSummary(boolean value)
Set to true if summary rows are to be displayed for the group; otherwise, false.
|
public GroupCriterionCollection getGroupCriteria()
Gets a GroupCriteria collection representing the fields in a group definition.
public void setGroupCriteria(GroupCriterionCollection value)
value
- a GroupCriteria collection representing the fields in a group definition.public int getIndex()
Gets the index of a Group
object in the Groups containing object.
public boolean getMaintainHierarchy()
Determines whether to show all the levels of summary tasks for subtasks within group.
public void setMaintainHierarchy(boolean value)
Determines whether to show all the levels of summary tasks for subtasks within group.
value
- the specified flag which determines whether to show all the levels of summary tasks for
subtasks
within this group.public String getName()
Gets the name of a Group object.
public void setName(String value)
value
- group name.public Project getParentProject()
Gets the parent of the Group object.
public boolean getShowInMenu()
Returns true if Project shows the group name in the Group drop-down list in the Ribbon.
public void setShowInMenu(boolean value)
Returns true if Project shows the group name in the Group drop-down list in the Ribbon.
value
- the specified flag which determines whether to show the group name in the Group drop-down
list in
the Ribbon.public boolean getShowSummary()
Returns true if summary rows are to be displayed for the group; otherwise, false.
public void setShowSummary(boolean value)
value
- true if summary rows are to be displayed for the group; otherwise, false.public int getUid()
The unique identifier of a group.
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.