public abstract static class LayerListDialog.AbstractLayerPropertySliderAction extends javax.swing.AbstractAction implements LayerListDialog.IEnabledStateUpdating, Layer.LayerAction
Modifier and Type | Field and Description |
---|---|
private double |
factor |
protected javax.swing.JPopupMenu |
popup |
protected javax.swing.JSlider |
slider |
Constructor and Description |
---|
AbstractLayerPropertySliderAction(java.lang.String name,
double factor) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
java.awt.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, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateEnabledState
supportLayers
protected final javax.swing.JPopupMenu popup
protected final javax.swing.JSlider slider
private final double factor
public AbstractLayerPropertySliderAction(java.lang.String name, double factor)
protected abstract void setValue(double value)
protected abstract double getValue()
protected abstract SideButton getCorrespondingSideButton()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.awt.Component createMenuComponent()
createMenuComponent
in interface Layer.LayerAction