|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sky.monome.Component sky.monome.Container sky.monome.AbstractGroup<SequencerPageSwitcher.SequencerPage> sky.monome.SequencerPageSwitcher
public class SequencerPageSwitcher
Single sequencer which works with multiple pages. You can control multiple parameters in parallel by activating one page or another.
Nested Class Summary | |
---|---|
class |
SequencerPageSwitcher.SequencerPage
Page of sequencer. |
Nested classes/interfaces inherited from interface sky.monome.sequencer.Sequencer |
---|
Sequencer.SequencerOrientation |
Field Summary | |
---|---|
protected SequencerPageSwitcher.SequencerPage |
activePage
Active sequencer page in this sequencer page switcher. |
protected int |
activeStepNumber
Number of the currently active step in the sequence. |
protected int |
activeStepNumberPseudoCopyForSequencerEffect
Copy of the number of the currently active step in the sequence. |
protected boolean |
optional
Indicates if a Radio.RadioGroup or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons. |
protected SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> |
sequenceIterator
Sequence iterator. |
protected long |
sequencerEffectTime
Time duration of the sequencer effect, in milliseconds (short lightning that symbolizes the activation of a new step in the sequence). |
protected SequencerEngine<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> |
sequencerEngine
Sequencer engine. |
protected Sequencer.SequencerOrientation |
sequencerOrientation
Orientation of this sequencer page switcher. |
protected int |
stepsNumber
Number of steps in the sequence. |
protected int |
stepsNumberPseudoCopyWhenChangingRealValue
Copy of the number of steps in the sequence. |
Fields inherited from class sky.monome.AbstractGroup |
---|
components |
Fields inherited from class sky.monome.Container |
---|
height, width |
Fields inherited from class sky.monome.Component |
---|
container, eventListenerList, lockObject, name, x, y |
Fields inherited from interface sky.monome.sequencer.Sequencer |
---|
SEQUENCER_EFFECT_TIME |
Constructor Summary | |
---|---|
SequencerPageSwitcher(java.lang.String name,
Container container,
int x,
int y,
int width,
int height,
Sequencer.SequencerOrientation sequencerOrientation,
float tempo,
int divisions,
int stepsNumber,
boolean optional,
int pagesNumber)
Deprecated. Since SkyMonome v1.2, all components register themselves inside their container, so you don't need to specify the container by calling this constructor. |
|
SequencerPageSwitcher(java.lang.String name,
Container container,
int x,
int y,
int width,
int height,
Sequencer.SequencerOrientation sequencerOrientation,
float tempo,
int divisions,
int stepsNumber,
boolean optional,
int pagesNumber,
SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIterator)
Deprecated. Since SkyMonome v1.2, all components register themselves inside their container, so you don't need to specify the container by calling this constructor. |
|
SequencerPageSwitcher(java.lang.String name,
Container container,
int x,
int y,
int width,
int height,
Sequencer.SequencerOrientation sequencerOrientation,
float tempo,
int divisions,
int stepsNumber,
boolean optional,
int pagesNumber,
SequenceIteratorFactory<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIteratorFactory)
Deprecated. Since SkyMonome v1.2, all components register themselves inside their container, so you don't need to specify the container by calling this constructor. |
|
SequencerPageSwitcher(java.lang.String name,
int x,
int y,
int width,
int height,
Sequencer.SequencerOrientation sequencerOrientation,
float tempo,
int divisions,
int stepsNumber,
boolean optional,
int pagesNumber)
Constructs a sequencer page switcher with the specified name, specified coordinates and dimensions, the specified orientation, specified tempo and number of divisions by quarter note, the specified steps number, the specified mode for radio groups and the specified pages number. |
|
SequencerPageSwitcher(java.lang.String name,
int x,
int y,
int width,
int height,
Sequencer.SequencerOrientation sequencerOrientation,
float tempo,
int divisions,
int stepsNumber,
boolean optional,
int pagesNumber,
SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIterator)
Constructs a sequencer page switcher with the specified name, specified coordinates and dimensions, the specified orientation, specified tempo and number of divisions by quarter note, the specified steps number, the specified mode for radio groups, the specified pages number and the specified sequence iterator. |
|
SequencerPageSwitcher(java.lang.String name,
int x,
int y,
int width,
int height,
Sequencer.SequencerOrientation sequencerOrientation,
float tempo,
int divisions,
int stepsNumber,
boolean optional,
int pagesNumber,
SequenceIteratorFactory<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIteratorFactory)
Constructs a sequencer page switcher with the specified name, specified coordinates and dimensions, the specified orientation, specified tempo and number of divisions by quarter note, the specified steps number, the specified mode for radio groups, the specified pages number and the specified sequence iterator factory. |
Method Summary | ||
---|---|---|
void |
addSequencerListener(SequencerListener<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequencerListener)
Adds the specified sequencer listener to the list of sequencer listeners. |
|
void |
fireStepChanged(SequencerPageSwitcher sequencerPageSwitcher,
int activeStepNumber)
Invoked when a step change occurs. |
|
SequencerPageSwitcher.SequencerPage |
getActivePage()
Returns the currently active page. |
|
int |
getActiveStepNumberInSequence()
Returns the number of the active step in the sequence. |
|
|
getButtonManager(java.lang.Class<T> clazz,
int number)
Deprecated. Since it is more logical to use getButtonManagerForPage(Class to specify the page on which you want the button manager. |
|
SequencerRadio.SequencerRadioGroup |
getButtonManager(int number)
Deprecated. Since it is more logical to use getButtonManagerForPage(SequencerPage,int) to specify the page on which you want the button manager. |
|
|
getButtonManagerForPage(java.lang.Class<T> clazz,
SequencerPageSwitcher.SequencerPage page,
int number)
Deprecated. Since this class implements an interface that is parametrized, it is recommended to use getButtonManagerForPage(SequencerPage,int) instead. |
|
SequencerRadio.SequencerRadioGroup |
getButtonManagerForPage(SequencerPageSwitcher.SequencerPage page,
int number)
Returns the button manager of this sequencer page switcher at the specified step number and which is contained by the specified page. |
|
SequencerRadio.SequencerRadioGroup[] |
getButtonManagers()
Deprecated. Since it is more logical to use getButtonManagersForPage(SequencerPage) to specify the page on which you want button managers. |
|
|
getButtonManagers(java.lang.Class<T> clazz)
Deprecated. Since it is more logical to use getButtonManagersForPage(Class to specify the page on which you want button managers. |
|
|
getButtonManagersForPage(java.lang.Class<T> clazz,
SequencerPageSwitcher.SequencerPage page)
Deprecated. Since this class implements an interface that is parametrized, it is recommended to use getButtonManagerForPage(SequencerPage,int) instead. |
|
SequencerRadio.SequencerRadioGroup[] |
getButtonManagersForPage(SequencerPageSwitcher.SequencerPage page)
Returns an array of all button managers of this sequencer page switcher which are contained by the specified page. |
|
int |
getMaximumStepsNumberInSequence()
Returns the maximum possible number of steps in the sequence. |
|
int |
getNotesNumberByStep()
Returns the number of available notes by step in the sequence. |
|
SequencerPageSwitcher.SequencerPage[] |
getPages()
Returns an array of all pages. |
|
SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> |
getSequenceIterator()
Returns the sequence iterator used by this sequencer. |
|
long |
getSequencerEffectTime()
Returns the sequencer effect time, in milliseconds. |
|
SequencerEngine<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> |
getSequencerEngine()
Returns the sequencer engine that is used by this sequencer. |
|
SequencerListener<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>[] |
getSequencerListeners()
Returns an array of all sequencer listeners. |
|
int |
getStepsNumberInSequence()
Returns the number of steps in the sequence. |
|
void |
notify(OSCMessageDigester messageDigester)
Notifies this sequencer page switcher that a message comes from the Monome device. |
|
void |
removeSequencerListener(SequencerListener<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequencerListener)
Removes the specified sequencer listener from the list of sequencer listeners. |
|
void |
sequencingAction(SequencerEngine<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequencerEngine)
Invoked when this sequencer must iterate over the sequence. |
|
void |
setSequenceIterator(SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIterator)
Sets the sequence iterator used by this sequencer. |
|
void |
setSequencerEffectTime(long sequencerEffectTime)
Modifies the sequencer effect time, in milliseconds. |
|
void |
setStepsNumber(int stepsNumber)
Modifies the number of steps to iterate over the sequence. |
|
void |
showPage(SequencerPageSwitcher.SequencerPage sequencerPage)
Sets as active the specified page. |
|
java.lang.String |
toString()
Returns a string representation of this sequencer page switcher. |
|
void |
writeOn(Frame frame)
Writes this sequencer page switcher on the specified frame in order to refresh the Monome device. |
Methods inherited from class sky.monome.AbstractGroup |
---|
canHaveParentContainer, getAbsoluteX, getAbsoluteY, getBounds, getMonome, isVisible |
Methods inherited from class sky.monome.Container |
---|
getHeight, getWidth |
Methods inherited from class sky.monome.Component |
---|
getContainer, getLockObject, getName, getX, getY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected SequencerPageSwitcher.SequencerPage activePage
protected int activeStepNumber
protected int activeStepNumberPseudoCopyForSequencerEffect
protected final Sequencer.SequencerOrientation sequencerOrientation
protected int stepsNumber
protected int stepsNumberPseudoCopyWhenChangingRealValue
protected SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIterator
protected final SequencerEngine<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequencerEngine
protected final boolean optional
Radio.RadioGroup
or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons.
protected long sequencerEffectTime
Constructor Detail |
---|
@Deprecated public SequencerPageSwitcher(java.lang.String name, Container container, int x, int y, int width, int height, Sequencer.SequencerOrientation sequencerOrientation, float tempo, int divisions, int stepsNumber, boolean optional, int pagesNumber) throws MonomeException
UpwardSequenceIterator
is used to iterate over the sequence.
name
- Name of this sequencer page switcher.container
- Container that will contain this sequencer page switcher.x
- X-coordinate of this sequencer page switcher in the local context of its container.y
- Y-coordinate of this sequencer page switcher in the local context of its container.width
- Width of this sequencer page switcher.height
- Height of this sequencer page switcher.sequencerOrientation
- Sequencer orientation to use with this sequencer page switcher.tempo
- Tempo, in number of quarter notes by minute.divisions
- Number of divisions by quarter note.stepsNumber
- Number of steps to use in this sequencer page switcher.optional
- Boolean that indicates if a Radio.RadioGroup
or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons.pagesNumber
- Number of pages to use in this sequencer page switcher.
MonomeException
- When the specified steps number is invalid, or when
the specified pages number is invalid, or when a led state can't be initialized.public SequencerPageSwitcher(java.lang.String name, int x, int y, int width, int height, Sequencer.SequencerOrientation sequencerOrientation, float tempo, int divisions, int stepsNumber, boolean optional, int pagesNumber) throws MonomeException
UpwardSequenceIterator
is used to iterate over the sequence.
name
- Name of this sequencer page switcher.x
- X-coordinate of this sequencer page switcher in the local context of its container.y
- Y-coordinate of this sequencer page switcher in the local context of its container.width
- Width of this sequencer page switcher.height
- Height of this sequencer page switcher.sequencerOrientation
- Sequencer orientation to use with this sequencer page switcher.tempo
- Tempo, in number of quarter notes by minute.divisions
- Number of divisions by quarter note.stepsNumber
- Number of steps to use in this sequencer page switcher.optional
- Boolean that indicates if a Radio.RadioGroup
or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons.pagesNumber
- Number of pages to use in this sequencer page switcher.
MonomeException
- When the specified steps number is invalid, or when
the specified pages number is invalid, or when a led state can't be initialized.@Deprecated public SequencerPageSwitcher(java.lang.String name, Container container, int x, int y, int width, int height, Sequencer.SequencerOrientation sequencerOrientation, float tempo, int divisions, int stepsNumber, boolean optional, int pagesNumber, SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIterator) throws MonomeException
name
- Name of this sequencer page switcher.container
- Container that will contain this sequencer page switcher.x
- X-coordinate of this sequencer page switcher in the local context of its container.y
- Y-coordinate of this sequencer page switcher in the local context of its container.width
- Width of this sequencer page switcher.height
- Height of this sequencer page switcher.sequencerOrientation
- Sequencer orientation to use with this sequencer page switcher.tempo
- Tempo, in number of quarter notes by minute.divisions
- Number of divisions by quarter note.stepsNumber
- Number of steps to use in this sequencer page switcher.optional
- Boolean that indicates if a Radio.RadioGroup
or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons.pagesNumber
- Number of pages to use in this sequencer page switcher.sequenceIterator
- Sequence iterator to use to iterate over the sequence.
MonomeException
- When the specified steps number is invalid, or when
the specified pages number is invalid, or when a led state can't be initialized.public SequencerPageSwitcher(java.lang.String name, int x, int y, int width, int height, Sequencer.SequencerOrientation sequencerOrientation, float tempo, int divisions, int stepsNumber, boolean optional, int pagesNumber, SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIterator) throws MonomeException
name
- Name of this sequencer page switcher.x
- X-coordinate of this sequencer page switcher in the local context of its container.y
- Y-coordinate of this sequencer page switcher in the local context of its container.width
- Width of this sequencer page switcher.height
- Height of this sequencer page switcher.sequencerOrientation
- Sequencer orientation to use with this sequencer page switcher.tempo
- Tempo, in number of quarter notes by minute.divisions
- Number of divisions by quarter note.stepsNumber
- Number of steps to use in this sequencer page switcher.optional
- Boolean that indicates if a Radio.RadioGroup
or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons.pagesNumber
- Number of pages to use in this sequencer page switcher.sequenceIterator
- Sequence iterator to use to iterate over the sequence.
MonomeException
- When the specified steps number is invalid, or when
the specified pages number is invalid, or when a led state can't be initialized.@Deprecated public SequencerPageSwitcher(java.lang.String name, Container container, int x, int y, int width, int height, Sequencer.SequencerOrientation sequencerOrientation, float tempo, int divisions, int stepsNumber, boolean optional, int pagesNumber, SequenceIteratorFactory<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIteratorFactory) throws MonomeException
name
- Name of this sequencer page switcher.container
- Container that will contain this sequencer page switcher.x
- X-coordinate of this sequencer page switcher in the local context of its container.y
- Y-coordinate of this sequencer page switcher in the local context of its container.width
- Width of this sequencer page switcher.height
- Height of this sequencer page switcher.sequencerOrientation
- Sequencer orientation to use with this sequencer page switcher.tempo
- Tempo, in number of quarter notes by minute.divisions
- Number of divisions by quarter note.stepsNumber
- Number of steps to use in this sequencer page switcher.optional
- Boolean that indicates if a Radio.RadioGroup
or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons.pagesNumber
- Number of pages to use in this sequencer page switcher.sequenceIteratorFactory
- Factory for sequence iterator to use to iterate over the sequence.
MonomeException
- When the specified steps number is invalid, or when
the specified pages number is invalid, or when a led state can't be initialized.public SequencerPageSwitcher(java.lang.String name, int x, int y, int width, int height, Sequencer.SequencerOrientation sequencerOrientation, float tempo, int divisions, int stepsNumber, boolean optional, int pagesNumber, SequenceIteratorFactory<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIteratorFactory) throws MonomeException
name
- Name of this sequencer page switcher.x
- X-coordinate of this sequencer page switcher in the local context of its container.y
- Y-coordinate of this sequencer page switcher in the local context of its container.width
- Width of this sequencer page switcher.height
- Height of this sequencer page switcher.sequencerOrientation
- Sequencer orientation to use with this sequencer page switcher.tempo
- Tempo, in number of quarter notes by minute.divisions
- Number of divisions by quarter note.stepsNumber
- Number of steps to use in this sequencer page switcher.optional
- Boolean that indicates if a Radio.RadioGroup
or a
OptionalRadio.OptionalRadioGroup
is used to control the steps buttons.pagesNumber
- Number of pages to use in this sequencer page switcher.sequenceIteratorFactory
- Factory for sequence iterator to use to iterate over the sequence.
MonomeException
- When the specified steps number is invalid, or when
the specified pages number is invalid, or when a led state can't be initialized.Method Detail |
---|
public SequencerPageSwitcher.SequencerPage[] getPages()
public SequencerPageSwitcher.SequencerPage getActivePage()
public void showPage(SequencerPageSwitcher.SequencerPage sequencerPage) throws MonomeException
null
, this method does nothing.
sequencerPage
- New active page.
MonomeException
- When a led state can't be modified.public long getSequencerEffectTime()
getSequencerEffectTime
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public void setSequencerEffectTime(long sequencerEffectTime)
setSequencerEffectTime
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
sequencerEffectTime
- New sequencer effect time, in milliseconds.
Please note that if this new time exceeds the time between two
consecutive steps, so you may meet erratic behaviors.public SequencerEngine<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> getSequencerEngine()
getSequencerEngine
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public void sequencingAction(SequencerEngine<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequencerEngine) throws MonomeException
sequencingAction
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
sequencerEngine
- Sequencer engine that called this method.
MonomeException
- When a problem occurs in the iteration over the sequence.public int getActiveStepNumberInSequence()
getActiveStepNumberInSequence
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public int getStepsNumberInSequence()
getStepsNumberInSequence
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public int getMaximumStepsNumberInSequence()
getMaximumStepsNumberInSequence
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public int getNotesNumberByStep()
getNotesNumberByStep
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public void setStepsNumber(int stepsNumber) throws MonomeException
setStepsNumber
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
stepsNumber
- New number of steps to iterate over the sequence.
MonomeException
- When the new steps number is incorrect for this sequencer.public void notify(OSCMessageDigester messageDigester) throws MonomeException
notify
in class AbstractGroup<SequencerPageSwitcher.SequencerPage>
messageDigester
- Message digester that prepares and encapsulates the message for an easy access of informations contained in the message.
MonomeException
- When a problem has occured when treating the message.public void writeOn(Frame frame) throws MonomeException
writeOn
in class AbstractGroup<SequencerPageSwitcher.SequencerPage>
frame
- Frame in which this sequencer page switcher must write its led state.
MonomeException
- When a problem has occured while getting the led state of a page inside this sequencer page switcher.Monome.refresh()
public java.lang.String toString()
toString
in class Component
public void addSequencerListener(SequencerListener<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequencerListener)
addSequencerListener
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
sequencerListener
- Sequencer listener to add to the list of sequencer listeners.public void removeSequencerListener(SequencerListener<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequencerListener)
removeSequencerListener
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
sequencerListener
- Sequencer listener to remove from the list of sequencer listeners.public SequencerListener<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>[] getSequencerListeners()
getSequencerListeners
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public void fireStepChanged(SequencerPageSwitcher sequencerPageSwitcher, int activeStepNumber)
fireStepChanged
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
sequencerPageSwitcher
- Sequencer page switcher that triggered the sequencer event.@Deprecated public <T extends ButtonManager<?>> T[] getButtonManagers(java.lang.Class<T> clazz)
getButtonManagersForPage(Class,SequencerPage)
to specify the page on which you want button managers.
getButtonManagers
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
T
- Desired type for button managers. It should be a subclass of ButtonManager
.clazz
- Class object that specify the return type for button managers.
java.lang.ClassCastException
- When button managers can't be typed to the specified type.@Deprecated public SequencerRadio.SequencerRadioGroup[] getButtonManagers()
getButtonManagersForPage(SequencerPage)
to specify the page on which you want button managers.
getButtonManagers
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
@Deprecated public <T extends ButtonManager<?>> T[] getButtonManagersForPage(java.lang.Class<T> clazz, SequencerPageSwitcher.SequencerPage page)
getButtonManagerForPage(SequencerPage,int)
instead.
T
- Desired type for button managers. It should be a subclass of ButtonManager
.clazz
- Class object that specify the return type for button managers.page
- Page of interest.
java.lang.ClassCastException
- When button managers can't be typed to the specified type.public SequencerRadio.SequencerRadioGroup[] getButtonManagersForPage(SequencerPageSwitcher.SequencerPage page)
page
- Page of interest.
java.lang.ClassCastException
- When button managers can't be typed to the specified type.@Deprecated public <T extends ButtonManager<?>> T getButtonManager(java.lang.Class<T> clazz, int number)
getButtonManagerForPage(Class,SequencerPage,int)
to specify the page on which you want the button manager.
getButtonManager
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
T
- Desired type for the button manager. It should be a subclass of ButtonManager
.clazz
- Class object that specify the return type for the button manager.number
- Number of the button manager needed.
java.lang.ClassCastException
- When the button manager can't be typed to the specified type.@Deprecated public SequencerRadio.SequencerRadioGroup getButtonManager(int number)
getButtonManagerForPage(SequencerPage,int)
to specify the page on which you want the button manager.
getButtonManager
in interface SequencerComponent<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
number
- Number of the button manager needed.
@Deprecated public <T extends ButtonManager<?>> T getButtonManagerForPage(java.lang.Class<T> clazz, SequencerPageSwitcher.SequencerPage page, int number)
getButtonManagerForPage(SequencerPage,int)
instead.
T
- Desired type for the button manager. It should be a subclass of ButtonManager
.clazz
- Class object that specify the return type for the button manager.page
- Page of interest.number
- Number of the button manager needed.
java.lang.ClassCastException
- When the button manager can't be typed to the specified type.public SequencerRadio.SequencerRadioGroup getButtonManagerForPage(SequencerPageSwitcher.SequencerPage page, int number)
page
- Page of interest.number
- Number of the button manager needed.
java.lang.ClassCastException
- When the button manager can't be typed to the specified type.public SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> getSequenceIterator()
getSequenceIterator
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
public void setSequenceIterator(SequenceIterator<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup> sequenceIterator)
setSequenceIterator
in interface Sequencer<SequencerPageSwitcher,SequencerRadio.SequencerRadioGroup>
sequenceIterator
- New sequence iterator to use in this sequencer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |