org.geotools.styling
Class ChannelSelectionImpl
Object
ChannelSelectionImpl
- All Implemented Interfaces:
- ChannelSelection
public class ChannelSelectionImpl
- extends Object
- implements ChannelSelection
ChannelSelectionImpl
- Author:
- iant
- Module:
modules/library/main (gt-main.jar)
ChannelSelectionImpl
public ChannelSelectionImpl()
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-2009 Geotools. All Rights Reserved.