public class ParamModel extends Object implements IParamModel
IParamModel,
Patch| Modifier and Type | Field and Description |
|---|---|
protected int |
offset
Offset of the data for which this model is.
|
protected Patch |
patch
Patch data. |
| Constructor and Description |
|---|
ParamModel() |
ParamModel(Patch patch,
int offset)
Deprecated.
use the empty constructor to let bean initializers fill the
fields automatically.
|
| Modifier and Type | Method and Description |
|---|---|
int |
get()
Get a parameter value.
|
int |
getOffset() |
Patch |
getPatch() |
void |
set(int value)
Set a parameter value
value. |
void |
setOffset(int ofs) |
void |
setPatch(Patch patch) |
protected Patch patch
Patch data.protected int offset
public ParamModel()
@Deprecated public ParamModel(Patch patch, int offset)
ParamModel instance.patch - a Patch valueoffset - an offset in patch.sysex.public void set(int value)
value.set in interface IParamModelpublic int get()
get in interface IParamModelpublic Patch getPatch()
public void setPatch(Patch patch)
public int getOffset()
public void setOffset(int ofs)
Copyright © 2014. All Rights Reserved.