|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sky.monome.behavior.factory.MemberFactory
public class MemberFactory
Specialized behavior factory that produces exclusively members of groups of buttons. Note that this factory works properly only when the group class is enclosed in the member class.
Constructor Summary | |
---|---|
MemberFactory(Member.Group<? extends Member<?>,? extends Member.Group<?,?>> memberGroup)
Constructs a member factory with the specified group object. |
Method Summary | |
---|---|
Behavior |
createBehavior(java.lang.Object... arguments)
Creates a member behavior with the help of optional arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemberFactory(Member.Group<? extends Member<?>,? extends Member.Group<?,?>> memberGroup)
memberGroup
- Group object that will be the group of all future produced members.Method Detail |
---|
public Behavior createBehavior(java.lang.Object... arguments) throws MonomeException
createBehavior
in interface BehaviorFactory
arguments
- Optional arguments that can help the behavior factoring.
Note that this kind of factory does not use these arguments.
MonomeException
- When the behavior factoring can't operate successfully.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |