public class MidiProperties
extends java.lang.Object
| Constructor and Description | 
|---|
| MidiProperties()Default ctor. | 
| MidiProperties(MidiProperties that)Copy constructor | 
| MidiProperties(java.lang.String instrumentName,
              int lowNote,
              int highNote,
              boolean muted)Create a new MidiProperties | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | applyProperties()Apply properties | 
| int | getHighNote()Get the HighNote property. | 
| java.lang.String | getInstrumentName()Get the Instrument property. | 
| int | getLowNote()Get the LowNote property. | 
| boolean | getMuted()Get the Muted property. | 
| java.util.List | getPropertiesComponents(java.util.List comps)Get the Components for setting the properties | 
| void | setHighNote(int value)Set the HighNote property. | 
| void | setInstrumentName(java.lang.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(java.awt.Window w)Show a Dialog for setting the properties. | 
public MidiProperties()
public MidiProperties(java.lang.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 objectpublic void setInstrumentName(java.lang.String value)
value - The new value for InstrumentIndexpublic java.lang.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(java.awt.Window w)
w - Window for anchorpublic boolean applyProperties()
public java.util.List getPropertiesComponents(java.util.List comps)
comps - compnents to add to