Package sim.toolkit

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


    /**
     * 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

     * 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

Related Classes of sim.toolkit.ToolkitInterface

Copyright © 2018 www.massapicom. 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.