org.biomage.Interface
Interface HasLabels

All Known Implementing Classes:
Channel, LabeledExtract

public interface HasLabels


Nested Class Summary
static class HasLabels.Labels_list
          Inner list class for holding multiple entries for attribute labels.
 
Method Summary
 void addToLabels(Compound compound)
          Method to add Compound to Labels_list
 void addToLabels(int position, Compound compound)
          Method to add Compound at position to Labels_list
 Compound getFromLabels(int position)
          Method to get Compound from Labels_list
 HasLabels.Labels_list getLabels()
          Get method for labels
 void removeElementAtFromLabels(int position)
          Method to remove by position from Labels_list
 void removeFromLabels(Compound compound)
          Method to remove first Compound from Labels_list
 void setLabels(HasLabels.Labels_list labels)
          Set method for labels
 

Method Detail

setLabels

void setLabels(HasLabels.Labels_list labels)
Set method for labels

Parameters:
value - to set

getLabels

HasLabels.Labels_list getLabels()
Get method for labels

Returns:
value of the attribute

addToLabels

void addToLabels(Compound compound)
Method to add Compound to Labels_list


addToLabels

void addToLabels(int position,
                 Compound compound)
Method to add Compound at position to Labels_list


getFromLabels

Compound getFromLabels(int position)
Method to get Compound from Labels_list


removeElementAtFromLabels

void removeElementAtFromLabels(int position)
Method to remove by position from Labels_list


removeFromLabels

void removeFromLabels(Compound compound)
Method to remove first Compound from Labels_list