Examples of Caption


Examples of org.livesub.input.Caption

            Matcher matcher = pattern.matcher(line);
            if (matcher.matches()) {
                long startAt = (long) ((Long.parseLong(matcher.group(1)) / Utils.fps) * 1000);
                long endAt = (long) ((Long.parseLong(matcher.group(2)) / Utils.fps) * 1000);
                String text = matcher.group(4);
                Caption caption = new Caption(startAt, endAt);
                caption.setContents(text);
                caption.setNumericCounter(lineNumber);
                subs.put(caption, caption.getNumericCounter());
            }
            lineNumber++;
            try {
                line = br.readLine();
            } catch (IOException ex) {
View Full Code Here

Examples of org.zkoss.zul.Caption

    Linkbutton fullscreen = new Linkbutton(null, Images.ViewFullscreen);
    fullscreen.setHref(url);
    fullscreen.setTarget("_blank");

    Caption caption = new Caption();
    caption.appendChild(fullscreen);
    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())));
View Full Code Here

Examples of org.zkoss.zul.Caption

    setClosable(false);
  }

  public Groupbox(String caption, Component... components) {
    this();
    appendChild(new Caption(caption));
    for (Component comp : components) {
      appendChild(comp);
    }
  }
View Full Code Here

Examples of org.zkoss.zul.Caption

    final Groupbox gb = new Groupbox();
    gb.setMold("3d");
    gb.setContentStyle("padding: 2px");
    gb.setParent(panelchildren);

    final Caption caption = new Caption();
    caption.setImage("/images/icons/database_blue_16x16.gif");
    caption.setLabel("Demo-Data in PostgreSQL v9.0.2");
    caption.setStyle("color: #000000;font-weight:bold; text-align:left ");
    caption.setParent(gb);

    final Grid grid = new Grid();
    grid.setWidth("100%");
    // grid.setParent(panelchildren);
    grid.setParent(gb);
View Full Code Here

Examples of org.zkoss.zul.Caption

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("background-color: #EBEBEB;");

    final Caption caption = new Caption();
    caption.setParent(panel);
    caption.setImage("/images/icons/monitorView.gif");
    caption.setLabel("Application Statistic");
    caption.setStyle("color: #000000;font-weight:bold; text-align:left ");

    final Grid grid = new Grid();
    grid.setWidth("100%");
    grid.setParent(panelchildren);
View Full Code Here

Examples of org.zkoss.zul.Caption

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("background-color: #EBEBEB;");

    final Caption caption = new Caption();
    caption.setParent(panel);
    caption.setImage("/images/icons/advice_16x16.gif");
    caption.setLabel("Demo Customers");
    caption.setStyle("color: #000000;font-weight:bold; text-align:left ");

    final Grid grid = new Grid();
    grid.setWidth("100%");
    grid.setParent(panelchildren);
View Full Code Here

Examples of org.zkoss.zul.Caption

    final Panelchildren panelchildren = new Panelchildren();
    panelchildren.setParent(panel);
    panelchildren.setStyle("background-color: #EBEBEB;");

    final Caption caption = new Caption();
    caption.setParent(panel);
    caption.setImage("/images/icons/console_view.gif");
    caption.setLabel("Users online");
    caption.setStyle("color: #000000;font-weight:bold; text-align:left ");

    final Div div = new Div();
    div.setStyle("padding: 4px;");
    div.setWidth("100%");
    div.setHeight("100%");
View Full Code Here

Examples of org.zkoss.zul.Caption

    Panel pl = new Panel();
    pl.setBorder("normal");
    pl.setClosable(false);
    pl.setParent(win);
    Caption cap = new Caption();
    cap.setImage(iconPath);
    cap.setLabel(title);
    cap.setStyle("padding: 0px;");
    cap.setParent(pl);
    Panelchildren plc = new Panelchildren();
    plc.setParent(pl);

    // Buttons Toolbar/Timer
    Div div = new Div();
View Full Code Here

Examples of org.zkoss.zul.Caption

    Panel pl = new Panel();
    pl.setBorder("normal");
    pl.setClosable(false);
    pl.setParent(win);
    Caption cap = new Caption();
    cap.setImage(iconPath);
    cap.setLabel(title);
    cap.setStyle("padding: 0px;");
    cap.setParent(pl);
    Panelchildren plc = new Panelchildren();
    plc.setParent(pl);

    // body
    Borderlayout bl = new Borderlayout();
View Full Code Here

Examples of org.zkoss.zul.Caption

    Groupbox gb = new Groupbox();
    gb.setMold("3d");
    gb.setClosable(false);
    gb.setParent(win);
    Caption cap = new Caption();
    cap.setImage(iconPath);
    cap.setLabel(title);
    cap.setStyle("padding: 0px;");
    cap.setParent(gb);

    // body
    Borderlayout bl = new Borderlayout();
    bl.setHeight(getModulHeight() + "px");
    bl.setParent(gb);
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.