public class StubChannel extends Object implements nl.lxtreme.ols.api.data.Channel
Constructor and Description |
---|
StubChannel(int aIndex)
Creates a new StubChannel instance.
|
Modifier and Type | Method and Description |
---|---|
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) |
public StubChannel(int aIndex)
aIndex
- public void addAnnotation(nl.lxtreme.ols.api.data.annotation.Annotation<?> aAnnotation)
addAnnotation
in interface nl.lxtreme.ols.api.data.Channel
public void clearAnnotations()
clearAnnotations
in interface nl.lxtreme.ols.api.data.Channel
public int compareTo(nl.lxtreme.ols.api.data.Channel aChannel)
compareTo
in interface Comparable<nl.lxtreme.ols.api.data.Channel>
public Collection<nl.lxtreme.ols.api.data.annotation.Annotation<?>> getAnnotations()
getAnnotations
in interface nl.lxtreme.ols.api.data.Channel
public int getIndex()
getIndex
in interface nl.lxtreme.ols.api.data.Channel
public String getLabel()
getLabel
in interface nl.lxtreme.ols.api.data.Channel
public int getMask()
getMask
in interface nl.lxtreme.ols.api.data.Channel
public boolean hasName()
hasName
in interface nl.lxtreme.ols.api.data.Channel
public boolean isEnabled()
isEnabled
in interface nl.lxtreme.ols.api.data.Channel
public void setEnabled(boolean aEnabled)
setEnabled
in interface nl.lxtreme.ols.api.data.Channel
public void setLabel(String aName)
setLabel
in interface nl.lxtreme.ols.api.data.Channel
Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.