sky.monome.behavior.factory
Interface BehaviorFactory

All Known Implementing Classes:
GenericBehaviorFactory, MemberFactory

public interface BehaviorFactory

Behavior factory. A factory of this kind can produce behaviors serially.

Since:
SkyMonome v1.1
Author:
PJ Skyman

Method Summary
 Behavior createBehavior(java.lang.Object... arguments)
          Creates a behavior with the help of optional arguments.
 

Method Detail

createBehavior


Behavior createBehavior(java.lang.Object... arguments)

                        throws MonomeException
Creates a behavior with the help of optional arguments.

Parameters:
arguments - Optional arguments that can help the behavior factoring. Few factories need arguments to produce specific behaviors. Generally, it is not used.
Returns:
A behavior freshly created.
Throws:
MonomeException - When the behavior factoring can't operate successfully.