|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EffectOrderControl
EffectOrderControl
is an interface designed to
specify the order of effects represented by EffectControl
s.
It is intended that an EffectOrderControl
might be exposed by Player
s,
EffectModule
s, MediaProcessor
s,
MIDIChannelControl
s
and by the GlobalManager
.
Effects with a smaller order are processed first.
If an EffectOrderControl
is not used,
the default ordering of effects will be used. The default ordering is implementation specific.
Method Summary | |
---|---|
int |
getEffectOrder(EffectControl effect)
Returns the current position of the effect in the effect processing chain. |
EffectControl[] |
getEffectOrders()
Returns the current positions of the effects in the effect processing chain. |
int |
setEffectOrder(EffectControl effect,
int order)
Sets the order of the effect in the effect chain. |
Method Detail |
---|
int setEffectOrder(EffectControl effect, int order)
effect
- the effect whose order is to be setorder
- the desired position of the effect in the effect
chain. The range is the whole Integer range.
java.lang.IllegalArgumentException
- if the effect
cannot be fetched from this class or if the effect
is nullint getEffectOrder(EffectControl effect)
effect
- the effect whose order is queried
java.lang.IllegalArgumentException
- if the effect
cannot be fetched from this class or if the effect
is nullEffectControl[] getEffectOrders()
|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |