Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e09fd9e8 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

Code drop from //branches/cupcake/...@124589

parent 7c1b96a1
Loading
Loading
Loading
Loading
+350 −287

File changed.

Preview size limit exceeded, changes collapsed.

+11 −7
Original line number Original line Diff line number Diff line
@@ -18,26 +18,30 @@
 * @author Michael Danilov
 * @author Michael Danilov
 * @version $Revision$
 * @version $Revision$
 */
 */
package java.awt;


package java.awt;


/**
/**
 * The AWTException class is used to provide notification and information
 * The AWTException class is used to provide notification and information about
 * about AWT errors.
 * AWT errors.
 * 
 * @since Android 1.0
 */
 */
public class AWTException extends Exception {
public class AWTException extends Exception {


    /** The Constant serialVersionUID. */
    /**
     * The Constant serialVersionUID.
     */
    private static final long serialVersionUID = -1900414231151323879L;
    private static final long serialVersionUID = -1900414231151323879L;


    /**
    /**
     * Instantiates a new AWT exception with the specified message.
     * Instantiates a new AWT exception with the specified message.
     * 
     * 
     * @param msg the specific message for current exception.
     * @param msg
     *            the specific message for current exception.
     */
     */
    public AWTException(String msg) {
    public AWTException(String msg) {
        super(msg);
        super(msg);
    }
    }


}
}
+268 −234

File changed.

Preview size limit exceeded, changes collapsed.

+15 −8
Original line number Original line Diff line number Diff line
@@ -18,24 +18,31 @@
 * @author Pavel Dolgov
 * @author Pavel Dolgov
 * @version $Revision$
 * @version $Revision$
 */
 */

package java.awt;
package java.awt;


import java.security.BasicPermission;
import java.security.BasicPermission;


/**
/**
 * The AWTPermission specifies the name of the permission and the 
 * The AWTPermission specifies the name of the permission and the corresponding
 * corresponding action list.
 * action list.
 * 
 * @since Android 1.0
 */
 */
public final class AWTPermission extends BasicPermission {
public final class AWTPermission extends BasicPermission {


    /** The Constant serialVersionUID. */
    /**
     * The Constant serialVersionUID.
     */
    private static final long serialVersionUID = 8890392402588814465L;
    private static final long serialVersionUID = 8890392402588814465L;


    /**
    /**
     * Instantiates a new AWTPermission with defined name and actions.
     * Instantiates a new AWTPermission with defined name and actions.
     * 
     * 
     * @param name the name of a new AWTPermission. 
     * @param name
     * @param actions the actions of a new AWTPermission.
     *            the name of a new AWTPermission.
     * @param actions
     *            the actions of a new AWTPermission.
     */
     */
    public AWTPermission(String name, String actions) {
    public AWTPermission(String name, String actions) {
        super(name, actions);
        super(name, actions);
@@ -44,11 +51,11 @@ public final class AWTPermission extends BasicPermission {
    /**
    /**
     * Instantiates a new AWT permission with the defined name.
     * Instantiates a new AWT permission with the defined name.
     * 
     * 
     * @param name the name of a new AWTPermission. 
     * @param name
     *            the name of a new AWTPermission.
     */
     */
    public AWTPermission(String name) {
    public AWTPermission(String name) {
        super(name);
        super(name);
    }
    }


}
}
+8 −5
Original line number Original line Diff line number Diff line
@@ -18,18 +18,21 @@
 * @author Michael Danilov
 * @author Michael Danilov
 * @version $Revision$
 * @version $Revision$
 */
 */

package java.awt;
package java.awt;


/**
/**
 * This interface defines events that know how to dispatch themselves. 
 * This interface defines events that know how to dispatch themselves. Such
 * Such event can be placed upon the event queue and its dispatch method 
 * event can be placed upon the event queue and its dispatch method will be
 * will be called when the event is dispatched.
 * called when the event is dispatched.
 * 
 * @since Android 1.0
 */
 */
public interface ActiveEvent {
public interface ActiveEvent {


    /**
    /**
     * Dispatches the event to the listeners of the event's source, 
     * Dispatches the event to the listeners of the event's source, or does
     * or does whatever it is this event is supposed to do.
     * whatever it is this event is supposed to do.
     */
     */
    public void dispatch();
    public void dispatch();


Loading