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 voidaccept(StyleVisitor visitor)Objectaccept(TraversingStyleVisitor visitor, Object data)calls the visit method of a StyleVisitorprotected ContrastEnhancementcontrastEnhancement(Expression expr)booleanequals(Object obj)ExpressiongetChannelName()Returns the channel's name.ContrastEnhancementgetContrastEnhancement()inthashCode()voidsetChannelName(String name)voidsetChannelName(Expression name)Set the source channel name.voidsetContrastEnhancement(Expression gammaValue)voidsetContrastEnhancement(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:SelectedChannelTypeReturns the channel's name.- Specified by:
getChannelNamein interfaceSelectedChannelType- Returns:
- Source channel name
-
getContrastEnhancement
public ContrastEnhancement getContrastEnhancement()
- Specified by:
getContrastEnhancementin interfaceSelectedChannelType
-
setChannelName
public void setChannelName(Expression name)
Description copied from interface:SelectedChannelTypeSet the source channel name.- Specified by:
setChannelNamein interfaceSelectedChannelType- Parameters:
name- name of the source channel
-
setChannelName
public void setChannelName(String name)
- Specified by:
setChannelNamein interfaceSelectedChannelType
-
setContrastEnhancement
public void setContrastEnhancement(ContrastEnhancement enhancement)
- Specified by:
setContrastEnhancementin 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:SelectedChannelTypecalls the visit method of a StyleVisitor- Specified by:
acceptin interfaceSelectedChannelType- Parameters:
visitor- the style visitor
-
accept
public void accept(StyleVisitor visitor)
- Specified by:
acceptin interfaceSelectedChannelType
-
-