|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.datautil.OLAPDimensionModel
Superclass for DimListDataModel implementations
Fields inherited from interface oracle.dss.util.dimensionList.DimListDataModel |
COLLAPSE, COLLAPSEALL_FLAG, EXPAND, EXPANDALL_FLAG |
Constructor Summary | |
OLAPDimensionModel() |
Method Summary | |
void |
addListDataListener(javax.swing.event.ListDataListener l) Adds a Swing ListDataListener to this object. |
int |
find(java.lang.String search, int flags, int startPos) Searches for a value in the model according to the specified criterea. |
java.lang.Object |
getElementAt(int index) Retrieves the item at the specified position in the model. |
java.lang.Object |
getSelectedItem() Retrieves the item that is currently selected in the model. |
int |
getSize() Retrieves the total number of items in the model. |
void |
refresh() Refreshes the dimension list to reflect the current selections. |
void |
removeListDataListener(javax.swing.event.ListDataListener l) Removes a Swing ListDataListener from this object. |
void |
setErrorHandler(ErrorHandler errorHandler) Sets the error handler. |
void |
setSelectedItem(java.lang.Object item) Specifies the item that you want to select in the model. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.util.dimensionList.DimListDataModel |
collapseAll, drill, elementAt, expandAll, isDragable, isDropTarget, isHierarchical, moveElement, setElementAt, size |
Constructor Detail |
public OLAPDimensionModel()
Method Detail |
public void refresh()
refresh
in interface DimListDataModel
public int find(java.lang.String search, int flags, int startPos)
flags
are FIND_CASE_INSENSITIVE_, FIND_CONTAINS, FIND_ENDS_WITH, FIND_EXACT, FIND_PRIOR, FIND_STARTS_WITH, and are defined by DataAccess
.find
in interface DimListDataModel
search
- The String
that you want to search for.flags
- Costants that represent the type of search that you want to perform.startPos
- The index of the position in the model from which you want to start the search.-1
if a match is not found.DataAccess.FIND_CASE_INSENSITIVE
, DataAccess.FIND_CONTAINS
, DataAccess.FIND_ENDS_WITH
, DataAccess.FIND_EXACT
, DataAccess.FIND_PRIOR
, DataAccess.FIND_STARTS_WITH
public java.lang.Object getSelectedItem()
getSelectedItem
in interface javax.swing.ComboBoxModel
public void setSelectedItem(java.lang.Object item)
setSelectedItem
in interface javax.swing.ComboBoxModel
item
- The item that you want to select in the model.public int getSize()
getSize
in interface javax.swing.ListModel
public void addListDataListener(javax.swing.event.ListDataListener l)
Swing
ListDataListener
to this object.addListDataListener
in interface javax.swing.ListModel
l
- The Swing
ListDataListener
that you want to add.public void removeListDataListener(javax.swing.event.ListDataListener l)
Swing
ListDataListener
from this object.removeListDataListener
in interface javax.swing.ListModel
The
- Swing
ListDataListener
that you want to remove.public java.lang.Object getElementAt(int index)
getElementAt
in interface javax.swing.ListModel
index
- The index of the item in the model.null
if there is an error.public void setErrorHandler(ErrorHandler errorHandler)
errorHandler
- The error handler.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |