Examples of PartialUpdateParticipant


Examples of nextapp.echo2.webcontainer.PartialUpdateParticipant

     * Default constructor.
     */
    public ContentPanePeer() {
        super();
        partialUpdateManager = new PartialUpdateManager();
        partialUpdateManager.add(ContentPane.PROPERTY_HORIZONTAL_SCROLL, new PartialUpdateParticipant() {
       
            public void renderProperty(RenderContext rc, ServerComponentUpdate update) {
                renderScrollDirective(rc, (ContentPane) update.getParent(), true);
            }
       
            public boolean canRenderProperty(RenderContext rc, ServerComponentUpdate update) {
                return true;
            }
        });
        partialUpdateManager.add(ContentPane.PROPERTY_VERTICAL_SCROLL, new PartialUpdateParticipant() {
       
            public void renderProperty(RenderContext rc, ServerComponentUpdate update) {
                renderScrollDirective(rc, (ContentPane) update.getParent(), false);
            }
       
View Full Code Here

Examples of nextapp.echo2.webcontainer.PartialUpdateParticipant

     * Default constructor.
     */
    public WindowPeer() {
        super();
        partialUpdateManager = new PartialUpdateManager();
        partialUpdateManager.add(Window.PROPERTY_TITLE, new PartialUpdateParticipant() {
           
            /**
             * @see nextapp.echo2.webcontainer.PartialUpdateParticipant#canRenderProperty(nextapp.echo2.webcontainer.RenderContext,
             *      nextapp.echo2.app.update.ServerComponentUpdate)
             */
 
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.