~ubuntu-branches/ubuntu/maverick/libswingx-java/maverick

« back to all changes in this revision

Viewing changes to src/java/org/jdesktop/swingx/action/BoundAction.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2009-12-30 21:58:46 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091230215846-k1ndl4vhrkxk3wsp
Tags: 1:1.6-1
* New upstream release.
  - remove debian/patches/swingworker.diff (merged upstream)
  - update debian/patches/pom.diff
* Depends on java6-runtime-headless as we build java6 bytecode

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: BoundAction.java,v 1.7 2008/12/05 14:34:56 kschaefe Exp $
 
2
 * $Id: BoundAction.java 3471 2009-08-27 13:10:39Z kleopatra $
3
3
 *
4
4
 * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
5
5
 * Santa Clara, California 95054, U.S.A. All rights reserved.
21
21
 
22
22
package org.jdesktop.swingx.action;
23
23
 
24
 
import javax.swing.*;
25
 
import javax.swing.event.EventListenerList;
26
24
import java.awt.event.ActionEvent;
27
25
import java.awt.event.ActionListener;
28
26
import java.awt.event.ItemEvent;
33
31
import java.util.logging.Level;
34
32
import java.util.logging.Logger;
35
33
 
 
34
import javax.swing.Icon;
 
35
import javax.swing.event.EventListenerList;
 
36
 
36
37
/**
37
38
 * A class that represents the many type of actions that this framework supports.
38
39
 * <p>
235
236
    /**
236
237
     * Callback for toggle actions.
237
238
     */
 
239
    @Override
238
240
    public void itemStateChanged(ItemEvent evt) {
239
241
        // Update all objects that share this item
240
242
        boolean newValue;