JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.swing
Class JCWizardEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.klg.jclass.swing.JCWizardEvent
All Implemented Interfaces:
Serializable

public class JCWizardEvent
extends EventObject

The event object for JCWizard pages.

See Also:
Serialized Form

Field Summary
protected  boolean allowChange
           
protected  Component currentPage
           
protected  boolean isLastPage
           
protected  Component newPage
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JCWizardEvent(Object source, Component current_page, Component new_page, boolean is_last_page, boolean allow_change)
           
 
Method Summary
 boolean getAllowChange()
          Returns whether the event should be allowed to finish processing.
 Component getCurrentPage()
          Returns the current page on which the JCWizardEvent occurred.
 Component getNewPage()
          Returns the next page.
 boolean isLastPage()
          Returns whether the page is the last page.
 void setAllowChange(boolean v)
          Sets whether the event should be allowed to finish processing.
 void setNewPage(Component p)
          Sets the next page.
 
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
 

Field Detail

currentPage

protected Component currentPage

newPage

protected Component newPage

isLastPage

protected boolean isLastPage

allowChange

protected boolean allowChange
Constructor Detail

JCWizardEvent

public JCWizardEvent(Object source,
                     Component current_page,
                     Component new_page,
                     boolean is_last_page,
                     boolean allow_change)
Method Detail

isLastPage

public boolean isLastPage()
Returns whether the page is the last page.

Returns:
whether the page is the last page

getAllowChange

public boolean getAllowChange()
Returns whether the event should be allowed to finish processing.

Returns:
wheter the event should be allowed to finish processing

setAllowChange

public void setAllowChange(boolean v)
Sets whether the event should be allowed to finish processing.

Parameters:
v -

getNewPage

public Component getNewPage()
Returns the next page.

Returns:
next page

setNewPage

public void setNewPage(Component p)
Sets the next page.

Parameters:
p -

getCurrentPage

public Component getCurrentPage()
Returns the current page on which the JCWizardEvent occurred.

Returns:
current page on which the JCWizardEvent occurred

Copyright © 2004 Quest Software Inc..
All rights reserved.