jas.hist.util
Class SliceEvent
java.lang.Object
  
java.util.EventObject
      
jas.hist.util.SliceEvent
- All Implemented Interfaces: 
 - Serializable
 
public class SliceEvent
- extends EventObject
 
An event which is fired by a SliceAdapter when a new slice is added or removed
- See Also:
 - Serialized Form
 
| 
Nested Class Summary | 
static class | 
SliceEvent.EventType
 
          Defines the ENTERED, EXITED, and ACTIVATED event types, along
 with their string representations, returned by toString(). | 
 
 
 
 
 
 
 
SliceEvent
public SliceEvent(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
 
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
 
 
 
Copyright © 2000-2009 FreeHEP. All Rights Reserved.