Class TabRemovedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class TabRemovedEvent
    extends TabEvent
    TabRemovedEvent is an event that contains information about the tab that was removed from a tabbed panel and the tabbed panel it was removed from.
    See Also:
    TabbedPanel, Tab, Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      TabRemovedEvent​(java.lang.Object source, Tab tab, TabbedPanel tabbedPanel)
      Constructs a TabDragEvent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TabbedPanel getTabbedPanel()
      Gets the TabbedPanel the Tab was removed from
      • 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

      • TabRemovedEvent

        public TabRemovedEvent​(java.lang.Object source,
                               Tab tab,
                               TabbedPanel tabbedPanel)
        Constructs a TabDragEvent
        Parameters:
        source - the Tab ot TabbedPanel that is the source for this event
        tab - the Tab that was removed
        tabbedPanel - the TabbedPanel that the Tab was removed from
    • Method Detail

      • getTabbedPanel

        public TabbedPanel getTabbedPanel()
        Gets the TabbedPanel the Tab was removed from
        Returns:
        the TabbedPanel the Tab was removed from