Documentation of 'org.jhotdraw.draw.action.DrawingColorChooserHandler' Java class
DrawingColorChooserHandler
org.jhotdraw.draw.action

Class DrawingColorChooserHandler

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, javax.swing.event.ChangeListener, Disposable


    public class DrawingColorChooserHandler
    extends AbstractDrawingViewAction
    implements javax.swing.event.ChangeListener
    DrawingColorChooserHandler.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface javax.swing.Action

        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 Detail

      • DrawingColorChooserHandler

        public DrawingColorChooserHandler(DrawingEditor editor,
                                          AttributeKey<java.awt.Color> key,
                                          javax.swing.JColorChooser colorChooser,
                                          javax.swing.JPopupMenu popupMenu)
        Creates a new instance.
    • Method Detail

      • actionPerformed

        public void actionPerformed(java.awt.event.ActionEvent evt)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • stateChanged

        public void stateChanged(javax.swing.event.ChangeEvent e)
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.