|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.common.Disposable
net.charlesames.music.midi.MidiEntity
public abstract class MidiEntity
Base class for MIDI entities.
| Constructor Summary | |
|---|---|
MidiEntity(MidiEntity container,
int id,
java.lang.String name)
Constructor for MidiEntity instances. |
|
| Method Summary | |
|---|---|
void |
dispose()
Release resources engaged by this object, thus rendering it amenable to garbage collection. |
MidiEntity |
getContainer()
Get the MidiEntity which contains this instance. |
int |
getID()
Get the instance id. |
java.lang.String |
getName()
Get the instance name. |
void |
setName(java.lang.String name)
Set the instance name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidiEntity(MidiEntity container,
int id,
java.lang.String name)
MidiEntity instances.
container - The MidiEntity which contains this instance.id - The instance id.name - The instance name.| Method Detail |
|---|
public MidiEntity getContainer()
MidiEntity which contains this instance.
MidiEntity which contains this instance.public int getID()
public java.lang.String getName()
public void setName(java.lang.String name)
name - The intended instance name.public void dispose()
Disposable
dispose in class Disposable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||