Package org.adamtacy.client.ui

Examples of org.adamtacy.client.ui.NEffectPanel


        return getContainerPanel().addHandler(handler, type);
    };

    private void attachPopup() {
        NEffectPanel effectPanel = getEffectPanel();

        Style style = effectPanel.getElement().getStyle();

        /*
         * INFO: position is fixed, not absolute, because there are problems
         * with absolute positioning when the window is scrolled.
         */
 
View Full Code Here


    private NEffectPanel getEffectPanel() {
        if (!isEffectPanelInitialized()) {
            SimplePanel containerPanel = getContainerPanel();

            effectPanel = new NEffectPanel();
            effectPanel.add(containerPanel);
        }

        return effectPanel;
    }
View Full Code Here

    public Size getSize() {
        /*
         * If the popup panel is not attached --> attach in background, get
         * size, remove panel. Otherwise just report size.
         */
        NEffectPanel effectPanel = getEffectPanel();
        boolean attached = effectPanel.isAttached(); // do not inline

        if (!attached) {
            Style style = effectPanel.getElement().getStyle();
            style.setProperty(CSS.POSITION, CSS.FIXED);
            style.setProperty(CSS.Z_INDEX, Integer.toString(HIDDEN_Z_INDEX));
            rootPanel.add(effectPanel);
        }

View Full Code Here

    }

    private void runCurrentEffect() {
        opacity = getEffectEndOpacity();

        NEffectPanel effectPanel = getEffectPanel();
        effectPanel.addEffect(currentEffect);
        effectPanel.playEffects();
    }
View Full Code Here

        return getContainerPanel().addHandler(handler, type);
    };

    private void attachPopup() {
        NEffectPanel effectPanel = getEffectPanel();

        Style style = effectPanel.getElement().getStyle();

        /*
         * INFO: position is fixed, not absolute, because there are problems
         * with absolute positioning when the window is scrolled.
         */
 
View Full Code Here

    private NEffectPanel getEffectPanel() {
        if (!isEffectPanelInitialized()) {
            SimplePanel containerPanel = getContainerPanel();

            effectPanel = new NEffectPanel();
            effectPanel.add(containerPanel);
        }

        return effectPanel;
    }
View Full Code Here

    public DefaultSize getSize() {
        /*
         * If the popup panel is not attached --> attach in background, get
         * size, remove panel. Otherwise just report size.
         */
        NEffectPanel effectPanel = getEffectPanel();
        boolean attached = effectPanel.isAttached(); // do not inline

        if (!attached) {
            Style style = effectPanel.getElement().getStyle();
            style.setProperty(CSS.POSITION, CSS.FIXED);
            style.setProperty(CSS.Z_INDEX, Integer.toString(HIDDEN_Z_INDEX));
            rootPanel.add(effectPanel);
        }

View Full Code Here

    }

    private void runCurrentEffect() {
        opacity = getEffectEndOpacity();

        NEffectPanel effectPanel = getEffectPanel();
        effectPanel.addEffect(currentEffect);
        effectPanel.playEffects();
    }
View Full Code Here

  ReflectImage theReflection;

  public ReflectedImage() {
    theImage = new Image();
    NEffectPanel ep = new NEffectPanel();
    ep.add(theImage);
    theReflection = new ReflectImage();
    ep.addEffect(theReflection);
    initWidget(ep);
    setForResizeEffect();
  }
View Full Code Here

TOP

Related Classes of org.adamtacy.client.ui.NEffectPanel

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.