org.geotools.styling
Class SelectedChannelTypeImpl
java.lang.Object
org.geotools.styling.SelectedChannelTypeImpl
- All Implemented Interfaces:
- org.opengis.style.SelectedChannelType
public class SelectedChannelTypeImpl
- extends java.lang.Object
- implements SelectedChannelType
Default implementation of SelectedChannelType.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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)
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.