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 |
getAscending()
Returns true if a field used as a criterion in a group definition is sorted in ascending order.
|
Color |
getCellColor()
Gets a color of the cell background for a field used as a criterion in a group definition.
|
int |
getField()
Gets a field being grouped by.
|
Font |
getFont()
Gets a font used in group criterion.
|
Color |
getFontColor()
Gets a color of the font for a field used as a criterion in a group definition.
|
Object |
getGroupInterval()
Gets an 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 a pattern of the cell for a field used as a criterion in a group definition.
|
Object |
getStartAt()
Gets a start of the intervals for a field used as a criterion in a group definition.
|
void |
setAscending(boolean value)
Set to true if a field used as a criterion in a group definition is sorted in ascending order.
|
void |
setCellColor(Color value)
Sets a color of the cell background for a field used as a criterion in a group definition.
|
void |
setField(int value)
Sets a field being grouped by.
|
void |
setFont(Font value)
Sets a font used in group criterion.
|
void |
setFontColor(Color value)
Sets a color of the font for a field used as a criterion in a group definition.
|
void |
setGroupInterval(Object value)
Sets an 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 a pattern of the cell for a field used as a criterion in a group definition.
|
void |
setStartAt(Object value)
Sets a start of the intervals for a field used as a criterion in a group definition.
|
public boolean getAscending()
Returns true if a field used as a criterion in a group definition is sorted in ascending order. False if the field is sorted in descending order.
Read/write bool
.
public void setAscending(boolean value)
value
- true if a field used as a criterion in a group definition is sorted in ascending order; otherwise, false.public Color getCellColor()
public void setCellColor(Color value)
value
- a color of the cell background for a field used as a criterion in a group definition.public Color getFontColor()
public void setFontColor(Color value)
value
- a color of the font for a field used as a criterion in a group definition.public int getField()
Gets a field being grouped by.
Read/write Field
.
public void setField(int value)
value
- a field being grouped by.public int getIndex()
Gets the index of a GroupCriterion
object in the containing GroupCriterionCollection
collection.
Read-only int
.
public Group getParentGroup()
Gets the parent of the GroupCriterion
object.
Read-only Group
.
public int getGroupOn()
Gets the type of grouping for a field used as a criterion in a group definition.
Read/write GroupOn
.
public void setGroupOn(int value)
value
- GroupOn enumerated type value.public int getPattern()
Gets a pattern of the cell for a field used as a criterion in a group definition.
Read/write BackgroundPattern
.
public void setPattern(int value)
value
- BackgroundPattern enumerated type value.public Object getStartAt()
Gets a start of the intervals for a field used as a criterion in a group definition.
Read/write object
.
public void setStartAt(Object value)
value
- a start of the intervals for a field used as a criterion in a group definition.public Object getGroupInterval()
Gets an interval for a field used as a criterion in a group definition.
Read/write object
.
public void setGroupInterval(Object value)
value
- an interval for a field used as a criterion in a group definition.public Font getFont()
public void setFont(Font value)
value
- a font used in group criterion.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.