~ubuntu-branches/ubuntu/precise/classpath/precise

« back to all changes in this revision

Viewing changes to javax/swing/event/UndoableEditEvent.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2006-05-27 16:11:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060527161115-h6e39eposdt5snb6
Tags: 2:0.91-3
* Install header files to /usr/include/classpath.
* debian/control: classpath: Conflict with jamvm < 1.4.3 and
  cacao < 0.96 (Closes: #368172).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* UndoableEditEvent.java --
2
 
   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
 
2
   Copyright (C) 2002, 2004, 2006, Free Software Foundation, Inc.
3
3
 
4
4
This file is part of GNU Classpath.
5
5
 
47
47
 * @author Andrew Selkirk
48
48
 * @author Ronald Veldema
49
49
 */
50
 
public class UndoableEditEvent extends EventObject {
 
50
public class UndoableEditEvent extends EventObject 
 
51
{
51
52
 
52
53
  private static final long serialVersionUID = 4418044561759134484L;
53
54
 
54
 
        //-------------------------------------------------------------
55
 
        // Variables --------------------------------------------------
56
 
        //-------------------------------------------------------------
57
 
 
58
 
        /**
59
 
         * edit
60
 
         */
61
 
        private UndoableEdit edit;
62
 
 
63
 
 
64
 
        //-------------------------------------------------------------
65
 
        // Initialization ---------------------------------------------
66
 
        //-------------------------------------------------------------
67
 
 
68
 
        /**
69
 
         * Constructor UndoableEditEvent
70
 
         * @param source TODO
71
 
         * @param edit TODO
72
 
         */
73
 
        public UndoableEditEvent(Object source, UndoableEdit edit) {
74
 
                super(source);
75
 
                this.edit = edit;
76
 
        } // UndoableEditEvent()
77
 
 
78
 
 
79
 
        //-------------------------------------------------------------
80
 
        // Methods ----------------------------------------------------
81
 
        //-------------------------------------------------------------
82
 
 
83
 
        /**
84
 
         * getEdit
85
 
         * @returns UndoableEdit
86
 
         */
87
 
        public UndoableEdit getEdit() {
88
 
                return edit;
89
 
        } // getEdit()
90
 
 
91
 
 
92
 
} // UndoableEditEvent
 
55
  /**
 
56
   * edit
 
57
   */
 
58
  private UndoableEdit edit;
 
59
 
 
60
  /**
 
61
   * Constructor UndoableEditEvent
 
62
   * @param source TODO
 
63
   * @param edit TODO
 
64
   */
 
65
  public UndoableEditEvent(Object source, UndoableEdit edit) 
 
66
  {
 
67
    super(source);
 
68
    this.edit = edit;
 
69
  } 
 
70
 
 
71
  /**
 
72
   * getEdit
 
73
   * @return UndoableEdit
 
74
   */
 
75
  public UndoableEdit getEdit() 
 
76
  {
 
77
    return edit;
 
78
  }
 
79
 
 
80