|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines constants and methods for all of the dimension list models.
DimensionCombo
, DimensionList
, DimensionListPanel
Field Summary | |
static int |
COLLAPSE Drill type: Collapse. |
static int |
COLLAPSEALL_FLAG Indicates that the dimension list is fully collapsed when it is initially displayed. |
static int |
EXPAND Drill type: Expand. |
static int |
EXPANDALL_FLAG Indicates that the dimension list is fully expanded when it is initially displayed. |
Method Summary | |
boolean |
collapseAll() Fully collapses the dimension list to the highest hierarchical level. |
boolean |
drill(int index, int drillType) Drills the specified item. |
java.lang.Object |
elementAt(int index) Retrieves the item at the specified position in the model. |
boolean |
expandAll() Fully expands the dimension list to the lowest hierarchical level. |
int |
find(java.lang.String search, int flags, int startPos) Searches for a matching item according to the specified criteria. |
boolean |
isDragable(long index) Indicates whether you can drag the specified item. |
boolean |
isDropTarget(long index, java.lang.Object o) Indicates whether you can drop this item in the specified position in the model. |
boolean |
isHierarchical() Indicates whether this data model supports a hierarchical display of data. |
void |
moveElement(int indexFrom, int indexTo) Moves an item from the specified position in the model to the target position in the model. |
void |
refresh() Refreshes the dimension list to reflect the current selections. |
void |
setElementAt(java.lang.Object item, int index) Specifies an object to be inserted at the specified position in the model. |
int |
size() Retrieves the total count of items in the model. |
Methods inherited from interface javax.swing.ComboBoxModel |
getSelectedItem, setSelectedItem |
Methods inherited from interface javax.swing.ListModel |
addListDataListener, getElementAt, getSize, removeListDataListener |
Field Detail |
public static final int COLLAPSE
public static final int EXPAND
public static final int EXPANDALL_FLAG
public static final int COLLAPSEALL_FLAG
Method Detail |
public boolean collapseAll()
true
if the collapse is successful, false
if it is not.public boolean drill(int index, int drillType)
index
- The index of the item that you want to drill. The index represents the item's position in the model.drillType
- A constant that represents the drill operation that you want to perform on this item.true
if the drill is successful, false
if it is not.COLLAPSE
, EXPAND
public boolean expandAll()
true
if the expansion is successful, false
if it is not.public int find(java.lang.String search, int flags, int startPos)
search
- A String
that contains the characters that you want to match.flags
- A constant or constants that represent specific information about the search. You can combine constants by using the or
operator.startPos
- The index of the position from which you want to start the search in the model.public java.lang.Object elementAt(int index)
index
- The position of the item in the model.null
if there is an error.public int size()
public void moveElement(int indexFrom, int indexTo)
indexFrom
- The position of the item that you want to move.indexTo
- The position that you want to move this item to.public void setElementAt(java.lang.Object item, int index)
item
- The item that you want to specify.index
- The position for which you want to specify an item.public boolean isDragable(long index)
index
- The position of the item in the model that you want to drag.true
if you can drag the item, false
if you cannot.public boolean isDropTarget(long index, java.lang.Object o)
index
- The position in which you want to drop this item.o
- The item that you want to drop.true
if you can drop this item in the specified position, false
if you cannot.public void refresh()
public boolean isHierarchical()
true
if this data model supports a hierarchical display of data, false
if it does not.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |