public class ChannelWrapper extends ObjectWrapper<ChannelData> implements Channel
Wraps function calls to the ChannelData contained.
data| Constructor and Description |
|---|
ChannelWrapper(ChannelData channel)
Constructor of the class ChannelWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAlpha()
Gets the sRGB alpha value of the channel.
|
int |
getBlue()
Gets the sRGB blue value of the channel.
|
String |
getChannelLabeling()
Returns the label of the channel.
|
int |
getGreen()
Gets the sRGB green value of the channel.
|
int |
getIndex()
Returns the channel index.
|
String |
getName()
Returns the name of the channel.
|
int |
getRed()
Gets the sRGB red value of the channel.
|
boolean |
hasRGBA()
Returns whether the channel contains all the RGBA values or not.
|
void |
setName(String name)
Sets the name of the channel.
|
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasDataObject, getColorcanAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdatepublic ChannelWrapper(ChannelData channel)
channel - The ChannelData to wrap in the ChannelWrapper.public boolean hasRGBA()
public int getIndex()
public String getChannelLabeling()
Following the specification: Name→Fluor→Emission wavelength→index.
getChannelLabeling in interface Channelpublic String getName()
public void setName(String name)
public int getAlpha()
public int getRed()
public int getGreen()
Copyright © 2020–2023 GReD. All rights reserved.