public class EdgeBendVisualProperty extends AbstractVisualProperty<Bend>
Bend values.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>| Modifier and Type | Field and Description |
|---|---|
static Bend |
DEFAULT_EDGE_BEND
The default edge bend.
|
shouldIgnoreDefault| Constructor and Description |
|---|
EdgeBendVisualProperty(Bend defaultValue,
String id,
String displayName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Bend |
parseSerializableString(String value)
Returns an object of type T given a string serialized from the getSerializableString(T value)
method.
|
void |
setBendFactory(BendFactory bendFactory)
Sets the bend factory that is used behind the scenes to create bend objects.
|
String |
toSerializableString(Bend value)
Returns a string of the specified value suitable for serializing to XML
other text output.
|
getDefault, getDisplayName, getIdString, getRange, getTargetDataType, shouldIgnoreDefault, toStringpublic static final Bend DEFAULT_EDGE_BEND
public EdgeBendVisualProperty(Bend defaultValue, String id, String displayName)
defaultValue - The default bend to use.id - A machine readable string identifying this visual property used for XML serialization.displayName - A human readable string used for displays and user interfaces.public void setBendFactory(BendFactory bendFactory)
bendFactory - The bend factory to use for this instance.public String toSerializableString(Bend value)
VisualPropertyvalue - the specified value.public Bend parseSerializableString(String value)
VisualPropertyvalue - a string serialized from the getSerializableString(T value) method.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.