Package org.nuiton.math.matrix.viewer
Class MatrixViewerPanel.RendererButtonModel
- java.lang.Object
-
- javax.swing.DefaultButtonModel
-
- javax.swing.JToggleButton.ToggleButtonModel
-
- org.nuiton.math.matrix.viewer.MatrixViewerPanel.RendererButtonModel
-
- All Implemented Interfaces:
ItemSelectable
,Serializable
,ButtonModel
- Enclosing class:
- MatrixViewerPanel
protected static class MatrixViewerPanel.RendererButtonModel extends JToggleButton.ToggleButtonModel
Button model from button containing rendered instance.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MatrixRenderer
renderer
-
Fields inherited from class javax.swing.DefaultButtonModel
actionCommand, ARMED, changeEvent, ENABLED, group, listenerList, mnemonic, PRESSED, ROLLOVER, SELECTED, stateMask
-
-
Constructor Summary
Constructors Constructor Description RendererButtonModel(MatrixRenderer renderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixRenderer
getRenderer()
-
Methods inherited from class javax.swing.JToggleButton.ToggleButtonModel
isSelected, setPressed, setSelected
-
Methods inherited from class javax.swing.DefaultButtonModel
addActionListener, addChangeListener, addItemListener, fireActionPerformed, fireItemStateChanged, fireStateChanged, getActionCommand, getActionListeners, getChangeListeners, getGroup, getItemListeners, getListeners, getMnemonic, getSelectedObjects, isArmed, isEnabled, isPressed, isRollover, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setRollover
-
-
-
-
Field Detail
-
renderer
protected MatrixRenderer renderer
-
-
Constructor Detail
-
RendererButtonModel
public RendererButtonModel(MatrixRenderer renderer)
-
-
Method Detail
-
getRenderer
public MatrixRenderer getRenderer()
-
-