Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

oracle.adf.view.faces.bi.event.pivotTable
Class SortEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by javax.faces.event.ActionEvent
              extended by oracle.adf.view.faces.bi.event.pivotTable.SortEvent
All Implemented Interfaces:
java.io.Serializable

public class SortEvent
extends javax.faces.event.ActionEvent

An event fired when a sort has occurred or is about to to occur.

See Also:
Serialized Form

Nested Class Summary
static class SortEvent.SortType
          The type of sort being performed.
 
Field Summary
static java.lang.Integer COLUMN_SORT_ASCENDING
          A value indicating that the sort is in order of increasing values.
static java.lang.Integer COLUMN_SORT_DESCENDING
          A value indicating that the sort is in order of decreasing values.
static java.lang.String COLUMN_SORT_DIRECTION_PARAM
          The name of the parameter whose value can either be COLUMN_SORT_ASCENDING or COLUMN_SORT_DESCENDING, indicating the direction of the sort.
static java.lang.String COLUMN_SORT_GROUPED_PARAM
          The name of the parameter whose value is a Boolean that indicates whether the sort will retain groupings on the row edge.
static java.lang.String COLUMN_SORT_SLICE_PARAM
          The name of the parameter whose value is an Integer that indicates the index of the column being sorted.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SortEvent(javax.faces.component.UIComponent component, SortEvent.SortType type, java.util.Map<java.lang.String,java.lang.Object> properties)
          Creates a new sort event.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
          Returns a map of properties for the sort event.
 SortEvent.SortType getType()
          Returns the type of sort event.
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
          Indicates whether the listener is an appropriate listener for this event, that is, an instance of SortListener.
 void processListener(javax.faces.event.FacesListener listener)
          Calls the appropriate callback method of the listener.
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLUMN_SORT_SLICE_PARAM

public static final java.lang.String COLUMN_SORT_SLICE_PARAM
The name of the parameter whose value is an Integer that indicates the index of the column being sorted.

See Also:
Constant Field Values

COLUMN_SORT_DIRECTION_PARAM

public static final java.lang.String COLUMN_SORT_DIRECTION_PARAM
The name of the parameter whose value can either be COLUMN_SORT_ASCENDING or COLUMN_SORT_DESCENDING, indicating the direction of the sort.

See Also:
Constant Field Values

COLUMN_SORT_GROUPED_PARAM

public static final java.lang.String COLUMN_SORT_GROUPED_PARAM
The name of the parameter whose value is a Boolean that indicates whether the sort will retain groupings on the row edge.

See Also:
Constant Field Values

COLUMN_SORT_ASCENDING

public static final java.lang.Integer COLUMN_SORT_ASCENDING
A value indicating that the sort is in order of increasing values.


COLUMN_SORT_DESCENDING

public static final java.lang.Integer COLUMN_SORT_DESCENDING
A value indicating that the sort is in order of decreasing values.

Constructor Detail

SortEvent

public SortEvent(javax.faces.component.UIComponent component,
                 SortEvent.SortType type,
                 java.util.Map<java.lang.String,java.lang.Object> properties)
Creates a new sort event.

Parameters:
component - the component that was sorted
type - the type of sort that was performed
properties - additional information about the sort
Method Detail

getType

public SortEvent.SortType getType()
Returns the type of sort event.

Returns:
the type of sort event

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Returns a map of properties for the sort event.

Returns:
a Map of properties for the sort event

isAppropriateListener

public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
Indicates whether the listener is an appropriate listener for this event, that is, an instance of SortListener.

Overrides:
isAppropriateListener in class javax.faces.event.ActionEvent
Parameters:
listener - the listener to check
Returns:
true if the listener is appropriate for this event, false/code> otherwise

processListener

public void processListener(javax.faces.event.FacesListener listener)
Calls the appropriate callback method of the listener.

Overrides:
processListener in class javax.faces.event.ActionEvent

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

Copyright © 1997, 2011, Oracle. All rights reserved.