baseStyle, defaultStyle
Constructor and Description |
---|
EdgeStyleOverride(EdgeStyle<V,E> style) |
Modifier and Type | Method and Description |
---|---|
void |
copy(Style source)
Copy properties from an existing style.
|
boolean |
enforceColor() |
boolean |
enforceEnding() |
boolean |
enforcePattern() |
boolean |
enforceWidth() |
Color |
getColor(E edge) |
String |
getCSS()
define the style as CSS rules.
|
String |
getCSSClass(E edge)
get the CSS class(es) used by a specific edge.
|
EdgeEnd |
getEnding(E edge) |
EdgePattern |
getPattern(E edge) |
int |
getWidth(E edge) |
boolean |
matches(Color color,
EdgePattern pattern,
int width) |
getName, getParent, getParentProperty, getProperties, getProperty, setBaseStyle, setName, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getParent, getParentProperty, getProperties, getProperty, setName, setProperty
public int getWidth(E edge)
public EdgePattern getPattern(E edge)
public boolean enforceColor()
public boolean enforceEnding()
public boolean enforcePattern()
public boolean enforceWidth()
public boolean matches(Color color, EdgePattern pattern, int width)
public String getCSS()
Style
public String getCSSClass(E edge)
EdgeStyle
Copyright © 2005–2020. All rights reserved.