|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.ChannelSelectionImpl
public class ChannelSelectionImpl
ChannelSelectionImpl
Constructor Summary | |
---|---|
ChannelSelectionImpl()
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
void |
accept(org.opengis.style.StyleVisitor visitor)
|
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object data)
|
boolean |
equals(java.lang.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(org.opengis.style.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(org.opengis.style.SelectedChannelType red,
org.opengis.style.SelectedChannelType green,
org.opengis.style.SelectedChannelType blue)
|
void |
setSelectedChannels(SelectedChannelType[] channels)
set the channels to be used |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelSelectionImpl()
Method Detail |
---|
public SelectedChannelType getGrayChannel()
ChannelSelection
getGrayChannel
in interface org.opengis.style.ChannelSelection
public SelectedChannelType[] getRGBChannels()
SelectedChannelType
array will contain null elements.
getRGBChannels
in interface org.opengis.style.ChannelSelection
SelectedChannelType
array that contains the
SelectedChannelType
elements for the RGB channels.public SelectedChannelType[] getSelectedChannels()
ChannelSelection
public void setGrayChannel(SelectedChannelType gray)
ChannelSelection
gray
- the gray channelpublic void setGrayChannel(org.opengis.style.SelectedChannelType gray)
public void setRGBChannels(SelectedChannelType[] channels)
ChannelSelection
channels
- array of channels in RGB orderpublic void setRGBChannels(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue)
ChannelSelection
red
- the red channelgreen
- the green channelblue
- the blue channelpublic void setRGBChannels(org.opengis.style.SelectedChannelType red, org.opengis.style.SelectedChannelType green, org.opengis.style.SelectedChannelType blue)
public void setSelectedChannels(SelectedChannelType[] channels)
ChannelSelection
channels
- array of channelspublic java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
accept
in interface org.opengis.style.ChannelSelection
public void accept(StyleVisitor visitor)
public void accept(org.opengis.style.StyleVisitor visitor)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |