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 TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) accept
(TraversingStyleVisitor visitor, Object data) calls the visit method of a StyleVisitorprotected ContrastEnhancement
boolean
Returns the channel's name.int
hashCode()
void
setChannelName
(String name) void
setChannelName
(Expression name) Set the source channel name.void
setContrastEnhancement
(Expression gammaValue) void
setContrastEnhancement
(ContrastEnhancement enhancement)
-
Constructor Details
-
SelectedChannelTypeImpl
public SelectedChannelTypeImpl() -
SelectedChannelTypeImpl
-
SelectedChannelTypeImpl
-
SelectedChannelTypeImpl
-
-
Method Details
-
getChannelName
Description copied from interface:SelectedChannelType
Returns the channel's name.- Specified by:
getChannelName
in interfaceSelectedChannelType
- Returns:
- Source channel name
-
getContrastEnhancement
- Specified by:
getContrastEnhancement
in interfaceSelectedChannelType
-
setChannelName
Description copied from interface:SelectedChannelType
Set the source channel name.- Specified by:
setChannelName
in interfaceSelectedChannelType
- Parameters:
name
- name of the source channel
-
setChannelName
- Specified by:
setChannelName
in interfaceSelectedChannelType
-
setContrastEnhancement
- Specified by:
setContrastEnhancement
in interfaceSelectedChannelType
-
setContrastEnhancement
-
contrastEnhancement
-
accept
Description copied from interface:SelectedChannelType
calls the visit method of a StyleVisitor- Specified by:
accept
in interfaceSelectedChannelType
- Parameters:
visitor
- the style visitor
-
accept
- Specified by:
accept
in interfaceSelectedChannelType
-
hashCode
public int hashCode() -
equals
-