public class GroupCriterion extends Object
Represents a criterion in a group definition.
The GroupCriterion object is a member of the GroupCriterionCollection
collection.
Constructor and Description |
---|
GroupCriterion() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
|
boolean |
getAscending()
Gets a value indicating whether a field used as a criterion in a group definition is sorted in ascending order.
|
Color |
getCellColor()
Gets the color of the cell background for a field used as a criterion in a group definition.
|
int |
getField()
Gets the field being grouped by.
|
Font |
getFont()
Gets the font for a criterion in a group definition.
|
Color |
getFontColor()
Gets the color of the font for a field used as a criterion in a group definition.
|
Object |
getGroupInterval()
Gets the interval for a field used as a criterion in a group definition.
|
int |
getGroupOn()
Gets the type of grouping for a field used as a criterion in a group definition.
|
int |
getIndex()
Gets the index of a
GroupCriterion object in the containing GroupCriterionCollection collection. |
Group |
getParentGroup()
Gets the parent of the
GroupCriterion object. |
int |
getPattern()
Gets the pattern of the cell for a field used as a criterion in a group definition.
|
Object |
getStartAt()
Gets the start of the intervals for a field used as a criterion in a group definition.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
void |
setAscending(boolean value)
Sets a value indicating whether a field used as a criterion in a group definition is sorted in ascending order.
|
void |
setCellColor(Color value)
Sets the color of the cell background for a field used as a criterion in a group definition.
|
void |
setField(int value)
Sets the field being grouped by.
|
void |
setFont(Font value)
Sets the font for a criterion in a group definition.
|
void |
setFontColor(Color value)
Sets the color of the font for a field used as a criterion in a group definition.
|
void |
setGroupInterval(Object value)
Sets the interval for a field used as a criterion in a group definition.
|
void |
setGroupOn(int value)
Sets the type of grouping for a field used as a criterion in a group definition.
|
void |
setPattern(int value)
Sets the pattern of the cell for a field used as a criterion in a group definition.
|
void |
setStartAt(Object value)
Sets the start of the intervals for a field used as a criterion in a group definition.
|
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
public final boolean getAscending()
Gets a value indicating whether a field used as a criterion in a group definition is sorted in ascending order. False if the field is sorted in descending order.
public final void setAscending(boolean value)
Sets a value indicating whether a field used as a criterion in a group definition is sorted in ascending order. False if the field is sorted in descending order.
value
- a value indicating whether a field used as a criterion in a group definition is sorted in
ascending order.public final Color getCellColor()
Gets the color of the cell background for a field used as a criterion in a group definition.
public final void setCellColor(Color value)
Sets the color of the cell background for a field used as a criterion in a group definition.
value
- the color of the cell background for a field used as a criterion in a group definition.public final int getField()
Gets the field being grouped by.
public final void setField(int value)
Sets the field being grouped by.
value
- the field being grouped by.public final Font getFont()
Gets the font for a criterion in a group definition.
public final void setFont(Font value)
Sets the font for a criterion in a group definition.
value
- the font for a criterion in a group definition.public final Color getFontColor()
Gets the color of the font for a field used as a criterion in a group definition.
public final void setFontColor(Color value)
Sets the color of the font for a field used as a criterion in a group definition.
value
- the color of the font for a field used as a criterion in a group definition.public final Object getGroupInterval()
Gets the interval for a field used as a criterion in a group definition.
public final void setGroupInterval(Object value)
Sets the interval for a field used as a criterion in a group definition.
value
- the interval for a field used as a criterion in a group definition.public final int getGroupOn()
Gets the type of grouping for a field used as a criterion in a group definition.
public final void setGroupOn(int value)
Sets the type of grouping for a field used as a criterion in a group definition.
value
- the type of grouping for a field used as a criterion in a group definition.public final int getIndex()
Gets the index of a GroupCriterion
object in the containing GroupCriterionCollection
collection.
GroupCriterion
object in the containing GroupCriterionCollection
collection.public final Group getParentGroup()
Gets the parent of the GroupCriterion
object.
GroupCriterion
object.public final int getPattern()
Gets the pattern of the cell for a field used as a criterion in a group definition.
public final void setPattern(int value)
Sets the pattern of the cell for a field used as a criterion in a group definition.
value
- the pattern of the cell for a field used as a criterion in a group definition.public final Object getStartAt()
Gets the start of the intervals for a field used as a criterion in a group definition.
public final void setStartAt(Object value)
Sets the start of the intervals for a field used as a criterion in a group definition.
value
- the start of the intervals for a field used as a criterion in a group definition.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.