|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.alchemist.AlchemistController
public abstract class AlchemistController
| Field Summary | |
|---|---|
protected Alchemist |
alchemist
The Alchemist object of the controller instance |
javax.swing.Action |
BACK_ACTION
Backward navigation Action |
javax.swing.Action |
CANCEL_ACTION
Cancel Action |
javax.swing.Action |
DONE_ACTION
Done Action |
javax.swing.Action |
FINISH_ACTION
Finish Action |
javax.swing.Action |
NEXT_ACTION
Forward navigation Action |
javax.swing.Action |
PROGRESS_ACTION
Progress Action for jumping one or more steps forward or backward if possible |
protected AlchemistState |
state
the AlchemistState object of this controller |
| Constructor Summary | |
|---|---|
AlchemistController(java.lang.String title)
Creates an AlchemistController instance. |
|
| Method Summary | |
|---|---|
protected void |
addPage(java.lang.String label,
AlchemistPage page)
Inserts an item to the end of progress list. |
protected abstract void |
cancelPressed()
This method is called when cancel button is pressed |
protected abstract void |
finishPressed()
This method is called when finish button is pressed |
Alchemist |
getAlchemist()
Returns the alchemist of this configuration instance. |
abstract java.lang.String |
getHelpURL()
This function returns a string with help URL or null |
abstract java.io.File |
getPropertiesFile()
This method returns the file for persistent properties to be saved into, or null, if no save needed. |
protected void |
initAlchemist()
This method initializes the first page of Alchemist. |
protected void |
initializeProperties()
This method initializes the AlchemistState of the Alchemist by loading the persistent properties |
protected void |
popupHelpInBrowser()
This method starts a browser with online help url |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
protected void |
saveProperties()
This method saves the persistent properties of Alchemist |
protected void |
setBanner(AlchemistBanner banner)
Sets the banner displayed in AlchemistFrame |
protected void |
setStepEnabled(int step,
boolean enabled)
This method sets the state of a step in the workflow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AlchemistState state
protected Alchemist alchemist
public final javax.swing.Action BACK_ACTION
public final javax.swing.Action NEXT_ACTION
public final javax.swing.Action CANCEL_ACTION
public final javax.swing.Action FINISH_ACTION
public final javax.swing.Action DONE_ACTION
public final javax.swing.Action PROGRESS_ACTION
| Constructor Detail |
|---|
public AlchemistController(java.lang.String title)
title - is the title of the Alchemist frame| Method Detail |
|---|
protected void setBanner(AlchemistBanner banner)
banner - is the banner objectprotected void initAlchemist()
protected void initializeProperties()
protected void saveProperties()
protected abstract void cancelPressed()
protected abstract void finishPressed()
protected final void addPage(java.lang.String label,
AlchemistPage page)
label - is the text of the progress object.page - is the panel instance corresponds to the progress object.public Alchemist getAlchemist()
protected final void setStepEnabled(int step,
boolean enabled)
step - is the index of the stepenabled - is the statepublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpublic abstract java.io.File getPropertiesFile()
public abstract java.lang.String getHelpURL()
protected void popupHelpInBrowser()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||