Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.remote
Class RemoteOlapEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.citra.pivot.olap.remote.RemoteOlapEvent
All Implemented Interfaces:
Serializable

public class RemoteOlapEvent
extends EventObject

An event used to identify the status of RemoteOlapModel.

See Also:
Serialized Form

Field Summary
protected  TreePath[] columnPaths
          the paths to the column header
protected  TreePath[] rowPaths
          the paths to the row header
static int STARTED
          an integer representing a 'started' remote action.
static int STOPPED
          an integer representing a 'stopped' remote action.
protected  int type
          the type of the event
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RemoteOlapEvent(Object source, TreePath[] rowPaths, TreePath[] columnPaths, int type)
          Constructs a RemoteOlapEvent.
 
Method Summary
 TreePath[] getColumnPaths()
          Retrieves the paths to the column header.
 TreePath[] getRowPaths()
          Retrieves the paths to the row header.
 int getType()
          Returns the event's type.
 
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

STARTED

public static final int STARTED
an integer representing a 'started' remote action.

See Also:
Constant Field Values

STOPPED

public static final int STOPPED
an integer representing a 'stopped' remote action.

See Also:
Constant Field Values

type

protected int type
the type of the event


rowPaths

protected TreePath[] rowPaths
the paths to the row header


columnPaths

protected TreePath[] columnPaths
the paths to the column header

Constructor Detail

RemoteOlapEvent

public RemoteOlapEvent(Object source,
                       TreePath[] rowPaths,
                       TreePath[] columnPaths,
                       int type)
Constructs a RemoteOlapEvent.

Method Detail

getColumnPaths

public TreePath[] getColumnPaths()
Retrieves the paths to the column header.

Returns:
the column header paths

getRowPaths

public TreePath[] getRowPaths()
Retrieves the paths to the row header.

Returns:
the row header paths

getType

public int getType()
Returns the event's type. Can be either STARTED or STOPPED.

Returns:
the event's type.

Copyright © 2011 Citra Technologies. All Rights Reserved.