jas2.hist.util
Class SliceEvent
- java.lang.Object
-
- java.util.EventObject
-
- jas2.hist.util.SliceEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class SliceEvent extends java.util.EventObjectAn event which is fired by a SliceAdapter when a new slice is added or removed- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classSliceEvent.EventTypeDefines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().
-
Constructor Summary
Constructors Constructor and Description SliceEvent(java.lang.Object source, SliceEvent.EventType type, int index)Creates a new object representing a hypertext link event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description SliceEvent.EventTypegetEventType()Gets the type of event.intgetIndex()Gets the index of the slice
-
-
-
Constructor Detail
-
SliceEvent
public SliceEvent(java.lang.Object source, SliceEvent.EventType type, int index)Creates a new object representing a hypertext link event.- Parameters:
source- the object responsible for the eventtype- the event typeu- the affected URL
-
-
Method Detail
-
getEventType
public SliceEvent.EventType getEventType()
Gets the type of event.- Returns:
- the type
-
getIndex
public int getIndex()
Gets the index of the slice- Returns:
- the index
-
-
DataMelt 3.0 © DataMelt by jWork.ORG