org.geotools.styling
Class SelectedChannelTypeImpl

Object
  extended by SelectedChannelTypeImpl
All Implemented Interfaces:
SelectedChannelType

public class SelectedChannelTypeImpl
extends Object
implements SelectedChannelType

Default implementation of SelectedChannelType.


Constructor Summary
SelectedChannelTypeImpl()
           
SelectedChannelTypeImpl(FilterFactory factory)
           
SelectedChannelTypeImpl(FilterFactory factory, ContrastEnhancement contrast)
           
SelectedChannelTypeImpl(SelectedChannelType gray)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 Object accept(StyleVisitor visitor, Object data)
          calls the visit method of a StyleVisitor
protected  ContrastEnhancement contrastEnhancement(Expression expr)
           
 boolean equals(Object obj)
           
 String getChannelName()
          Returns the channel's name.
 ContrastEnhancement getContrastEnhancement()
          Contrast enhancement may be applied to each channel in isolation.
 int hashCode()
           
 void setChannelName(String name)
          Set the source channel name.
 void setContrastEnhancement(ContrastEnhancement enhancement)
           
 void setContrastEnhancement(Expression gammaValue)
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedChannelTypeImpl

public SelectedChannelTypeImpl()

SelectedChannelTypeImpl

public SelectedChannelTypeImpl(FilterFactory factory)

SelectedChannelTypeImpl

public SelectedChannelTypeImpl(FilterFactory factory,
                               ContrastEnhancement contrast)

SelectedChannelTypeImpl

public SelectedChannelTypeImpl(SelectedChannelType gray)
Method Detail

getChannelName

public String getChannelName()
Description copied from interface: SelectedChannelType
Returns the channel's name.

Specified by:
getChannelName in interface SelectedChannelType
Returns:
Source channel name

getContrastEnhancement

public ContrastEnhancement getContrastEnhancement()
Description copied from interface: SelectedChannelType
Contrast enhancement may be applied to each channel in isolation.

Specified by:
getContrastEnhancement in interface SelectedChannelType
Returns:
ContrastEnhancement

setChannelName

public void setChannelName(String name)
Description copied from interface: SelectedChannelType
Set the source channel name.

Parameters:
name - name of the source channel

setContrastEnhancement

public void setContrastEnhancement(ContrastEnhancement enhancement)

setContrastEnhancement

public void setContrastEnhancement(Expression gammaValue)

contrastEnhancement

protected ContrastEnhancement contrastEnhancement(Expression expr)

accept

public Object accept(StyleVisitor visitor,
                     Object data)
Description copied from interface: SelectedChannelType
calls the visit method of a StyleVisitor

Specified by:
accept in interface SelectedChannelType
Parameters:
visitor - the style 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-2014 Geotools. All Rights Reserved.