Examples of IFrame


Examples of fr.soleil.comete.widget.IFrame

  /**
   * Main class, so you can have an example. You can put your own attribute names in parameter
   */
  public static void main(String[] args) {

    IFrame frame = CometeWidgetFactory.createFrame();

    String tmpDeviceName = null;
    String tmpAttributeName = null;
    if (args != null && args.length > 1) {
      tmpDeviceName = args[0];
      tmpAttributeName = args[1];
    }
    else {
      tmpDeviceName = "tango/tangotest/titan";
      tmpAttributeName = "boolean_scalar";
    }

    BooleanCheckbox widget = new BooleanCheckbox();
    widget.setSize(300, 300);
    widget.setDeviceName(tmpDeviceName);
    widget.setEntityName(tmpAttributeName);
    widget.setEnabled(true);
    widget.setStateEnabled(false);
    widget.setConfirmation(true);
    widget.initDAO();

    frame.setContentPane(widget);
    frame.setSize(640, 480);
    frame.setTitle(widget.getClass().getName());
    frame.setDefaultCloseOperation(IFrame.EXIT_ON_CLOSE);
    frame.setVisible(true);
  }
View Full Code Here

Examples of jfix.zk.Iframe

    caption.appendChild(newResizeButton("800x600", "800px", "600px"));
    caption.appendChild(newResizeButton("1024x768", "1024px", "768px"));
    caption.appendChild(newResizeButton("1280x1024", "1280px", "1024px"));
    appendChild(caption);

    appendChild(new Iframe(url
        + ((url.contains("?") ? "&" : "?") + System.currentTimeMillis())));

    resize(Sessions.get(VIEW_WIDTH, DEFAULT_SIZE),
        Sessions.get(VIEW_HEIGHT, DEFAULT_SIZE));
  }
View Full Code Here

Examples of net.flexmojos.oss.compiler.IFrame

        IRuntimeSharedLibraryPath runtimeCfg = mock( IRuntimeSharedLibraryPath.class, RETURNS_NULL );
        Map<String, String> urls = new LinkedHashMap<String, String>();
        urls.put( "http://a.com/rsls/MyLibrary.swf", "http://a.com/rsls/crossdomain.xml" );
        urls.put( "MyLibrary.swf", null );
        IFramesConfiguration frameCfg = mock( IFramesConfiguration.class, RETURNS_NULL );
        IFrame frame = mock( IFrame.class, RETURNS_NULL );
        INamespacesConfiguration namespacesCfg = mock( INamespacesConfiguration.class, RETURNS_NULL );
        INamespace namespace = mock( INamespace.class, RETURNS_NULL );
        INamespace namespace2 = mock( INamespace.class, RETURNS_NULL );
        IDefine define = mock( IDefine.class, RETURNS_NULL );

        when( cfg.getIncludeClasses() ).thenReturn( Arrays.asList( "AClass", "BClass" ) );
        when( cfg.getCompilerConfiguration() ).thenReturn( compilerCfg );
        when( cfg.getMetadataConfiguration() ).thenReturn( metadataCfg );
        when( compilerCfg.getAccessible() ).thenReturn( true );
        when( compilerCfg.getFontsConfiguration() ).thenReturn( fontCfg );
        when( fontCfg.getLanguagesConfiguration() ).thenReturn( langsCfg );
        when( langsCfg.getLanguageRange() ).thenReturn( new ILanguageRange[] { thaiLangRangeCfg, ptLangRangeCfg } );
        when( thaiLangRangeCfg.lang() ).thenReturn( "Thai" );
        when( thaiLangRangeCfg.range() ).thenReturn( "U+0E01-0E5B" );
        when( ptLangRangeCfg.lang() ).thenReturn( "ptBR" );
        when( ptLangRangeCfg.range() ).thenReturn( "U+0A0C-0EAA" );
        when( metadataCfg.getCreator() ).thenReturn( new String[] { "Marvin", "VELO", "Froeder" } );
        when( cfg.getRuntimeSharedLibraryPath() ).thenReturn( new IRuntimeSharedLibraryPath[] { runtimeCfg } );
        when( runtimeCfg.pathElement() ).thenReturn( "MyLibrary.swc" );
        when( runtimeCfg.rslUrl() ).thenReturn( urls );
        when( cfg.getFramesConfiguration() ).thenReturn( frameCfg );
        when( frameCfg.getFrame() ).thenReturn( new IFrame[] { frame } );
        when( frame.label() ).thenReturn( "my-frame" );
        when( frame.classname() ).thenReturn( new String[] { "org.package.1", "org.package.2" } );
        when( compilerCfg.getNamespacesConfiguration() ).thenReturn( namespacesCfg );
        when( namespacesCfg.getNamespace() ).thenReturn( new INamespace[] { namespace, namespace2 } );
        when( namespace.uri() ).thenReturn( "http://www.adobe.com/2006/mxml" );
        when( namespace.manifest() ).thenReturn( "mx-manifest.xml" );
        when( namespace2.uri() ).thenReturn( "library://ns.adobe.com/flex/spark" );
View Full Code Here

Examples of net.pms.newgui.IFrame

      discoverChildren();
    }

    setDefaultRenderer(RendererConfiguration.getDefaultConf());
    scan(this);
    IFrame frame = PMS.get().getFrame();
    frame.setScanLibraryEnabled(true);
    PMS.get().getDatabase().cleanup();
    frame.setStatusLine(null);
  }
View Full Code Here

Examples of org.jacoco.core.internal.flow.IFrame

        actual.getVisitor().visitLdcInsn("Probe " + id);
      }
    };
    instrumenter = new MethodInstrumenter(actual.getVisitor(),
        probeInserter);
    frame = new IFrame() {
      public void accept(MethodVisitor mv) {
        mv.visitFrame(Opcodes.F_FULL, 0, null, 0, null);
      }
    };
  }
View Full Code Here

Examples of org.zkoss.zul.Iframe

    setClosable(true);
    setHeight("100%");
    setWidth("80%");
    addEventListener("onClose", new OnCloseReportEventListener());

    iFrame = new Iframe();
    iFrame.setId("jasperReportId");
    iFrame.setWidth("100%");
    iFrame.setHeight("100%");
    iFrame.setContent(aMedia);
    iFrame.setParent(this);
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.