nl.lxtreme.ols.test.data.project
Class StubChannel

java.lang.Object
  extended by nl.lxtreme.ols.test.data.project.StubChannel
All Implemented Interfaces:
Comparable<nl.lxtreme.ols.api.data.Channel>, nl.lxtreme.ols.api.data.Channel

public class StubChannel
extends Object
implements nl.lxtreme.ols.api.data.Channel


Constructor Summary
StubChannel(int aIndex)
          Creates a new StubChannel instance.
 
Method Summary
 void addAnnotation(nl.lxtreme.ols.api.data.annotation.Annotation<?> aAnnotation)
          
 void clearAnnotations()
          
 int compareTo(nl.lxtreme.ols.api.data.Channel aChannel)
          
 Collection<nl.lxtreme.ols.api.data.annotation.Annotation<?>> getAnnotations()
          
 int getIndex()
          
 String getLabel()
          
 int getMask()
          
 boolean hasName()
          
 boolean isEnabled()
          
 void setEnabled(boolean aEnabled)
          
 void setLabel(String aName)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StubChannel

public StubChannel(int aIndex)
Creates a new StubChannel instance.

Parameters:
aIndex -
Method Detail

addAnnotation

public void addAnnotation(nl.lxtreme.ols.api.data.annotation.Annotation<?> aAnnotation)

Specified by:
addAnnotation in interface nl.lxtreme.ols.api.data.Channel

clearAnnotations

public void clearAnnotations()

Specified by:
clearAnnotations in interface nl.lxtreme.ols.api.data.Channel

compareTo

public int compareTo(nl.lxtreme.ols.api.data.Channel aChannel)

Specified by:
compareTo in interface Comparable<nl.lxtreme.ols.api.data.Channel>

getAnnotations

public Collection<nl.lxtreme.ols.api.data.annotation.Annotation<?>> getAnnotations()

Specified by:
getAnnotations in interface nl.lxtreme.ols.api.data.Channel

getIndex

public int getIndex()

Specified by:
getIndex in interface nl.lxtreme.ols.api.data.Channel

getLabel

public String getLabel()

Specified by:
getLabel in interface nl.lxtreme.ols.api.data.Channel

getMask

public int getMask()

Specified by:
getMask in interface nl.lxtreme.ols.api.data.Channel

hasName

public boolean hasName()

Specified by:
hasName in interface nl.lxtreme.ols.api.data.Channel

isEnabled

public boolean isEnabled()

Specified by:
isEnabled in interface nl.lxtreme.ols.api.data.Channel

setEnabled

public void setEnabled(boolean aEnabled)

Specified by:
setEnabled in interface nl.lxtreme.ols.api.data.Channel

setLabel

public void setLabel(String aName)

Specified by:
setLabel in interface nl.lxtreme.ols.api.data.Channel


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