Interface BendFactory
public interface BendFactory
Factory to create an instance of Bend.
Module: presentation-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>presentation-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
Method Summary
Modifier and TypeMethodDescriptionCreates an instance of edge bend.parseSerializableString(String serializedString)
Creates an instance of edge bend from serializable string.
-
Method Details
-
createBend
Bend createBend()Creates an instance of edge bend. Usually, this creates Bend object without any Handles.- Returns:
- new instance of Bend object.
-
parseSerializableString
Creates an instance of edge bend from serializable string.- Parameters:
serializedString
- string representation of edge bend.- Returns:
- New instance of Bend (interpretation of the given string).
-