Documentation of 'jas2.hist.util.SliceEvent' Java class
SliceEvent
jas2.hist.util

Class SliceEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class SliceEvent
    extends java.util.EventObject
    An 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 class  SliceEvent.EventType
      Defines 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.EventType getEventType()
      Gets the type of event.
      int getIndex()
      Gets the index of the slice
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 event
        type - the event type
        u - 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

You see the box below because you did not login.