org.geotools.styling
Class SelectedChannelTypeImpl

java.lang.Object
  extended by org.geotools.styling.SelectedChannelTypeImpl
All Implemented Interfaces:
org.opengis.style.SelectedChannelType

public class SelectedChannelTypeImpl
extends java.lang.Object
implements SelectedChannelType

Default implementation of SelectedChannelType.


Constructor Summary
SelectedChannelTypeImpl()
           
SelectedChannelTypeImpl(org.opengis.filter.FilterFactory factory)
           
SelectedChannelTypeImpl(org.opengis.filter.FilterFactory factory, ContrastEnhancement contrast)
           
SelectedChannelTypeImpl(org.opengis.style.SelectedChannelType gray)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
           
protected  ContrastEnhancement contrastEnhancement(org.opengis.filter.expression.Expression expr)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getChannelName()
          Returns the channel's name.
 ContrastEnhancement getContrastEnhancement()
           
 int hashCode()
           
 void setChannelName(java.lang.String name)
          Set the source channel name.
 void setContrastEnhancement(org.opengis.style.ContrastEnhancement enhancement)
           
 void setContrastEnhancement(org.opengis.filter.expression.Expression gammaValue)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedChannelTypeImpl

public SelectedChannelTypeImpl()

SelectedChannelTypeImpl

public SelectedChannelTypeImpl(org.opengis.filter.FilterFactory factory)

SelectedChannelTypeImpl

public SelectedChannelTypeImpl(org.opengis.filter.FilterFactory factory,
                               ContrastEnhancement contrast)

SelectedChannelTypeImpl

public SelectedChannelTypeImpl(org.opengis.style.SelectedChannelType gray)
Method Detail

getChannelName

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

Specified by:
getChannelName in interface org.opengis.style.SelectedChannelType
Returns:
Source channel name

getContrastEnhancement

public ContrastEnhancement getContrastEnhancement()
Specified by:
getContrastEnhancement in interface org.opengis.style.SelectedChannelType

setChannelName

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

Parameters:
name - name of the source channel

setContrastEnhancement

public void setContrastEnhancement(org.opengis.style.ContrastEnhancement enhancement)

setContrastEnhancement

public void setContrastEnhancement(org.opengis.filter.expression.Expression gammaValue)

contrastEnhancement

protected ContrastEnhancement contrastEnhancement(org.opengis.filter.expression.Expression expr)

accept

public java.lang.Object accept(org.opengis.style.StyleVisitor visitor,
                               java.lang.Object data)
Specified by:
accept in interface org.opengis.style.SelectedChannelType

accept

public void accept(StyleVisitor visitor)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.