|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.geeboss.model.midi.memory.MemoryComponent
net.sourceforge.geeboss.model.midi.memory.MemoryValue
net.sourceforge.geeboss.model.midi.memory.MemoryValue.StringValue
public static class MemoryValue.StringValue
A string value
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryValue |
---|
MemoryValue.ByteValue, MemoryValue.CharValue, MemoryValue.NumberValue, MemoryValue.StringValue, MemoryValue.Type |
Field Summary |
---|
Fields inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryComponent |
---|
mAbsoluteAddress, mBaseAddress, mName, mParent, mSize |
Constructor Summary | |
---|---|
MemoryValue.StringValue(java.lang.String name,
MemoryObject parent,
long baseAddress,
long size,
java.lang.String defaultValue)
Create a new StringValue given it's name, baseAddress and it's size |
Method Summary | |
---|---|
void |
fromSysex(SysexMemoryMessage message,
java.util.List<MemoryComponent> updated)
Load this Syseable object from a sysex memory message |
java.lang.String |
getDefaultValue()
Getter for default value |
java.lang.String |
getValue()
Getter for value |
void |
setValue(java.lang.String value)
Setter for value |
void |
toSysex(java.util.List<SysexMemoryMessage> messages)
Dump this Sysexable object into a sysex memory message list |
Methods inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryValue |
---|
isByte, isChar, isString, isValue |
Methods inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryComponent |
---|
getAbsoluteAddress, getBaseAddress, getName, getParent, getSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryValue.StringValue(java.lang.String name, MemoryObject parent, long baseAddress, long size, java.lang.String defaultValue)
name
- the memory component nameparent
- the parent memory objectbaseAddress
- the MemoryComponent base addresssize
- the MemoryComponent sizedefaultValue
- the default valueMethod Detail |
---|
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the valuepublic java.lang.String getDefaultValue()
public void fromSysex(SysexMemoryMessage message, java.util.List<MemoryComponent> updated)
message
- the sysex memory message to load the object fromupdated
- the list of modified memory componentspublic void toSysex(java.util.List<SysexMemoryMessage> messages)
messages
- the sysex memory message list to dump the object to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |