Package org.geotools.styling
Class SelectedChannelTypeImpl
- Object
-
- SelectedChannelTypeImpl
-
- All Implemented Interfaces:
SelectedChannelType
public class SelectedChannelTypeImpl extends Object implements SelectedChannelType
Default implementation of SelectedChannelType.
-
-
Constructor Summary
Constructors Constructor Description SelectedChannelTypeImpl()
SelectedChannelTypeImpl(FilterFactory factory)
SelectedChannelTypeImpl(FilterFactory factory, ContrastEnhancement contrast)
SelectedChannelTypeImpl(SelectedChannelType gray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(StyleVisitor visitor)
Object
accept(TraversingStyleVisitor visitor, Object data)
calls the visit method of a StyleVisitorprotected ContrastEnhancement
contrastEnhancement(Expression expr)
boolean
equals(Object obj)
Expression
getChannelName()
Returns the channel's name.ContrastEnhancement
getContrastEnhancement()
int
hashCode()
void
setChannelName(String name)
void
setChannelName(Expression name)
Set the source channel name.void
setContrastEnhancement(Expression gammaValue)
void
setContrastEnhancement(ContrastEnhancement enhancement)
-
-
-
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 Expression getChannelName()
Description copied from interface:SelectedChannelType
Returns the channel's name.- Specified by:
getChannelName
in interfaceSelectedChannelType
- Returns:
- Source channel name
-
getContrastEnhancement
public ContrastEnhancement getContrastEnhancement()
- Specified by:
getContrastEnhancement
in interfaceSelectedChannelType
-
setChannelName
public void setChannelName(Expression name)
Description copied from interface:SelectedChannelType
Set the source channel name.- Specified by:
setChannelName
in interfaceSelectedChannelType
- Parameters:
name
- name of the source channel
-
setChannelName
public void setChannelName(String name)
- Specified by:
setChannelName
in interfaceSelectedChannelType
-
setContrastEnhancement
public void setContrastEnhancement(ContrastEnhancement enhancement)
- Specified by:
setContrastEnhancement
in interfaceSelectedChannelType
-
setContrastEnhancement
public void setContrastEnhancement(Expression gammaValue)
-
contrastEnhancement
protected ContrastEnhancement contrastEnhancement(Expression expr)
-
accept
public Object accept(TraversingStyleVisitor visitor, Object data)
Description copied from interface:SelectedChannelType
calls the visit method of a StyleVisitor- Specified by:
accept
in interfaceSelectedChannelType
- Parameters:
visitor
- the style visitor
-
accept
public void accept(StyleVisitor visitor)
- Specified by:
accept
in interfaceSelectedChannelType
-
-