|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Channel
Denotes a single channel in the data set.
Method Summary | |
---|---|
void |
addAnnotation(Annotation<?> aAnnotation)
Adds a new annotation to this channel. |
void |
clearAnnotations()
Clears all annotations from this channel. |
Collection<Annotation<?>> |
getAnnotations()
Returns all available annotations for this channel. |
int |
getIndex()
Returns the index of this channel. |
String |
getLabel()
Returns the (user defined) label for this channel. |
int |
getMask()
Returns the bit-mask to use for this channel. |
boolean |
hasName()
Returns whether or not this channel has a name. |
boolean |
isEnabled()
Returns whether or not this channel is "enabled". |
void |
setEnabled(boolean aEnabled)
Sets enabled to the given value. |
void |
setLabel(String aName)
Sets name to the given value. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
void addAnnotation(Annotation<?> aAnnotation)
aAnnotation
- the annotation to add, cannot be null
.void clearAnnotations()
Collection<Annotation<?>> getAnnotations()
null
, never null
.int getIndex()
String getLabel()
null
.int getMask()
boolean hasName()
true
if a name is given to this channel,
false
otherwise.boolean isEnabled()
When a channel is enabled, it is visible in the signal diagram. When disabled, it is masked out from the signal diagram.
void setEnabled(boolean aEnabled)
aEnabled
- the enabled to set.void setLabel(String aName)
aName
- the name to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |