Package VASSAL.tools
Class LoopControl
java.lang.Object
VASSAL.tools.LoopControl
Code for controlling looping common to both TriggerAction and DoActionButton
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
loopDescToType(String desc)
Convert a localized description of a loop type back to a raw typestatic String
loopTypeToDesc(String type)
Convert a Loop Type to a localized description
-
Field Details
-
LOOP_LIMIT
public static final int LOOP_LIMIT- See Also:
- Constant Field Values
-
LOOP_COUNTED
- See Also:
- Constant Field Values
-
LOOP_WHILE
- See Also:
- Constant Field Values
-
LOOP_UNTIL
- See Also:
- Constant Field Values
-
LOOP_TYPES
-
LOOP_TYPE_DESCS
-
-
Constructor Details
-
LoopControl
public LoopControl()
-
-
Method Details
-
loopTypeToDesc
Convert a Loop Type to a localized description- Parameters:
type
- loop type- Returns:
- localized description
-
loopDescToType
Convert a localized description of a loop type back to a raw type- Parameters:
desc
- localized description of loop type- Returns:
- loop type
-