org.geotools.styling
Class ChannelSelectionImpl

java.lang.Object
  extended byorg.geotools.event.AbstractGTComponent
      extended byorg.geotools.styling.ChannelSelectionImpl
All Implemented Interfaces:
ChannelSelection, GTComponent

public class ChannelSelectionImpl
extends AbstractGTComponent
implements ChannelSelection

DOCUMENT ME!

Author:
iant

Field Summary
 
Fields inherited from class org.geotools.event.AbstractGTComponent
notification
 
Constructor Summary
ChannelSelectionImpl()
           
 
Method Summary
 SelectedChannelType getGrayChannel()
          Get the gray channel to be used
 SelectedChannelType[] getRGBChannels()
          get the RGB channels to be used
 SelectedChannelType[] getSelectedChannels()
          get the channels to be used
 void setGrayChannel(SelectedChannelType gray)
          Set the gray channel to be used
 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 setSelectedChannels(SelectedChannelType[] channels)
          set the channels to be used
 
Methods inherited from class org.geotools.event.AbstractGTComponent
changed, clone, fireChanged, fireChildChanged, getNote, getParent, removed, setNote
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Constructor Detail

ChannelSelectionImpl

public ChannelSelectionImpl()
Method Detail

getGrayChannel

public SelectedChannelType getGrayChannel()
Description copied from interface: ChannelSelection
Get the gray channel to be used

Specified by:
getGrayChannel in interface ChannelSelection
Returns:
the gray channel

getRGBChannels

public SelectedChannelType[] getRGBChannels()
Description copied from interface: ChannelSelection
get the RGB channels to be used

Specified by:
getRGBChannels in interface ChannelSelection
Returns:
array of channels in RGB order

getSelectedChannels

public SelectedChannelType[] getSelectedChannels()
Description copied from interface: ChannelSelection
get the channels to be used

Specified by:
getSelectedChannels in interface ChannelSelection
Returns:
array of channels

setGrayChannel

public void setGrayChannel(SelectedChannelType gray)
Description copied from interface: ChannelSelection
Set the gray channel to be used

Specified by:
setGrayChannel in interface ChannelSelection
Parameters:
gray - the gray channel

setRGBChannels

public void setRGBChannels(SelectedChannelType[] channels)
Description copied from interface: ChannelSelection
set the RGB channels to be used

Specified by:
setRGBChannels in interface ChannelSelection
Parameters:
channels - array of channels in RGB order

setRGBChannels

public void setRGBChannels(SelectedChannelType red,
                           SelectedChannelType green,
                           SelectedChannelType blue)
Description copied from interface: ChannelSelection
set the RGB channels to be used

Specified by:
setRGBChannels in interface ChannelSelection
Parameters:
red - the red channel
green - the green channel
blue - the blue channel

setSelectedChannels

public void setSelectedChannels(SelectedChannelType[] channels)
Description copied from interface: ChannelSelection
set the channels to be used

Specified by:
setSelectedChannels in interface ChannelSelection
Parameters:
channels - array of channels


Copyright © GeoTools. All Rights Reserved.