org.jdesktop.swing.decorator
Class PipelineEvent
java.lang.Object
java.util.EventObject
org.jdesktop.swing.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. |
|
Method Summary |
int |
getType()
Returns the event type. |
String |
toString()
Returns a string representation of this event. |
CONTENTS_CHANGED
public static final int CONTENTS_CHANGED
- Identifies one or more changes in the pipeline.
- See Also:
- Constant Field Values
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
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.
- Returns:
- a string representation of this event.
Copyright 2004 by Sun Microsystems, Inc. All Rights Reserved.