|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.geeboss.model.midi.memory.MemoryComponent net.sourceforge.geeboss.model.midi.memory.MemoryValue
public abstract class MemoryValue
A value memory component
Nested Class Summary | |
---|---|
static class |
MemoryValue.ByteValue
A Byte value |
static class |
MemoryValue.CharValue
A Char value |
static class |
MemoryValue.NumberValue
A number value |
static class |
MemoryValue.StringValue
A string value |
static class |
MemoryValue.Type
Type enum |
Field Summary |
---|
Fields inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryComponent |
---|
mAbsoluteAddress, mBaseAddress, mName, mParent, mSize |
Constructor Summary | |
---|---|
MemoryValue(java.lang.String name,
MemoryObject parent,
long baseAddress,
long size,
MemoryValue.Type type)
Create a new MemoryValue given it's name, baseAddress and it's size |
Method Summary | |
---|---|
boolean |
isByte()
Returns true if this MemoryValue is a ByteValue |
boolean |
isChar()
Returns true if this MemoryValue is a CharValue |
boolean |
isString()
Returns true if this MemoryValue is a StringValue |
boolean |
isValue()
Returns false if this MemoryComponent's implementation is a value (data) |
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 |
Methods inherited from interface net.sourceforge.geeboss.model.midi.sysex.Sysexable |
---|
fromSysex, toSysex |
Constructor Detail |
---|
public MemoryValue(java.lang.String name, MemoryObject parent, long baseAddress, long size, MemoryValue.Type type)
name
- the memory component nameparent
- the parent memory objectbaseAddress
- the MemoryComponent base addresssize
- the MemoryComponent sizeMethod Detail |
---|
public boolean isValue()
isValue
in class MemoryComponent
public boolean isString()
public boolean isChar()
public boolean isByte()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |