org.jdesktop.swingx.decorator
Class PipelineEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jdesktop.swingx.decorator.PipelineEvent
All Implemented Interfaces:
Serializable

public class PipelineEvent
extends EventObject

Defines an event that encapsulates changes to a pipeline.

See Also:
Serialized Form

Field Summary
static int CONTENTS_CHANGED
          Identifies one or more changes in the pipeline.
static int SORT_ORDER_CHANGED
          Identifies a order change of the interactive sorter.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PipelineEvent(Object source, int type)
          Constructs a PipelineEvent object.
 
Method Summary
 int getType()
          Returns the event type.
 String toString()
          Returns a string representation of this event.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTENTS_CHANGED

public static final int CONTENTS_CHANGED
Identifies one or more changes in the pipeline.

See Also:
Constant Field Values

SORT_ORDER_CHANGED

public static final int SORT_ORDER_CHANGED
Identifies a order change of the interactive sorter.

See Also:
Constant Field Values
Constructor Detail

PipelineEvent

public PipelineEvent(Object source,
                     int type)
Constructs a PipelineEvent object.

Parameters:
source - the source Object (typically this)
type - an int specifying the event type
Method Detail

getType

public int getType()
Returns the event type. The possible values are:

Returns:
an int representing the type value

toString

public String toString()
Returns a string representation of this event. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.

Overrides:
toString in class EventObject
Returns:
a string representation of this event.