Package net.xoetrope.xui

Examples of net.xoetrope.xui.XContentHolder


      Object t = pm.getTarget( targetIdx );
      if ( !( t instanceof XContentHolder ))
        targetIdx++;
     
      for ( ; targetIdx < numTargets; targetIdx++ )  {
        XContentHolder targetArea = (XContentHolder)pm.getTarget( targetIdx );
        PageSupport currentPage = pm.getCurrentPage( targetArea.getName());
        if ( currentPage != null )
          currentPage.updateBoundComponentValues();
      }
    }
    setStatus( XPage.LOADED );
View Full Code Here


      if ( typeStr.equals( "Frame" )) {
        try {
          Object constraint = layoutHelper.getConstraint( childNode.getAttribute( "constraint" ));
          int preferredWidth = new Integer( childNode.getAttribute( "width" ) ).intValue();
          int preferredHeight = new Integer( childNode.getAttribute( "height" ) ).intValue();
          XContentHolder target;
          if ( addFrames )
            target = pageDisplay.addTarget( targetName, constraint,
                                            preferredWidth,
                                            preferredHeight,
                                            params );
          else {/** @todo set the target parameters for this new frame */
            target = (XContentHolder)pageDisplay.findTarget( targetName );
            target.setup( targetName, preferredWidth, preferredHeight, params );
          }
         
          if ( pageName != null ) {
            target.setContent( pageName );
            PageSupport targetPage = currentProject.getPageManager().loadPage( pageName );
            pageDisplay.displayPage( targetPage, targetName );
          }
        }
        catch ( NumberFormatException ex1 ) {
View Full Code Here

      Object t = pm.getTarget( targetIdx );
      if ( !( t instanceof XContentHolder ))
        targetIdx++;
     
      for ( ; targetIdx < numTargets; targetIdx++ )  {
        XContentHolder targetArea = (XContentHolder)pm.getTarget( targetIdx );
        PageSupport currentPage = pm.getCurrentPage( targetArea.getName());
        if ( currentPage != null )
          currentPage.updateBoundComponentValues();
      }
    }
    setStatus( XPage.LOADED );
View Full Code Here

TOP

Related Classes of net.xoetrope.xui.XContentHolder

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.