nl.lxtreme.ols.tool.base.annotation
Class ChannelLabelAnnotation

java.lang.Object
  extended by nl.lxtreme.ols.tool.base.annotation.ChannelLabelAnnotation
All Implemented Interfaces:
Comparable<nl.lxtreme.ols.api.data.annotation.Annotation<String>>, nl.lxtreme.ols.api.data.annotation.Annotation<String>

public class ChannelLabelAnnotation
extends Object
implements nl.lxtreme.ols.api.data.annotation.Annotation<String>

Provides an annotation that provides an annotation for a channel label.


Constructor Summary
ChannelLabelAnnotation(int aChannelIdx, String aLabel)
          Creates a new ChannelLabelAnnotation instance.
 
Method Summary
 int compareTo(nl.lxtreme.ols.api.data.annotation.Annotation<String> aOther)
          
 String getAnnotation()
          
 int getChannel()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelLabelAnnotation

public ChannelLabelAnnotation(int aChannelIdx,
                              String aLabel)
Creates a new ChannelLabelAnnotation instance.

Method Detail

compareTo

public int compareTo(nl.lxtreme.ols.api.data.annotation.Annotation<String> aOther)

Specified by:
compareTo in interface Comparable<nl.lxtreme.ols.api.data.annotation.Annotation<String>>

getAnnotation

public String getAnnotation()

Specified by:
getAnnotation in interface nl.lxtreme.ols.api.data.annotation.Annotation<String>

getChannel

public int getChannel()

Specified by:
getChannel in interface nl.lxtreme.ols.api.data.annotation.Annotation<String>

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.