getCustomGraphicCount

public int getCustomGraphicCount()

Returns the number of custom graphic objects currently set on this node view.


getCustomGraphicShape

public java.awt.Shape getCustomGraphicShape(int index)

Returns the shape of the custom graphic object at specified index on this node view. The index parameter must be in the range [0, getCustomGraphicCount()-1].


getCustomGraphicPaint

public java.awt.Paint getCustomGraphicPaint(int index)

Returns the paint on the custom graphic object at specified index on this node view. The index parameter must be in the range [0, getCustomGraphicCount()-1].


removeCustomGraphic

public void removeCustomGraphic(int index)

Removes the custom graphic object at specified index. The index parameter must be in the range [0, getCustomGraphicCount()-1]. Once the object at specified index is removed, all objects remaining and at a higher index will be shifted such that their index is decreased by one.


addCustomGraphic

public void addCustomGraphic(java.awt.Shape s, java.awt.Paint p, int index)

Adds a custom graphic object at specified index. The index of an object is only important in that objects with lower index are rendered before objects with higher index; if objects overlap, this order may be important to consider. A custom graphic object consists of the specified shape that is filled with the specified paint; the shape is placed relative to this node's location.

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux