|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
S
- the base (model-level) object for which this is a View. For example, CyNode or CyEdge.
In the future versions, Attributes can be this parameter.public interface View<S>
The base interface that defines methods used to set visual properties for nodes, edges, and networks. Think of it as a row in the view-model table.
Field Summary |
---|
Fields inherited from interface org.cytoscape.model.CyIdentifiable |
---|
SUID |
Method Summary | ||
---|---|---|
void |
clearValueLock(VisualProperty<?> vp)
Clear value lock for given VisualProperty. |
|
S |
getModel()
Get source data structure, such as CyNode, CyEdge, etc. |
|
|
getVisualProperty(VisualProperty<T> vp)
Get the actual value for the given visual property. |
|
boolean |
isValueLocked(VisualProperty<?> vp)
Returns true if current VisualProperty value is locked. |
|
|
setLockedValue(VisualProperty<? extends T> vp,
V value)
Set locked value. |
|
|
setVisualProperty(VisualProperty<? extends T> vp,
V value)
Assign a value to the given Visual Property of this view. |
Methods inherited from interface org.cytoscape.model.CyIdentifiable |
---|
getSUID |
Method Detail |
---|
<T,V extends T> void setVisualProperty(VisualProperty<? extends T> vp, V value)
T
- Data type of the visual property. This can be subclasses of type T.V
- Value of the visual property. This can be subclasses of T.vp
- the VisualProperty (Node Color, Edge Width, etc.)value
- actual value stored in this visual property.<T> T getVisualProperty(VisualProperty<T> vp)
T
- Object type of the Visual Property (Color, Double, ...)vp
- the VisualProperty.
<T,V extends T> void setLockedValue(VisualProperty<? extends T> vp, V value)
T
- Data type of the visual property. This can be subclasses of type T.V
- Value of the visual property. This can be subclasses of T.vp
- the VisualPropertyvalue
- DOCUMENT ME!boolean isValueLocked(VisualProperty<?> vp)
vp
- the VisualProperty
void clearValueLock(VisualProperty<?> vp)
vp
- the VisualProperty.S getModel()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |