|
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.ViewCriteriaFindAction
An action object which makes use of ViewCriteria to execute a 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 | |
ViewCriteriaFindAction()
Create Action object with default text and icon |
|
ViewCriteriaFindAction(java.lang.String text)
Create Action object with specified text |
|
ViewCriteriaFindAction(java.lang.String text,
javax.swing.Icon icon)
Create Action object with specified text and icon |
Method Summary | |
protected boolean |
_applyChanges(javax.infobus.ScrollableRowsetAccess scr,
int doWhat)
Propogate changes to the DbAccess. |
protected void |
_applyChangesToDbAccess(javax.infobus.ScrollableRowsetAccess scr,
int doWhat)
|
void |
actionPerformed(java.awt.event.ActionEvent evt)
execute query in response to action performed event |
void |
executeQuery()
execute the query. |
void |
executeQuery(boolean bPostAlways)
First post changes or commit/rollback and then execute query |
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 |
rollback()
rollback if the dataproducer is dirty |
void |
setCaseSensitiveSearch(boolean flag)
Specify if case sensitive search is to performed for Character data types. |
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 ViewCriteriaFindAction()
public ViewCriteriaFindAction(java.lang.String text)
text
- to be used for the Action objectpublic ViewCriteriaFindAction(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 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()
public void executeQuery(boolean bPostAlways)
public void rollback()
protected boolean _applyChanges(javax.infobus.ScrollableRowsetAccess scr, int doWhat)
protected void _applyChangesToDbAccess(javax.infobus.ScrollableRowsetAccess scr, int doWhat) throws java.sql.SQLException, javax.infobus.RowsetValidationException
java.sql.SQLException
javax.infobus.RowsetValidationException
|
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.