public abstract class AbstractStringTunableHandler extends AbstractTunableHandler implements StringTunableHandler
CONTEXT, FORMAT, GRAVITY, TOOLTIP
Constructor and Description |
---|
AbstractStringTunableHandler(Field f,
Object o,
Tunable t) |
AbstractStringTunableHandler(Method get,
Method set,
Object o,
Tunable t) |
Modifier and Type | Method and Description |
---|---|
void |
handle()
Updates an annotated object with the current value as retrieved from the
the user interface generated by this handler.
|
abstract Object |
processArg(String arg)
Each specific handler really only needs to implement this method and all it
does is convert the String input into a value of the appropriate type.
|
void |
processArgString(String s) |
controlsMutuallyExclusiveNestedChildren, dependsOn, getChildKey, getContext, getDescription, getFormat, getGravity, getGroups, getName, getParams, getQualifiedName, getRequired, getTooltip, getType, getValue, listenForChange, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
controlsMutuallyExclusiveNestedChildren, dependsOn, getChildKey, getDescription, getGroups, getName, getParams, getQualifiedName, getType, getValue, listenForChange, setValue
public void processArgString(String s)
processArgString
in interface StringTunableHandler
public abstract Object processArg(String arg) throws Exception
processArg
in interface StringTunableHandler
arg
- A String representing a value that will be parsed into an object
of a specific type.Exception
- If there is any problem converting the string into an object.public final void handle()
TunableHandler
handle
in interface TunableHandler
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.