- java.lang.Object
-
- org.praxislive.base.Binding.Adaptor
-
- org.praxislive.gui.impl.ToggleButtonModelAdaptor
-
public class ToggleButtonModelAdaptor extends Binding.Adaptor
-
-
Constructor Summary
Constructors Constructor Description ToggleButtonModelAdaptor(ButtonModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckSelection()ValuegetOffArgument()ValuegetOnArgument()voidsetOffArgument(Value offArg)voidsetOnArgument(Value onArg)voidupdate()voidupdateBindingConfiguration()-
Methods inherited from class org.praxislive.base.Binding.Adaptor
getBinding, getSyncRate, getValueIsAdjusting, isActive, onError, onResponse, send, setActive, setSyncRate
-
-
-
-
Constructor Detail
-
ToggleButtonModelAdaptor
public ToggleButtonModelAdaptor(ButtonModel model)
-
-
Method Detail
-
setOnArgument
public void setOnArgument(Value onArg)
-
getOnArgument
public Value getOnArgument()
-
setOffArgument
public void setOffArgument(Value offArg)
-
getOffArgument
public Value getOffArgument()
-
update
public void update()
- Overrides:
updatein classBinding.Adaptor
-
updateBindingConfiguration
public void updateBindingConfiguration()
- Overrides:
updateBindingConfigurationin classBinding.Adaptor
-
checkSelection
protected boolean checkSelection()
-
-