Interface StepControlControllerInterface
-
- All Superinterfaces:
AccessoryRequestListener
- All Known Implementing Classes:
StepControlController
public interface StepControlControllerInterface extends AccessoryRequestListener
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESSORY_ID_CONTROLLINGstatic intACCESSORY_ID_OPERATINGstatic intACCESSORY_ID_SOUNDstatic intASPECT_ID_HOMINGstatic intASPECT_ID_OPERATINGstatic intMAX_CONFIGURED_ASPECTS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.jgoodies.common.collect.ArrayListModel<StepControlAspect>getConfigureAspectsListModel()voidsetMotorPortValue(org.bidib.wizard.model.ports.MotorPort motorPort)Set the new value of the motor port.voidsetSoundActive(boolean soundActive)Set the sound active or mute.voidtriggerLoadCvValues()Trigger load the CV values of the step control.voidtriggerSoundPort(int portId, org.bidib.wizard.model.status.SoundPortStatus soundPortStatus)-
Methods inherited from interface org.bidib.wizard.mvc.main.model.listener.AccessoryRequestListener
activateAspect, storeAccessory
-
-
-
-
Field Detail
-
ACCESSORY_ID_CONTROLLING
static final int ACCESSORY_ID_CONTROLLING
- See Also:
- Constant Field Values
-
ACCESSORY_ID_OPERATING
static final int ACCESSORY_ID_OPERATING
- See Also:
- Constant Field Values
-
ACCESSORY_ID_SOUND
static final int ACCESSORY_ID_SOUND
- See Also:
- Constant Field Values
-
ASPECT_ID_OPERATING
static final int ASPECT_ID_OPERATING
- See Also:
- Constant Field Values
-
ASPECT_ID_HOMING
static final int ASPECT_ID_HOMING
- See Also:
- Constant Field Values
-
MAX_CONFIGURED_ASPECTS
static final int MAX_CONFIGURED_ASPECTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
triggerLoadCvValues
void triggerLoadCvValues()
Trigger load the CV values of the step control.
-
getConfigureAspectsListModel
com.jgoodies.common.collect.ArrayListModel<StepControlAspect> getConfigureAspectsListModel()
- Returns:
- the list model of aspects
-
setMotorPortValue
void setMotorPortValue(org.bidib.wizard.model.ports.MotorPort motorPort)
Set the new value of the motor port.- Parameters:
motorPort- the motor port
-
triggerSoundPort
void triggerSoundPort(int portId, org.bidib.wizard.model.status.SoundPortStatus soundPortStatus)- Parameters:
portId- the sound port to triggersoundPortStatus- the sound port status
-
setSoundActive
void setSoundActive(boolean soundActive)
Set the sound active or mute.- Parameters:
soundActive- the sound active flag
-
-