Class TabClosingEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class TabClosingEvent
    extends java.util.EventObject
    An EventObject for a closing tab.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex()
      Index that was requested to be closed.
      • Methods inherited from class java.util.EventObject

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TabClosingEvent

        public TabClosingEvent​(JaxoClosableTabbedPane source,
                               int ind)
        A closing event.
        Parameters:
        source - The source.
        ind - The index of the tab.
    • Method Detail

      • getIndex

        public final int getIndex()
        Index that was requested to be closed.
        Returns:
        The index of the tab.