|
|||||||||
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)
|
|
EffectControl[] |
getEffectOrders()
|
|
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
- @return the actual order of the effect that was set
the desired position of the effect in the effect
chain. The range is the whole Integer range.
IllegalArgumentException
- if the effect
cannot be fetched from this class or if the effect
is nullint getEffectOrder(EffectControl effect)
effect
- a value ranged to the whole Integer range,
smaller values meaning earlier effects
the effect whose order is queried
IllegalArgumentException
- if the effect
cannot be fetched from this class or if the effect
is nullEffectControl[] getEffectOrders()
an array of EffectControls in the their current order where the first item in the array means the effect that is processed first
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal