infovis.column.event
Class ColumnChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.swing.event.ChangeEvent
          extended by infovis.column.event.ColumnChangeEvent
All Implemented Interfaces:
Serializable

public class ColumnChangeEvent
extends ChangeEvent

Event produced by columns containing a detail about their change.

Version:
$Revision: 1.2 $
Author:
Jean-Daniel Fekete
See Also:
Serialized Form

Field Summary
static int CHANGE_ALL
          Value returned by getDetail when the whole column has changed.
static int CHANGE_NONE
          Value returned by getDetail when no value has changed.
static int CHANGE_SIZE
          Value returned by getDetail when the column size has changed.
 
Constructor Summary
ColumnChangeEvent(Object column)
          Constructor.
ColumnChangeEvent(Object column, int detail)
          Constructor.
 
Method Summary
 int getDetail()
          Returns the detail of changes.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHANGE_SIZE

public static final int CHANGE_SIZE
Value returned by getDetail when the column size has changed.

See Also:
Constant Field Values

CHANGE_ALL

public static final int CHANGE_ALL
Value returned by getDetail when the whole column has changed.

See Also:
Constant Field Values

CHANGE_NONE

public static final int CHANGE_NONE
Value returned by getDetail when no value has changed.

See Also:
Constant Field Values
Constructor Detail

ColumnChangeEvent

public ColumnChangeEvent(Object column,
                         int detail)
Constructor.

Parameters:
column - the column
detail - the detail.

ColumnChangeEvent

public ColumnChangeEvent(Object column)
Constructor.

Parameters:
column - the column.
Method Detail

getDetail

public int getDetail()
Returns the detail of changes.

Returns:
the detail of changes.


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.