jdk/src/share/classes/sun/awt/TimedWindowEvent.java
author denis
Wed, 27 Mar 2013 16:19:51 +0400
changeset 16705 1caaa379eded
parent 13652 42544e68dc39
child 22636 5bb85dc6771b
permissions -rw-r--r--
7075105: WIN: Provide a way to format HTML on drop Reviewed-by: uta, serb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13652
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     1
/*
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     2
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     4
 *
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    10
 *
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    15
 * accompanied this code).
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    16
 *
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    20
 *
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    23
 * questions.
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    24
 */
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    25
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    26
package sun.awt;
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    27
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    28
import java.awt.event.WindowEvent;
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    29
import java.awt.Window;
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    30
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    31
public class TimedWindowEvent extends WindowEvent {
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    32
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    33
    private long time;
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    34
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    35
    public long getWhen() {
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    36
        return time;
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    37
    }
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    38
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    39
    public TimedWindowEvent(Window source, int id, Window opposite, long time) {
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    40
        super(source, id, opposite);
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    41
        this.time = time;
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    42
    }
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    43
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    44
    public TimedWindowEvent(Window source, int id, Window opposite,
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    45
                            int oldState, int newState, long time)
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    46
    {
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    47
        super(source, id, opposite, oldState, newState);
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    48
        this.time = time;
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    49
    }
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    50
}
42544e68dc39 6981400: Tabbing between textfield do not work properly when ALT+TAB
ant
parents:
diff changeset
    51