|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
oracle.dacf.control.swing.find.FindAction
Action object which can create a WHERE clause and execute a Query. This class is a building block to create FindButtonControl, FindPanel A data item name for a rowset has to be specified. This rowset will be used to execute the query. This control creates a WHERE clause of form WHERE ( ( col1 = val1) AND (col2 = val2)....) and sets this as a query condtion and executes the query. For each column a FindItemModelhas to be specified. The FindItemModel specifies the column name, type and value used to build the query.
FindItemModel
,
FindPanel
,
Serialized FormField Summary |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
FindAction()
Create Action object with default text and icon |
|
FindAction(java.lang.String text)
Create Action object with specified text |
|
FindAction(java.lang.String text,
javax.swing.Icon icon)
Create Action object with specified text and icon |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
execute query in response to action performed event |
void |
executeQuery(boolean bIgnoreQueryCondition)
execute the query. |
javax.infobus.RowsetAccess |
getDataItem()
get the data item associated with this object. |
java.lang.String |
getDataItemName()
Return the data item name for the row set. |
FindItemModel[] |
getFindItemModel()
return the item model of the column objects |
java.lang.String |
getInfoBusName()
|
FindActionQueryBuilder |
getQueryBuilder()
get the query builder currently in use. |
javax.infobus.ScrollableRowsetAccess |
getRowsetAccess()
get the rowset access currently in use |
boolean |
isCaseSensitiveSearch()
Return true, if the FindPanel does a case sensitive search for character data types. |
void |
setCaseSensitiveSearch(boolean flag)
Specify if case sensitive search is to performed for Character data types. |
void |
setDataItemName(java.lang.String dataItemName)
Specify the data item name for the rowset. |
void |
setFindItemModel(FindItemModel[] findItemModel)
set the FindItem model for the child objects. |
void |
setInfoBusName(java.lang.String infoBusName)
Sets the name of the InfoBus this transaction monitor is connected to. |
void |
setQueryBuilder(FindActionQueryBuilder queryBuilder)
specify the query bulder. |
void |
setRowsetAccess(javax.infobus.ScrollableRowsetAccess rsAccess)
An alternative way to specify a rowset |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FindAction()
public FindAction(java.lang.String text)
text
- to be used for the Action objectpublic FindAction(java.lang.String text, javax.swing.Icon icon)
text
- to be used for the action objecticon
- to be used for the action objectMethod Detail |
public void setInfoBusName(java.lang.String infoBusName)
By default, the it is connected to the default InfoBus, named Control.DEFAULT_INFOBUS_NAME.
If the named InfoBus does not exist, it is created automatically.
infoBusName
- The name of the InfoBus to connect to.public java.lang.String getInfoBusName()
public void setDataItemName(java.lang.String dataItemName)
setRowsetAccess
public java.lang.String getDataItemName()
public void setFindItemModel(FindItemModel[] findItemModel)
findItemModel
- describes the column itemspublic FindItemModel[] getFindItemModel()
public void setQueryBuilder(FindActionQueryBuilder queryBuilder)
queryBuilder
- object which implements custom query building mechanismpublic FindActionQueryBuilder getQueryBuilder()
public javax.infobus.RowsetAccess getDataItem()
public void setRowsetAccess(javax.infobus.ScrollableRowsetAccess rsAccess)
rsAccess
- rowset to usesetDataItemName
public javax.infobus.ScrollableRowsetAccess getRowsetAccess()
public void setCaseSensitiveSearch(boolean flag)
flag
- true if the search should be case sensitivepublic boolean isCaseSensitiveSearch()
public void actionPerformed(java.awt.event.ActionEvent evt)
evt
- ActionEventpublic void executeQuery(boolean bIgnoreQueryCondition)
bIgnoreQueryCondition
- should the WHERE clause be used or not ?
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.