Package com.volantis.mcs.protocols.menu.shared.model

Examples of com.volantis.mcs.protocols.menu.shared.model.MutableEventTarget


     * one, or null otherwise.
     *
     * @return the current entity or null if not of the required class
     */
    private MutableEventTarget getCurrentEventTarget() {
        MutableEventTarget current = null;

        if (currentEntity instanceof MutableEventTarget) {
            current = (MutableEventTarget) currentEntity;
        }

View Full Code Here


    }

    // javadoc inherited
    public void setEventHandler(EventType eventType,
                                ScriptAssetReference handler) throws BuilderException {
        MutableEventTarget item = getCurrentEventTarget();

        if (item != null) {
            try {
                item.setEventHandler(eventType, handler);
            } catch (Exception e) {
                throw new BuilderException(e);
            }
        } else {
            reportBadParent((eventType == null) ? "event handler" :
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.menu.shared.model.MutableEventTarget

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.