JIDE 3.5.15

com.jidesoft.grid
Interface GroupCondition

All Known Implementing Classes:
AbstractGroupRow, DefaultGroupRow

public interface GroupCondition


Method Summary
 GroupCondition configureParentCondition(GroupCondition condition)
          Configure the condition that immediately contains this condition.
 boolean contains(GroupCondition c)
          Checks if the specified condition is contained in this condition.
 Object getConditionValue(int index)
          Gets the condition value.
 int getNumberOfConditions()
          Gets the number of conditions.
 boolean satisfies(TableModel model, int row)
          Checks if a row in the table model satisfies the condition specified by this GroupCondition.
 

Method Detail

satisfies

boolean satisfies(TableModel model,
                  int row)
Checks if a row in the table model satisfies the condition specified by this GroupCondition.

Parameters:
model - the table model.
row - the row index.
Returns:
true if the row in the table model satisfies the group condition. Otherwise false.

contains

boolean contains(GroupCondition c)
Checks if the specified condition is contained in this condition.

Parameters:
c - the condition to check.
Returns:
true if this condition is a super set of the condition c. Otherwise false.

configureParentCondition

GroupCondition configureParentCondition(GroupCondition condition)
Configure the condition that immediately contains this condition.

Parameters:
condition - the condition to be configured.
Returns:
the parent condition. Null if the condition is a top level condition.

getNumberOfConditions

int getNumberOfConditions()
Gets the number of conditions.

Returns:
the number of conditions.

getConditionValue

Object getConditionValue(int index)
Gets the condition value.

Parameters:
index - the index of the condition.
Returns:
the value of the condition.

JIDE 3.5.15