|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.citra.table.search.SearchModelEvent
public class SearchModelEvent
An event used to search a table structure.
Field Summary | |
---|---|
static int |
ALL_COLUMNS
denotes to search all columns |
static int |
ALL_ROWS
denotes to search all rows |
protected int |
fromColumn
the starting column |
protected int |
fromRow
the starting row |
static int |
HIGHLIGHT_OFF
the hightlight off mode |
static int |
HIGHLIGHT_ON
the hightlight on mode |
protected boolean |
isForwards
the search direction |
static int |
LAST_COLUMN
denotes the last column that previously matched |
static int |
LAST_ROW
denotes the last row that previously matched |
protected int |
mode
the search mode |
static int |
NEXT_COLUMN
denotes the next column from the previously matched |
static int |
NEXT_ROW
denotes the next row from the previously matched |
static int |
NORMAL_MODE
the normal mode |
protected Search |
search
the search object |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SearchModelEvent(Object source,
Search search)
Constructs a SearchModelEvent object. |
|
SearchModelEvent(Object source,
Search search,
int fromRow,
int fromColumn,
boolean isForwards)
Constructs a SearchModelEvent object. |
|
SearchModelEvent(Object source,
Search search,
int fromRow,
int fromColumn,
boolean isForwards,
int mode)
Constructs a SearchModelEvent object. |
Method Summary | |
---|---|
int |
getFromColumn()
Returns the search starting column or NEXT_COLUMN. |
int |
getFromRow()
Returns the search starting row or NEXT_ROW. |
int |
getMode()
Returns the search mode. |
Search |
getSearch()
Returns the object that will search the table structure. |
boolean |
isForwards()
Returns the direction of the search. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Search search
protected int fromRow
protected int fromColumn
protected boolean isForwards
protected int mode
public static final int NEXT_ROW
public static final int NEXT_COLUMN
public static final int ALL_ROWS
public static final int ALL_COLUMNS
public static final int LAST_ROW
public static final int LAST_COLUMN
public static final int HIGHLIGHT_ON
public static final int HIGHLIGHT_OFF
public static final int NORMAL_MODE
Constructor Detail |
---|
public SearchModelEvent(Object source, Search search)
source
- the object generating the eventsearch
- the object that will search the table structurepublic SearchModelEvent(Object source, Search search, int fromRow, int fromColumn, boolean isForwards)
source
- the Object generating the eventsearch
- the object that will search the table structurefromRow
- the search starting rowfromColumn
- the search starting columnisForwards
- true if the search is in forward direction, false otherwisepublic SearchModelEvent(Object source, Search search, int fromRow, int fromColumn, boolean isForwards, int mode)
source
- the Object generating the eventsearch
- the object that will search the table structurefromRow
- the search starting rowfromColumn
- the search starting columnisForwards
- true if the search is in forward direction, false otherwisemode
- the search modeMethod Detail |
---|
public int getFromColumn()
public int getFromRow()
public int getMode()
public Search getSearch()
public boolean isForwards()
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |