public abstract static class LayerListDialog.AbstractLayerPropertySliderAction extends AbstractAction implements LayerListDialog.IEnabledStateUpdating, Layer.LayerAction
| Modifier and Type | Field and Description |
|---|---|
private double |
factor |
protected JPopupMenu |
popup |
protected JSlider |
slider |
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
AbstractLayerPropertySliderAction(String name,
double factor) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
Component |
createMenuComponent() |
protected abstract SideButton |
getCorrespondingSideButton() |
protected abstract double |
getValue() |
protected abstract void |
setValue(double value) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateEnabledStatesupportLayersprotected final JPopupMenu popup
private final double factor
public AbstractLayerPropertySliderAction(String name, double factor)
protected abstract void setValue(double value)
protected abstract double getValue()
protected abstract SideButton getCorrespondingSideButton()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic Component createMenuComponent()
createMenuComponent in interface Layer.LayerAction