|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
com.jidesoft.grid.FilterableTableModelEvent
public class FilterableTableModelEvent
An AWTEvent
that adds support for FilterableTableModel
objects as the event source when
filter is added or removed.
Field Summary | |
---|---|
static int |
ALL_COLUMNS
Specifies all columns. |
static int |
ANY_COLUMNS
Specifies any columns. |
static int |
FILTER_ADDED
This event is delivered when a Filter is added. |
static int |
FILTER_REMOVED
This event is delivered when a Filter is removed. |
static int |
FILTERABLE_TABLE_MODEL_EVENT_FIRST
The first number in the range of IDs used for FilterableTableModel events. |
static int |
FILTERABLE_TABLE_MODEL_EVENT_LAST
The last number in the range of IDs used for FilterableTableModel events. |
static int |
WHOLE_TABLE_MODEL
Specifies any columns. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
FilterableTableModelEvent(Object source,
int id)
Constructs an FilterEvent object. |
|
FilterableTableModelEvent(Object source,
int id,
int column,
Filter filter)
|
Method Summary | |
---|---|
int |
getColumn()
Gets the column index that this change event affects. |
Filter |
getFilter()
|
Methods inherited from class java.awt.AWTEvent |
---|
consume, getID, isConsumed, paramString, setSource, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FILTERABLE_TABLE_MODEL_EVENT_FIRST
FilterableTableModel
events.
public static final int FILTERABLE_TABLE_MODEL_EVENT_LAST
FilterableTableModel
events.
public static final int FILTER_ADDED
Filter
is added. You can call getColumn()
to find the column
where the filter is added and getFilter()
will tell you the filter that is added.
public static final int FILTER_REMOVED
Filter
is removed. You can call getColumn()
to find the
column where the filter is removed and getFilter()
will tell you the filter that is removed. It could
return null when removeFilters is called which means all filters for that particular columns are removed. In
particular,
public static final int ALL_COLUMNS
public static final int ANY_COLUMNS
public static final int WHOLE_TABLE_MODEL
Constructor Detail |
---|
public FilterableTableModelEvent(Object source, int id)
FilterEvent
object.
source
- the Filter
object that originated the eventid
- an integer indicating the type of eventpublic FilterableTableModelEvent(Object source, int id, int column, Filter filter)
Method Detail |
---|
public Filter getFilter()
public int getColumn()
FilterableTableModel.clearFilters()
is called.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |