|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VisualLexicon
A RenderingEngine should provide one, immutable lexicon implementing this interface. This is a pre-defined tree of VisualProperties designed by the RenderingEngine developer.
| Method Summary | |
|---|---|
Collection<VisualProperty<?>> |
getAllDescendants(VisualProperty<?> prop)
Get collection of visual properties for a given object type (node/edge/network). |
Set<VisualProperty<?>> |
getAllVisualProperties()
Returns the Set of VisualPropertys supported by this Renderer. |
VisualProperty<NullDataType> |
getRootVisualProperty()
Get root of this tree. |
VisualLexiconNode |
getVisualLexiconNode(VisualProperty<?> vp)
Get a tree node in for the given VisualProperty. |
boolean |
isSupported(VisualProperty<?> vp)
Test the given Visual Property is supported in this Lexicon. |
VisualProperty<?> |
lookup(Class<?> type,
String identifier)
Returns the appropriate visual property for the descriptive string. |
| Method Detail |
|---|
VisualProperty<NullDataType> getRootVisualProperty()
Set<VisualProperty<?>> getAllVisualProperties()
VisualProperty<?> lookup(Class<?> type,
String identifier)
type - The type of the visual property sought, which should
(in general) be CyNode.class, CyEdge.class, or CyNetwork.class.identifier - A string identifying a particular visual property.
VisualLexiconNode getVisualLexiconNode(VisualProperty<?> vp)
vp - target VisualProperty in this lexicon.
IllegalArgumentException - If vp does not exist in the lexicon.Collection<VisualProperty<?>> getAllDescendants(VisualProperty<?> prop)
prop - any visual property
boolean isSupported(VisualProperty<?> vp)
vp - visual property to be tested.
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||