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


oracle.dss.thin.beans.tools
Class ViewTypeChangedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--oracle.dss.thin.beans.tools.ViewToolEvent
              |
              +--oracle.dss.thin.beans.tools.ViewTypeChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class ViewTypeChangedEvent
extends ViewToolEvent

ViewTypeChangedEvent holds the information about a view type change.

See Also:
ViewToolListener, ViewTypeTool, Serialized Form

Constructor Summary
ViewTypeChangedEvent(java.lang.Object source, java.lang.String viewType, int graphType, int graphSubtype, QueryParameterProvider provider)
          Constructor used when the Graph type has changed
ViewTypeChangedEvent(java.lang.Object source, java.lang.String viewType, QueryParameterProvider provider)
          Constructor.

 

Method Summary
 int getGraphSubtype()
          Retrieves the graph subtype.
 int getGraphType()
          Retrieves the graph type.
 QueryParameterProvider getQueryParameterProvider()
          Retrieves the QueryParameterProvider for this event
 java.lang.String getViewType()
          Retrieves the view type Valid constants are defined in oracle.dss.thin.beans.tools.ViewTypeTool.
 java.lang.String toString()
          Returns the ViewTypeChangedEvent representation as a String.

 

Methods inherited from class oracle.dss.thin.beans.tools.ViewToolEvent
getAction

 

Methods inherited from class java.util.EventObject
getSource

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ViewTypeChangedEvent

public ViewTypeChangedEvent(java.lang.Object source,
                            java.lang.String viewType,
QueryParameterProvider provider)
Constructor.
Parameters:
source - The source of this ViewTypeChangedEvent
viewType - New view type
provider - the QueryParameterProvider for the current request

ViewTypeChangedEvent

public ViewTypeChangedEvent(java.lang.Object source,
                            java.lang.String viewType,
                            int graphType,
                            int graphSubtype,
QueryParameterProvider provider)
Constructor used when the Graph type has changed
Parameters:
source - The source of this ViewTypeChangedEvent
viewType - The global view type. Valid constants are defined in ViewTypeTool.
graphType - The Graph type. Valid constants are defined in oracle.dss.graph.gui.GraphTypeConverterAdapter.
graphSubtype - The Graph subtype. Valid constants are defined in oracle.dss.graph.gui.GraphTypeConverterAdapter.
provider - the QueryParameterProvider for the current request
See Also:
GraphTypeConverterAdapter
Method Detail

getViewType

public java.lang.String getViewType()
Retrieves the view type Valid constants are defined in oracle.dss.thin.beans.tools.ViewTypeTool.
Returns:
the view type

getGraphType

public int getGraphType()
Retrieves the graph type. Valid constants are defined in oracle.dss.graph.gui.GraphTypeConverterAdapter.
Returns:
type id
See Also:
GraphTypeConverterAdapter

getGraphSubtype

public int getGraphSubtype()
Retrieves the graph subtype. Valid constants are defined in oracle.dss.graph.gui.GraphTypeConverterAdapter.
Returns:
subtype id
See Also:
GraphTypeConverterAdapter

getQueryParameterProvider

public QueryParameterProvider getQueryParameterProvider()
Retrieves the QueryParameterProvider for this event
Overrides:
getQueryParameterProvider in class ViewToolEvent
Returns:
the current request's QueryParameterProvider

toString

public java.lang.String toString()
Returns the ViewTypeChangedEvent representation as a String.
Overrides:
toString in class ViewToolEvent
Returns:
a String representation of this event

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


Copyright © 2003, Oracle. All Rights Reserved.