Class JInterfaceBase.OkColorListener
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.Interface.JInterfaceBase.OkColorListener
- All Implemented Interfaces:
ActionListener,EventListener
- Enclosing class:
JInterfaceBase
Pick up the selected color and call method to change the color.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGet color from chooser and set button and color.
-
Field Details
-
button
JButton buttonColor Button
-
-
Constructor Details
-
OkColorListener
OkColorListener(JButton _button) Creates a new OkColorListener object.- Parameters:
_button- DOCUMENT ME!
-
-
Method Details
-
actionPerformed
Get color from chooser and set button and color.- Specified by:
actionPerformedin interfaceActionListener- Parameters:
e- Event that triggered function.
-