public interface Channel extends RemoteObject
Modifier and Type | Method and Description |
---|---|
ChannelData |
asDataObject()
Returns a
ChannelData corresponding to the handled object. |
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.
|
default Color |
getColor()
Gets the original channel color.
|
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.
|
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
ChannelData asDataObject()
ChannelData
corresponding to the handled object.asDataObject
in interface RemoteObject
boolean hasRGBA()
int getIndex()
String getChannelLabeling()
Following the specification: Name→Fluor→Emission wavelength→index.
String getName()
void setName(String name)
name
- The name of the channel.default Color getColor()
Color.WHITE
if RGBA values are missing.int getAlpha()
int getRed()
int getGreen()
int getBlue()
Copyright © 2020–2023 GReD. All rights reserved.