public class WizardEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowChange |
protected Component |
currentPage |
protected boolean |
isLastPage |
protected Component |
newPage |
source| Constructor and Description |
|---|
WizardEvent(Object source,
Component current_page,
Component new_page,
boolean is_last_page,
boolean allow_change) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowChange()
Returns whether the event should be allowed to finish processing.
|
Component |
getCurrentPage()
Returns the current page on which the
JCWizardEvent occured. |
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.
|
getSource, toStringprotected Component currentPage
protected Component newPage
protected boolean isLastPage
protected boolean allowChange
public boolean isLastPage()
public boolean getAllowChange()
public void setAllowChange(boolean v)
v - flagpublic Component getNewPage()
public void setNewPage(Component p)
p - componentpublic Component getCurrentPage()
JCWizardEvent occured.Copyright © 2018. All rights reserved.