public interface TunablePropertyHandler extends TunableHandler
TunableHandler with added functionality to support
converting to/from a String.Module: work-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>work-api</artifactId>
</dependency>| Modifier and Type | Method and Description |
|---|---|
default void |
handle()
Typically don't need to implement this method, default implementation is empty.
|
void |
parseAndSetValue(String propertyValue)
Converts the String representation to an object or primitive value and sets the tunable.
|
String |
toPropertyValue()
Converts the value of the tunable to a String.
|
controlsMutuallyExclusiveNestedChildren, dependsOn, getChildKey, getDescription, getGroups, getName, getParams, getQualifiedName, getType, getValue, listenForChange, setValueString toPropertyValue()
IllegalArgumentException - If there is a problem accessing the tunable value.void parseAndSetValue(String propertyValue)
IllegalArgumentException - If there is a problem setting the tunable value.default void handle()
handle in interface TunableHandlerCopyright 2011-2015 Cytoscape Consortium. All rights reserved.