|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.util.MidiProperties
public class MidiProperties
A class to hold properties for a MidiManager
| Constructor Summary | |
|---|---|
MidiProperties()
Default ctor. |
|
MidiProperties(MidiProperties that)
Copy constructor |
|
MidiProperties(String instrumentName,
int lowNote,
int highNote,
boolean muted)
Create a new MidiProperties |
|
| Method Summary | |
|---|---|
boolean |
applyProperties()
Apply properties |
int |
getHighNote()
Get the HighNote property. |
String |
getInstrumentName()
Get the Instrument property. |
int |
getLowNote()
Get the LowNote property. |
boolean |
getMuted()
Get the Muted property. |
List |
getPropertiesComponents(List comps)
Get the Components for setting the properties |
void |
setHighNote(int value)
Set the HighNote property. |
void |
setInstrumentName(String value)
Set the InstrumentIndex property. |
void |
setLowNote(int value)
Set the LowNote property. |
void |
setMuted(boolean value)
Set the Muted property. |
void |
setProperties(MidiProperties that)
Set the properties from another. |
boolean |
showPropertyDialog(Window w)
Show a Dialog for setting the properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidiProperties()
public MidiProperties(String instrumentName,
int lowNote,
int highNote,
boolean muted)
instrumentName - name of the instrumentlowNote - low note valuehighNote - high note valuemuted - true if mutedpublic MidiProperties(MidiProperties that)
that - the other properties object| Method Detail |
|---|
public void setInstrumentName(String value)
value - The new value for InstrumentIndexpublic String getInstrumentName()
public void setMuted(boolean value)
value - The new value for Mutedpublic boolean getMuted()
public void setLowNote(int value)
value - The new value for LowNotepublic int getLowNote()
public void setHighNote(int value)
value - The new value for HighNotepublic int getHighNote()
public void setProperties(MidiProperties that)
that - the otherpublic boolean showPropertyDialog(Window w)
w - Window for anchor
public boolean applyProperties()
public List getPropertiesComponents(List comps)
comps - compnents to add to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||