Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.datautil.gui
Interface ComponentContext

All Superinterfaces:
GuiContext
All Known Subinterfaces:
BuilderContext, CalcBuilderContext
All Known Implementing Classes:
DefaultComponentContext

public interface ComponentContext
extends GuiContext

Contains methods that common data-utility graphical user interface component objects require for instantiation, often in conjunction with QueryBuilder or CalcBuilder.


Method Summary
 java.util.Vector getDimensionContext()
          Retrieves the list of dimensions that specify the initial context for this Component instance.
 java.lang.String getDisplayLabelType()
          Retrieves the type of display labels for this CalcBuilder or QueryBuilder object.
 java.lang.String getDisplayMemberLabelType()
          Retrieves the type of display member labels for this CalcBuilder or QueryBuilder object.
 java.util.Vector getMeasureContext()
          Retrieves the list of measures that specify the initial context for this Component instance.
 java.awt.Component getParent()
          Retrieves the parent of this Component instance.
 int getPopupItemCount()
          Retrieves the item count of all popup instances in this Component.
 void setDimensionContext(java.util.Vector dimensions)
          Specifies the list of dimensions that specify the initial context for this Component instance.
 void setDisplayLabelType(java.lang.String displayLabelType)
          Specifies the type of display labels for this CalcBuilder or QueryBuilder object.
 void setDisplayMemberLabelType(java.lang.String displayMemberLabelType)
          Specifies the type of display member labels for this CalcBuilder or QueryBuilder object.
 void setMeasureContext(java.util.Vector measures)
          Specifies the list of measures that specify the initial context for this Component instance.
 void setParent(java.awt.Component component)
          Specifies the parent of this Component instance.
 void setPopupItemCount(int nPopupItemCount)
          Specifies the item count of all popup instances in this Component.

 

Methods inherited from interface oracle.dss.datautil.gui.GuiContext
getMetadataManager, getParentFrame, getQueryContext, setMetadataManager, setParentFrame, setQueryContext

 

Method Detail

getDisplayLabelType

public java.lang.String getDisplayLabelType()
Retrieves the type of display labels for this CalcBuilder or QueryBuilder object.
Returns:
The display label type. Valid values are enumerations from the LayerMetadataMap such as long, short, or medium labels.
See Also:
LayerMetadataMap.LAYER_METADATA_LONGLABEL, LayerMetadataMap.LAYER_METADATA_NAME, LayerMetadataMap.LAYER_METADATA_SHORTLABEL, LayerMetadataMap.LAYER_METADATA_MEDIUMLABEL

setDisplayMemberLabelType

public void setDisplayMemberLabelType(java.lang.String displayMemberLabelType)
Specifies the type of display member labels for this CalcBuilder or QueryBuilder object.
Parameters:
strDisplayMemberLabelType - The display label type. Valid values are enumerations from util.MetadataMap such as long, short, or medium labels.
See Also:
MetadataMap.METADATA_LONGLABEL, MetadataMap.METADATA_VALUE, MetadataMap.METADATA_SHORTLABEL, MetadataMap.METADATA_MEDIUMLABEL

getDisplayMemberLabelType

public java.lang.String getDisplayMemberLabelType()
Retrieves the type of display member labels for this CalcBuilder or QueryBuilder object.
Returns:
The display member label type. Valid values are enumerations from the LayerMetadataMap such as long, short, or medium labels.
See Also:
MetadataMap.METADATA_LONGLABEL, MetadataMap.METADATA_VALUE, MetadataMap.METADATA_SHORTLABEL, MetadataMap.METADATA_MEDIUMLABEL

setDisplayLabelType

public void setDisplayLabelType(java.lang.String displayLabelType)
Specifies the type of display labels for this CalcBuilder or QueryBuilder object.
Parameters:
strDisplayLabelType - The display label type. Valid values are enumerations from util.LayerMetadataMap such as long, short, or medium labels.
See Also:
LayerMetadataMap.LAYER_METADATA_LONGLABEL, LayerMetadataMap.LAYER_METADATA_NAME, LayerMetadataMap.LAYER_METADATA_SHORTLABEL, LayerMetadataMap.LAYER_METADATA_MEDIUMLABEL

getPopupItemCount

public int getPopupItemCount()
Retrieves the item count of all popup instances in this Component.
Returns:
The popup item count that is associated with this Component.

setPopupItemCount

public void setPopupItemCount(int nPopupItemCount)
Specifies the item count of all popup instances in this Component.
Parameters:
nPopupItemCount - The popup item count that is associated with this Component.

getMeasureContext

public java.util.Vector getMeasureContext()
Retrieves the list of measures that specify the initial context for this Component instance.
Returns:
The list of measures that specify the initial context for this Component instance.

setMeasureContext

public void setMeasureContext(java.util.Vector measures)
Specifies the list of measures that specify the initial context for this Component instance.
Parameters:
measures - The list of measures that specify the initial context for this Component instance.

getDimensionContext

public java.util.Vector getDimensionContext()
Retrieves the list of dimensions that specify the initial context for this Component instance.
Returns:
The list of dimensions that specify the initial context for this Component instance.

setDimensionContext

public void setDimensionContext(java.util.Vector dimensions)
Specifies the list of dimensions that specify the initial context for this Component instance.
Parameters:
dimensions - The list of dimensions that specify the initial context for this Component instance.

getParent

public java.awt.Component getParent()
Retrieves the parent of this Component instance.
Returns:
The parent of this Component instance.

setParent

public void setParent(java.awt.Component component)
Specifies the parent of this Component instance.
Parameters:
component - The parent of this Component instance.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.