Examples of ToolkitInterface


Examples of sim.toolkit.ToolkitInterface

    /**
     * Sets the event listener applet.
     * @param aid applet AID
     */
    public void setEventListener(AID aid) {
        ToolkitInterface ti = (ToolkitInterface)
                    JCSystem.getAppletShareableInterfaceObject(aid, (byte)0);
        if (ti == null) {
            ToolkitException.throwIt(ToolkitException.BAD_INPUT_PARAMETER);
        }
        // if listener hasn't already registered, register it for this event
View Full Code Here

Examples of sim.toolkit.ToolkitInterface

    /**
     * Removes the event listener from the list of listeners.
     * @param aid applet AID
     */
    public void clearEventListener(AID aid) {
        ToolkitInterface ti = (ToolkitInterface)
                    JCSystem.getAppletShareableInterfaceObject(aid, (byte)0);
        if (ti == null) {
            return;
        }
        byte index = findListener(ti);
View Full Code Here

Examples of sim.toolkit.ToolkitInterface

     * method is found in the list of listeners.
     * @param aid applet AID
     * @return true if the applet is a listener and false otherwise
     */
    public boolean isEventListenerSet(AID aid) {
        ToolkitInterface ti = (ToolkitInterface)
                    JCSystem.getAppletShareableInterfaceObject(aid, (byte)0);
        if (ti == null) {
            return false;
        }
        byte index = findListener(ti);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.