public class ChannelSelectionImpl extends Object implements ChannelSelection
| Constructor and Description |
|---|
ChannelSelectionImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StyleVisitor visitor) |
void |
accept(StyleVisitor visitor) |
Object |
accept(StyleVisitor visitor,
Object data)
calls the visit method of a StyleVisitor
|
boolean |
equals(Object obj) |
SelectedChannelType |
getGrayChannel()
Get the gray channel to be used
|
SelectedChannelType[] |
getRGBChannels()
Retrieves the RGB channel that were selected.
|
SelectedChannelType[] |
getSelectedChannels()
get the channels to be used
|
int |
hashCode() |
void |
setGrayChannel(SelectedChannelType gray)
Set the gray channel to be used
|
void |
setGrayChannel(SelectedChannelType gray) |
void |
setRGBChannels(SelectedChannelType[] channels)
Set the RGB channels to be used
|
void |
setRGBChannels(SelectedChannelType red,
SelectedChannelType green,
SelectedChannelType blue)
Set the RGB channels to be used
|
void |
setRGBChannels(SelectedChannelType red,
SelectedChannelType green,
SelectedChannelType blue) |
void |
setSelectedChannels(SelectedChannelType[] channels)
set the channels to be used
|
public SelectedChannelType getGrayChannel()
ChannelSelectiongetGrayChannel in interface ChannelSelectionpublic SelectedChannelType[] getRGBChannels()
Note that in case there is no RGB selection the returned SelectedChannelType array will contain null elements.
getRGBChannels in interface ChannelSelectionSelectedChannelType array that contains the SelectedChannelType
elements for the RGB channels.public SelectedChannelType[] getSelectedChannels()
ChannelSelectionpublic void setGrayChannel(SelectedChannelType gray)
ChannelSelectiongray - the gray channelpublic void setGrayChannel(SelectedChannelType gray)
public void setRGBChannels(SelectedChannelType[] channels)
ChannelSelectionchannels - array of channels in RGB orderpublic void setRGBChannels(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue)
ChannelSelectionred - the red channelgreen - the green channelblue - the blue channelpublic void setRGBChannels(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue)
public void setSelectedChannels(SelectedChannelType[] channels)
ChannelSelectionchannels - array of channelspublic Object accept(StyleVisitor visitor, Object data)
ChannelSelectionaccept in interface ChannelSelectionvisitor - the style visitorpublic void accept(StyleVisitor visitor)
public void accept(StyleVisitor visitor)
Copyright © 1996–2019 Geotools. All rights reserved.