ini.trakem2.display
Interface Taggable

All Known Implementing Classes:
AreaTree.AreaNode, Connector.ConnectorNode, Node, Treeline.RadiusNode

public interface Taggable


Field Summary
static java.awt.BasicStroke DASHED_STROKE
           
static java.awt.Color TAG_BACKGROUND
           
 
Method Summary
 boolean addTag(Tag tag)
           
 java.util.Set<Tag> getTags()
           
 java.util.Set<Tag> removeAllTags()
           
 boolean removeTag(Tag tag)
           
 

Field Detail

TAG_BACKGROUND

static final java.awt.Color TAG_BACKGROUND

DASHED_STROKE

static final java.awt.BasicStroke DASHED_STROKE
Method Detail

addTag

boolean addTag(Tag tag)
Returns:
true if the tag wasn't there already.

removeTag

boolean removeTag(Tag tag)
Returns:
true if the tag was there.

getTags

java.util.Set<Tag> getTags()
Returns:
the tags, if any, or null.

removeAllTags

java.util.Set<Tag> removeAllTags()
Returns:
the tags, if any, or null.