public final class Filter extends Object implements Comparable<Filter>, com.aspose.ms.System.IEquatable<Filter>
Represents a filter in Project.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Filter other)
Compares this instance to the specified instance of the
Filter class and returns an indication of their
relative order. |
boolean |
equals(Filter other)
Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.
|
boolean |
equals(Object obj)
Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.
|
FilterCriteria |
getCriteria()
Gets the criteria that tasks or resources must meet to be displayed in MSP view.
|
int |
getFilterType()
Gets the type of the filter.
|
int |
getIndex()
Gets the index of a
Filter object in the Filters containing object. |
String |
getName()
Gets the name of a Filter object.
|
Project |
getParentProject()
Gets the parent of the Filter object.
|
boolean |
getShowInMenu()
Gets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the
Ribbon.
|
boolean |
getShowRelatedSummaryRows()
Gets a value indicating whether related summary rows are displayed for the filter.
|
int |
getUid()
Gets the unique identifier of a filter.
|
int |
hashCode()
Returns a hash code value for the filter.
|
static boolean |
op_Equality(Filter a,
Filter b)
Returns a value indicating whether this instance is equal to a specified object.
|
static boolean |
op_GreaterThan(Filter a,
Filter b)
Returns a value indicating whether this instance is greater than a specified object.
|
static boolean |
op_GreaterThanOrEqual(Filter a,
Filter b)
Returns a value indicating whether this instance is greater than or equal to a specified object.
|
static boolean |
op_Inequality(Filter a,
Filter b)
Returns a value indicating whether this instance is not equal to a specified object.
|
static boolean |
op_LessThan(Filter a,
Filter b)
Returns a value indicating whether this instance is less than a specified object.
|
static boolean |
op_LessThanOrEqual(Filter a,
Filter b)
Returns a value indicating whether this instance is less than or equal to a specified object.
|
void |
setCriteria(FilterCriteria value)
Sets the criteria that tasks or resources must meet to be displayed in MSP view.
|
void |
setName(String value)
Sets the name of a Filter object.
|
void |
setShowInMenu(boolean value)
Sets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the
Ribbon.
|
void |
setShowRelatedSummaryRows(boolean value)
Sets a value indicating whether related summary rows are displayed for the filter.
|
public final int compareTo(Filter other)
Compares this instance to the specified instance of the Filter
class and returns an indication of their
relative order.
compareTo
in interface Comparable<Filter>
other
- the specified instance of the Filter
class to compare to this object.public final boolean equals(Filter other)
Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.
other
- the specified AssignmentBaseline object to compare with this instance.public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.
equals
in interface com.aspose.ms.System.IEquatable<Filter>
equals
in class Object
obj
- the specified AssignmentBaseline object to compare with this instance.public final FilterCriteria getCriteria()
Gets the criteria that tasks or resources must meet to be displayed in MSP view.
public final void setCriteria(FilterCriteria value)
Sets the criteria that tasks or resources must meet to be displayed in MSP view.
value
- the criteria that tasks or resources must meet to be displayed in MSP view.public final int getFilterType()
Gets the type of the filter.
public final int getIndex()
Gets the index of a Filter
object in the Filters containing object.
Filter
object in the Filters containing object.public final String getName()
Gets the name of a Filter object.
public final void setName(String value)
Sets the name of a Filter object.
value
- the name of a Filter object.public final Project getParentProject()
Gets the parent of the Filter object.
public final boolean getShowInMenu()
Gets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the Ribbon.
public final void setShowInMenu(boolean value)
Sets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the Ribbon.
value
- a value indicating whether project shows the filter name in the Filter drop-down list on the
View tab of the Ribbon.public final boolean getShowRelatedSummaryRows()
Gets a value indicating whether related summary rows are displayed for the filter.
public final void setShowRelatedSummaryRows(boolean value)
Sets a value indicating whether related summary rows are displayed for the filter.
value
- a value indicating whether related summary rows are displayed for the filter.public final int getUid()
Gets the unique identifier of a filter.
public int hashCode()
Returns a hash code value for the filter.
public static boolean op_Equality(Filter a, Filter b)
Returns a value indicating whether this instance is equal to a specified object.
a
- The first filter.b
- The second filter.public static boolean op_GreaterThan(Filter a, Filter b)
Returns a value indicating whether this instance is greater than a specified object.
a
- The first filter.b
- The second filter.public static boolean op_GreaterThanOrEqual(Filter a, Filter b)
Returns a value indicating whether this instance is greater than or equal to a specified object.
a
- The first filter.b
- The second filter.public static boolean op_Inequality(Filter a, Filter b)
Returns a value indicating whether this instance is not equal to a specified object.
a
- The first filter.b
- The second filter.public static boolean op_LessThan(Filter a, Filter b)
Returns a value indicating whether this instance is less than a specified object.
a
- The first filter.b
- The second filter.public static boolean op_LessThanOrEqual(Filter a, Filter b)
Returns a value indicating whether this instance is less than or equal to a specified object.
a
- The first filter.b
- The second filter.