|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CyNetworkView
Additional methods for CyNetworkView. Network view should implement BOTH View and CyNetworkView. Consolidated data structure for graph object views.
| Field Summary |
|---|
| Fields inherited from interface org.cytoscape.model.CyIdentifiable |
|---|
SUID |
| Method Summary | ||
|---|---|---|
void |
fitContent()
Utility method to fit content to the presentation container (usually a Swing Window). |
|
void |
fitSelected()
Utility method to fit selected graph objects to the presentation container. |
|
Collection<View<? extends CyIdentifiable>> |
getAllViews()
Returns a list of all View including those for Nodes, Edges, and Network. |
|
View<CyEdge> |
getEdgeView(CyEdge edge)
Returns a View for a specified Edge. |
|
Collection<View<CyEdge>> |
getEdgeViews()
Returns a list of Views for all CyEdges in the network. |
|
View<CyNode> |
getNodeView(CyNode node)
Returns a View for a specified Node. |
|
Collection<View<CyNode>> |
getNodeViews()
Returns a list of Views for all CyNodes in the network. |
|
|
setViewDefault(VisualProperty<? extends T> vp,
V defaultValue)
Sets the default value to be used for the specified visual property. |
|
void |
updateView()
Cascading event for the presentation layer for updating presentation. |
|
| Methods inherited from interface org.cytoscape.view.model.View |
|---|
clearValueLock, getModel, getVisualProperty, isValueLocked, setLockedValue, setVisualProperty |
| Methods inherited from interface org.cytoscape.model.CyIdentifiable |
|---|
getSUID |
| Method Detail |
|---|
View<CyNode> getNodeView(CyNode node)
node - Node object
Collection<View<CyNode>> getNodeViews()
View<CyEdge> getEdgeView(CyEdge edge)
edge - the edge to return the view for.
Collection<View<CyEdge>> getEdgeViews()
Collection<View<? extends CyIdentifiable>> getAllViews()
void fitContent()
void fitSelected()
void updateView()
<T,V extends T> void setViewDefault(VisualProperty<? extends T> vp,
V defaultValue)
T - The type of the visual property value.V - The default value for the visual property, which must extend T.vp - The visual property whose default value we're specifying.defaultValue - The default value to be used for this visual property for this view.
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||