Cytoscape 3.0.1 API

org.cytoscape.view.presentation.property
Class VisualPropertyUtil

java.lang.Object
  extended by org.cytoscape.view.presentation.property.VisualPropertyUtil

public final class VisualPropertyUtil
extends Object

Utility functions for traversing visual lexicon tree.


Cytoscape Backwards Compatibility (Static Class): This class is static and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Method Summary
static boolean isChildOf(VisualProperty<?> parent, VisualProperty<?> vp, VisualLexicon lexicon)
          Check whether the given VisualProperty is a child of parent vp or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isChildOf

public static boolean isChildOf(VisualProperty<?> parent,
                                VisualProperty<?> vp,
                                VisualLexicon lexicon)
Check whether the given VisualProperty is a child of parent vp or not.

Parameters:
parent - parent visual property
vp - visual property to be tested
lexicon - lexicon tree
Returns:
true if it's a child of the parent or parent itself. Otherwise, return false.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.