Examples of MutableEventTarget


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

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

    }

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