APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.media.sound

public final Class SF2Layer

extends SoundbankResource
Class Inheritance
Imports
java.util.ArrayList, .List, javax.sound.midi.SoundbankResource

Soundfont layer.
Author
Karl Helgason

Field Summary

Modifier and TypeField and Description
pack-priv SF2GlobalRegion
pack-priv String
pack-priv List<SF2LayerRegion>

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Object
getData()

Implements abstract javax.sound.midi.SoundbankResource.getData.

Obtains the sampled audio that is stored in this SoundbankResource.

public SF2GlobalRegion
public String
getName()

Overrides javax.sound.midi.SoundbankResource.getName.

Obtains the name of the resource.

public List<SF2LayerRegion>
public void
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javax.sound.midi.SoundbankResource:
getDataClassgetSoundbank

Field Detail

globalregionback to summary
pack-priv SF2GlobalRegion globalregion
nameback to summary
pack-priv String name

Hides javax.sound.midi.SoundbankResource.name.

regionsback to summary
pack-priv List<SF2LayerRegion> regions

Constructor Detail

SF2Layerback to summary
public SF2Layer(SF2Soundbank soundBank)
SF2Layerback to summary
public SF2Layer()

Method Detail

getDataback to summary
public Object getData()

Implements abstract javax.sound.midi.SoundbankResource.getData.

Doc from javax.sound.midi.SoundbankResource.getData.

Obtains the sampled audio that is stored in this SoundbankResource. The type of object returned depends on the implementation of the concrete class, and may be queried using getDataClass.

Annotations
@Override
getGlobalRegionback to summary
public SF2GlobalRegion getGlobalRegion()
getNameback to summary
public String getName()

Overrides javax.sound.midi.SoundbankResource.getName.

Doc from javax.sound.midi.SoundbankResource.getName.

Obtains the name of the resource. This should generally be a string descriptive of the resource.

Annotations
@Override
getRegionsback to summary
public List<SF2LayerRegion> getRegions()
setGlobalZoneback to summary
public void setGlobalZone(SF2GlobalRegion zone)
setNameback to summary
public void setName(String name)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override