org.geotools.styling
Class ChannelSelectionImpl

Object
  extended by ChannelSelectionImpl
All Implemented Interfaces:
ChannelSelection

public class ChannelSelectionImpl
extends Object
implements ChannelSelection

ChannelSelectionImpl

Author:
iant
Module:
modules/library/main (gt-main.jar)

Constructor Summary
ChannelSelectionImpl()
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 void accept(StyleVisitor visitor)
           
 Object accept(StyleVisitor visitor, Object data)
           
 boolean equals(Object obj)
           
 SelectedChannelType getGrayChannel()
           
 SelectedChannelType[] getRGBChannels()
          Retrieves the RGB channel that were selected.
 SelectedChannelType[] getSelectedChannels()
           
 int hashCode()
           
 void setGrayChannel(SelectedChannelType gray)
           
 void setGrayChannel(SelectedChannelType gray)
           
 void setRGBChannels(SelectedChannelType[] channels)
           
 void setRGBChannels(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue)
           
 void setRGBChannels(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue)
           
 void setSelectedChannels(SelectedChannelType[] channels)
           
 
Methods inherited from class Object
clone, finalize, getClass, 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)

setGrayChannel

public void setGrayChannel(SelectedChannelType gray)

setRGBChannels

public void setRGBChannels(SelectedChannelType[] channels)

setRGBChannels

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

setRGBChannels

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

setSelectedChannels

public void setSelectedChannels(SelectedChannelType[] channels)

accept

public Object accept(StyleVisitor visitor,
                     Object data)
Specified by:
accept in interface ChannelSelection

accept

public void accept(StyleVisitor visitor)

accept

public void accept(StyleVisitor visitor)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 1996-2010 Geotools. All Rights Reserved.