public static final class LayerListDialog.LayerGammaAction extends LayerListDialog.AbstractLayerPropertySliderAction
model, popup, slider
Constructor and Description |
---|
LayerGammaAction(LayerListDialog.LayerListModel model)
Constructs a new
LayerGammaAction . |
Modifier and Type | Method and Description |
---|---|
protected double |
getValue() |
protected void |
setValue(double value) |
boolean |
supportLayers(java.util.List<Layer> layers)
Determines if this action supports a given list of layers.
|
void |
updateEnabledState() |
actionPerformed, createMenuComponent, setCorrespondingSideButton
public LayerGammaAction(LayerListDialog.LayerListModel model)
LayerGammaAction
.model
- layer list modelprotected void setValue(double value)
setValue
in class LayerListDialog.AbstractLayerPropertySliderAction
protected double getValue()
getValue
in class LayerListDialog.AbstractLayerPropertySliderAction
public void updateEnabledState()
public boolean supportLayers(java.util.List<Layer> layers)
Layer.LayerAction
layers
- list of layerstrue
if this action supports the given list of layers, false
otherwise