|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iphrase.onestep.beans.DrillDownTabs
Contains data required for formatting of the tabs component.
The Tabs component is built upon the feature defined as a
RENDER_TAB_FEATURE in the default.prp file.
Each tab represents a single tabbed feature value.
The data structure of this class is optimized for access from JSP.
The single instance of DrillDownTabs
is created by the QueryHandler
and set in the request-scope.
Constructor Summary | |
DrillDownTabs(com.iphrase.runtime.query.result.ResultSet resultsSet,
com.iphrase.runtime.query.Query query)
Constructs the DrillDownTabs object |
Method Summary | |
TallyValueHandler |
getActiveTabValue()
Returns the value of the active tab. |
int |
getAllTabTallyCount()
Returns the sum of all the tallies for each tab that meets the current constraints. |
boolean |
getIsAllTabOn()
Indicates if the "All" tab is selected |
TallyValueHandler[] |
getTabs()
Returns tabs in an order specified by tabsOrderLabels |
int |
getTabsCount()
Gets the number of available tabs (not including the "All" tab). |
java.lang.String |
getTabsFeatureId()
Returns the value of RENDER_TAB_FEATURE property in the default.prp file. |
static com.iphrase.runtime.query.result.TallyFeature |
LookupTabsTallyFeature(com.iphrase.runtime.query.result.DrillDown drillDown)
Returns a feature marked as RENDER_TAB_FEATURE in the default.prp file |
void |
setTabsOrder(java.lang.String tabsOrderLabels)
Set the order of the tabs. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DrillDownTabs(com.iphrase.runtime.query.result.ResultSet resultsSet, com.iphrase.runtime.query.Query query)
DrillDownTabs
objectresultsSet
- a query ResultSet
(usually MainResult
set)query
- a Query
object used to produce the result setMethod Detail |
public static com.iphrase.runtime.query.result.TallyFeature LookupTabsTallyFeature(com.iphrase.runtime.query.result.DrillDown drillDown)
drillDown
- DrillDown
list of features to search withinTallyFeature
public TallyValueHandler[] getTabs()
tabsOrderLabels
TallyValueHandler
objectspublic boolean getIsAllTabOn()
true
if the "All" tab is selectedpublic int getAllTabTallyCount()
int
the number of items returned when the "All" tab is pressed.public java.lang.String getTabsFeatureId()
public void setTabsOrder(java.lang.String tabsOrderLabels)
tabsOrderLabels
- a ";" separated list of tab labels (as they appear in the constraint string)
See the Look and Feel Chapter of the User's Guide for additional details.public TallyValueHandler getActiveTabValue()
TallyValueHandler
public int getTabsCount()
tabsCount
property
|
© Copyright 2005, 2006. IBM Corporation. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |