public interface GroupAnnotation extends Annotation
Module: presentation-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>presentation-api</artifactId> </dependency>
Modifier and Type | Field and Description |
---|---|
static String |
MEMBERS
A comma-separate list of the UUIDs of the annotations
that are part of this group
|
BACKGROUND, CANVAS, FOREGROUND, NAME, X, Y, Z, ZOOM
Modifier and Type | Method and Description |
---|---|
void |
addMember(Annotation member)
Add a new annotation to the group.
|
List<Annotation> |
getMembers()
Return the list of members for this group
|
void |
removeMember(Annotation member)
Remove an annotation from the group
|
addArrow, getArgMap, getArrows, getCanvasName, getName, getNetworkView, getSpecificZoom, getUUID, getZoom, isSelected, moveAnnotation, removeAnnotation, removeArrow, setCanvas, setName, setSelected, setSpecificZoom, setZoom, update
static final String MEMBERS
void addMember(Annotation member)
member
- the annotation to add to the groupIllegalArgumentException
- if the given Annotation is already a member of another groupvoid removeMember(Annotation member)
member
- the annotation to be removedList<Annotation> getMembers()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.