|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.controller.SequenceTaskController
public class SequenceTaskController
Abstract base class for managing progression of a sequence.
| Field Summary | |
|---|---|
protected static int |
CONFIRM_DELAY
The length of time, in milliseconds, to wait for confirmation when applicable. |
static java.lang.String |
CONFIRM_NAVIGATION_PROPERTY
The bound property of whether navigation should be confirmed, of type Boolean. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Constructor Summary | |
|---|---|
SequenceTaskController(com.globalmentor.model.SequenceTask task)
Sequence task constructor. |
|
| Method Summary | |
|---|---|
ProxyActionPrototype |
getAdvanceActionPrototype()
The action prototype for advancing; serves as a proxy for the start, next, and finish actions, depending on the state of the sequence. |
ActionPrototype |
getConfirmActionPrototype()
|
ActionPrototype |
getConfirmingActionPrototype()
The action prototype currently being confirmed and which, if confirmed, will be performed. |
ActionPrototype |
getFinishActionPrototype()
|
ActionPrototype |
getNextActionPrototype()
|
ActionPrototype |
getPreviousActionPrototype()
|
ActionPrototype |
getStartActionPrototype()
|
com.globalmentor.model.SequenceTask |
getTask()
|
boolean |
isConfirmNavigation()
|
void |
setConfirmingActionPrototype(ActionPrototype newConfirmingActionPrototype)
Starts the confirmation timer and, if confirmation is received within the required amount of time, the given action is taken. |
void |
setConfirmNavigation(boolean newConfirmNavigation)
Sets whether each navigation must be confirmed. |
protected void |
update()
Updates the condition of the controller based upon the state. |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONFIRM_NAVIGATION_PROPERTY
Boolean.
protected static final int CONFIRM_DELAY
| Constructor Detail |
|---|
public SequenceTaskController(com.globalmentor.model.SequenceTask task)
task - The sequence task being controlled.
java.lang.NullPointerException - if the given task is null.| Method Detail |
|---|
public ActionPrototype getStartActionPrototype()
public ActionPrototype getPreviousActionPrototype()
public ActionPrototype getNextActionPrototype()
public ActionPrototype getFinishActionPrototype()
public ActionPrototype getConfirmActionPrototype()
public ProxyActionPrototype getAdvanceActionPrototype()
getStartActionPrototype(),
getNextActionPrototype(),
getFinishActionPrototype()public ActionPrototype getConfirmingActionPrototype()
public void setConfirmingActionPrototype(ActionPrototype newConfirmingActionPrototype)
newConfirmingActionPrototype - The action to perform if confirmation is received,
or null if no action should be pending confirmation.public boolean isConfirmNavigation()
true if each navigation should be confirmed.public void setConfirmNavigation(boolean newConfirmNavigation)
Boolean.
newConfirmNavigation - true if each navigation must be confirmed.CONFIRM_NAVIGATION_PROPERTYpublic com.globalmentor.model.SequenceTask getTask()
protected void update()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||