|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.gadgets.TwoStepActionSequence
com.partnersoft.v3x.gadgets.ThreeStepActionSequence
public class ThreeStepActionSequence
A mechanism for actions involving two specifications and possible cancellation. For example, to move something on a map, you need to specify the thing you want to move, select the move button (activating the action), then specify where to move it to.
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.v3x.gadgets.TwoStepActionSequence |
|---|
specified |
| Constructor Summary | |
|---|---|
ThreeStepActionSequence()
|
|
| Method Summary | |
|---|---|
Toggle |
getHoldToggle()
If false, releases (becomes inactive) immediately after the second specification. |
BinaryFunction |
getSecondAction()
Function called on the first and second specified items after the second specified item is specified. |
SpecificationListener |
getSecondSpecificationListener()
|
UnaryPredicate |
getSecondValidator()
Predicate which checks if the second specified item is valid for this sequence. |
void |
setSecondAction(BinaryFunction newAction)
Function called on the first and second specified items after the second specified item is specified. |
void |
setSecondValidator(UnaryPredicate newValidator)
Predicate which checks if the second specified item is valid for this sequence. |
| Methods inherited from class com.partnersoft.v3x.gadgets.TwoStepActionSequence |
|---|
getAction, getActiveToggle, getRelease, getSpecificationListener, getSpecified, getValidator, getValidToggle, setAction, setActiveToggle, setRelease, setValidator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreeStepActionSequence()
| Method Detail |
|---|
public SpecificationListener getSecondSpecificationListener()
public BinaryFunction getSecondAction()
public void setSecondAction(BinaryFunction newAction)
public UnaryPredicate getSecondValidator()
public void setSecondValidator(UnaryPredicate newValidator)
public Toggle getHoldToggle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||