    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class jclass.bwt.JCTabManagerEvent

    java.lang.Object
       |
       +----java.util.EventObject
               |
               +----java.awt.AWTEvent
                       |
                       +----jclass.bwt.JCAWTEvent
                               |
                               +----jclass.bwt.JCTabManagerEvent

public class JCTabManagerEvent
extends JCAWTEvent

JCTabManagerEvent is posted by a JCTabManager when its page changes.

See Also:
  addTabManagerListener

##

JCTabManagerEvent(Event, Component, JCTabButton, Component, JCTabButton)

##

getChangePage()
  Determines whether the page should change.
getCurrentPage()
  Gets the current page (null at initialization).
getCurrentTab()
  Gets the current tab (null at initialization).
getNextPage()
  Gets the page that will be displayed.
getNextTab()
  Gets the tab that will be displayed.
setChangePage(boolean)
  Determines whether the page should change (default: true).
setNextPage(Component)
  Sets the page that will be displayed.

##

JCTabManagerEvent

      public JCTabManagerEvent(Event ev,
                               Component current,
                               JCTabButton current_tab,
                               Component next,
                               JCTabButton next_tab)

##

getCurrentPage

      public Component getCurrentPage()

  Gets the current page (null at initialization).

getNextPage

      public Component getNextPage()

  Gets the page that will be displayed.

getCurrentTab

      public JCTabButton getCurrentTab()

  Gets the current tab (null at initialization).

getNextTab

      public JCTabButton getNextTab()

  Gets the tab that will be displayed.

setNextPage

      public void setNextPage(Component page)

  Sets the page that will be displayed.

getChangePage

      public boolean getChangePage()

  Determines whether the page should change.

setChangePage

      public void setChangePage(boolean v)

  Determines whether the page should change (default: true).

    All Packages  Class Hierarchy  This Package  Previous  Next  Index