org.geotools.styling
Class ChannelSelectionImpl

Object
  extended by ChannelSelectionImpl
All Implemented Interfaces:
ChannelSelection

public class ChannelSelectionImpl
extends Object
implements ChannelSelection

ChannelSelectionImpl

Author:
iant
Module:

Constructor Summary
ChannelSelectionImpl()
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 void accept(StyleVisitor visitor)
           
 SelectedChannelType getGrayChannel()
           
 SelectedChannelType[] getRGBChannels()
          Retrieves the RGB channel that were selected.
 SelectedChannelType[] getSelectedChannels()
           
 void setGrayChannel(SelectedChannelType gray)
           
 void setRGBChannels(SelectedChannelType[] channels)
           
 void setRGBChannels(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue)
           
 void setSelectedChannels(SelectedChannelType[] channels)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelSelectionImpl

public ChannelSelectionImpl()
Method Detail

getGrayChannel

public SelectedChannelType getGrayChannel()
Specified by:
getGrayChannel in interface ChannelSelection

getRGBChannels

public SelectedChannelType[] getRGBChannels()
Retrieves the RGB channel that were selected. Note that in case there is no RGB selection the returned SelectedChannelType array will contain null elements.

Specified by:
getRGBChannels in interface ChannelSelection
Returns:
SelectedChannelType array that contains the SelectedChannelType elements for the RGB channels.

getSelectedChannels

public SelectedChannelType[] getSelectedChannels()

setGrayChannel

public void setGrayChannel(SelectedChannelType gray)

setRGBChannels

public void setRGBChannels(SelectedChannelType[] channels)

setRGBChannels

public void setRGBChannels(SelectedChannelType red,
                           SelectedChannelType green,
                           SelectedChannelType blue)

setSelectedChannels

public void setSelectedChannels(SelectedChannelType[] channels)

accept

public void accept(StyleVisitor visitor)

accept

public void accept(StyleVisitor visitor)
Specified by:
accept in interface ChannelSelection


Copyright © 1996-2009 Geotools. All Rights Reserved.