Package org.geotools.styling
Class SelectedChannelTypeImpl
Object
SelectedChannelTypeImpl
- All Implemented Interfaces:
SelectedChannelType
Default implementation of SelectedChannelType.
-
Constructor Summary
ConstructorsConstructorDescriptionSelectedChannelTypeImpl(FilterFactory factory) SelectedChannelTypeImpl(FilterFactory factory, ContrastEnhancement contrast) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(StyleVisitor visitor) accept(TraversingStyleVisitor visitor, Object data) calls the visit method of a StyleVisitorprotected ContrastEnhancementbooleanReturns the channel's name.inthashCode()voidsetChannelName(String name) voidsetChannelName(Expression name) Set the source channel name.voidsetContrastEnhancement(Expression gammaValue) voidsetContrastEnhancement(ContrastEnhancement enhancement)
-
Constructor Details
-
SelectedChannelTypeImpl
public SelectedChannelTypeImpl() -
SelectedChannelTypeImpl
-
SelectedChannelTypeImpl
-
SelectedChannelTypeImpl
-
-
Method Details
-
getChannelName
Description copied from interface:SelectedChannelTypeReturns the channel's name.- Specified by:
getChannelNamein interfaceSelectedChannelType- Returns:
- Source channel name
-
getContrastEnhancement
- Specified by:
getContrastEnhancementin interfaceSelectedChannelType
-
setChannelName
Description copied from interface:SelectedChannelTypeSet the source channel name.- Specified by:
setChannelNamein interfaceSelectedChannelType- Parameters:
name- name of the source channel
-
setChannelName
- Specified by:
setChannelNamein interfaceSelectedChannelType
-
setContrastEnhancement
- Specified by:
setContrastEnhancementin interfaceSelectedChannelType
-
setContrastEnhancement
-
contrastEnhancement
-
accept
Description copied from interface:SelectedChannelTypecalls the visit method of a StyleVisitor- Specified by:
acceptin interfaceSelectedChannelType- Parameters:
visitor- the style visitor
-
accept
- Specified by:
acceptin interfaceSelectedChannelType
-
hashCode
public int hashCode() -
equals
-