|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.washington.biostr.sig.brainj3d.viewvolume.colors.BlendFunctionFactory
public final class BlendFunctionFactory
This factory manages the creation of and access to BlendFunctions. All BlendFunction should be registered with this factory to be compatable with existing code that queries this Factory.
| Method Summary | |
|---|---|
static Set<String> |
functions()
Gets a set of all function names stored in this factory. |
static Set<String> |
functionsWithoutParameters()
Gets a set of all function names stored in this factory where the function permit use of the default constructor. |
static Set<String> |
functionsWithParameters()
Gets a set of all function names stored in this factory where the function does not permit use of the default constructor. |
static BlendFunction |
get(String name)
Gets a BlendFunction by name. |
static BlendFunction |
get(String name,
Object[] parameters)
Gets a BlendFunction by name and the specified input parameters. |
static String[] |
getDesiredParameterNames(String name)
Gets a list of friendly desired parameter names for a particular blend function. |
static Class[] |
getDesiredParameters(String name)
Gets a list of desired parameter types for a particular blend function. |
static Object[] |
getDesiredParamterDefaultValues(String name)
Gets a list of desired parameter default values for a particular blend function. |
static String |
getParametersTitle(String name)
Gets a string to represent the title of an input box for entering the parameters desired to create a new instance of the named blend function. |
static void |
put(BlendFunction bf)
Adds a blend function to the factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void put(BlendFunction bf)
bf - public static Set<String> functions()
public static Set<String> functionsWithoutParameters()
public static Set<String> functionsWithParameters()
public static Class[] getDesiredParameters(String name)
name -
public static String[] getDesiredParameterNames(String name)
name -
public static Object[] getDesiredParamterDefaultValues(String name)
name -
public static String getParametersTitle(String name)
name -
public static BlendFunction get(String name)
name -
public static BlendFunction get(String name,
Object[] parameters)
name - parameters -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||