|
JPedal 4.74b27 Click here for Tutorials, code examples, help forums and support | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.examples.simpleviewer.gui.popups.SignWizardModel
public class SignWizardModel
This class implements the WizardPanelModel and in this case contains the JPanels to be drawn as inner classes. The methods in SignWizardModel are mainly concerned with controlling what panels are next and whether they can be currently reached.
| Field Summary | |
|---|---|
static java.lang.String |
NO_FILE_SELECTED
|
| Constructor Summary | |
|---|---|
SignWizardModel(SignData signData,
java.lang.String pdfFile,
java.lang.String rootDir)
|
|
| Method Summary | |
|---|---|
boolean |
canAdvance()
Indicates whether the next or finish button can be enabled. |
void |
close()
To avoid memory leaks I want to close the decoder I opened in this class when ever the dialog is closed. |
java.util.Map |
getJPanels()
A map of the JPanels the Wizard Dialog should contain. |
java.lang.String |
getStartPanelID()
|
boolean |
hasPrevious()
|
boolean |
isFinishPanel()
|
java.lang.String |
next()
Advance to the next JPanel. |
java.lang.String |
previous()
Set the current JPanel to the previous JPanel. |
void |
registerNextChangeListeners(javax.swing.event.ChangeListener wizard)
When an event is triggered with one of the registered panels the wizard will call back this class and check if the panel can be advanced. |
void |
registerNextKeyListeners(java.awt.event.KeyListener wizard)
Same as the previous method but listens for key changes instead. |
void |
updateSignData()
Harvest user data from the currently displayed panel |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NO_FILE_SELECTED
| Constructor Detail |
|---|
public SignWizardModel(SignData signData,
java.lang.String pdfFile,
java.lang.String rootDir)
signData - Will contain all the information acquired from the user for signing a PdfpdfFile - The path to the Pdf document to be signed.| Method Detail |
|---|
public java.util.Map getJPanels()
getJPanels in interface WizardPanelModelpublic java.lang.String next()
next in interface WizardPanelModelpublic java.lang.String previous()
previous in interface WizardPanelModelpublic boolean hasPrevious()
hasPrevious in interface WizardPanelModelpublic java.lang.String getStartPanelID()
getStartPanelID in interface WizardPanelModelpublic boolean isFinishPanel()
isFinishPanel in interface WizardPanelModelpublic boolean canAdvance()
canAdvance in interface WizardPanelModelpublic void updateSignData()
public void registerNextChangeListeners(javax.swing.event.ChangeListener wizard)
registerNextChangeListeners in interface WizardPanelModelwizard - Listeners to enable/disable advance buttonpublic void registerNextKeyListeners(java.awt.event.KeyListener wizard)
registerNextKeyListeners in interface WizardPanelModelwizard - Listeners to enable/disable advance buttonpublic void close()
close in interface WizardPanelModel
|
JPedal 4.74b27 Click here for Tutorials, code examples, help forums and support | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||