public class IlvDiscreteSymbolInteractor extends IlvSymbolInteractor
BUTTON1_CLICKED
mouse gesture.
It increments the integer value by a specified amount. The value vary
between a minimum and a maximum, and when it exceeds the maximum it is
reset to the minimum.changeSupport, enabled
ACCELERATOR_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 |
---|
IlvDiscreteSymbolInteractor()
Creates the interactor
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Increments the value by the given "increment".
|
int |
getIncrement()
Returns the increment used to modify the value managed by this interactor.
|
int |
getMaximum()
Returns the maximum value that can be computed by this interactor.
|
int |
getMinimum()
Returns the minimum value that can be computed by this interactor.
|
IlvMouseGesture[] |
getSupportedMouseGestures()
Returns the mouse gesture supported by this interactor.
|
void |
setIncrement(int increment)
Sets the increment used to modify the value managed by this interactor.
|
void |
setMaximum(int max)
Sets the maximum value that can be computed by this interactor.
|
void |
setMinimum(int min)
Sets the maximum value that can be computed by this interactor.
|
getCSSValue, getLogger, getParameterToModify, getParameterType, setParameterToModify
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public IlvDiscreteSymbolInteractor()
public IlvMouseGesture[] getSupportedMouseGestures()
getSupportedMouseGestures
in class IlvSymbolInteractor
public int getMaximum()
public void setMaximum(int max)
public int getMinimum()
public void setMinimum(int min)
public int getIncrement()
public void setIncrement(int increment)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class IlvSymbolInteractor
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.