Package org.apache.wicket.markup.html.link

Examples of org.apache.wicket.markup.html.link.PopupSettings


      new int[] { 212, 79, 241, 4, 279, 54, 212, 79 },
      new BookmarkablePageLink("page3", Page3.class)).add(
      RelativePathPrefixHandler.RELATIVE_PATH_BEHAVIOR));

    // Popup example
    PopupSettings popupSettings = new PopupSettings(PageMap.forName("popuppagemap")).setHeight(
      500).setWidth(500);
    add(new BookmarkablePageLink("popupLink", Popup.class).setPopupSettings(popupSettings));

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE |
      PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
      "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
View Full Code Here


    add(new Label("exampleTitle", exampleTitle));
    BookmarkablePageLink<Void> link = new BookmarkablePageLink<Void>("sources",
      SourcesPage.class, SourcesPage.generatePageParameters(page));
    add(link);

    PopupSettings settings = new PopupSettings(PageMap.forName("sources"),
      PopupSettings.RESIZABLE);
    settings.setWidth(800);
    settings.setHeight(600);
    settings.setWindowName("sources");
    link.setPopupSettings(settings);
  }
View Full Code Here

        setResponsePage(new SourcesPage(getPage().getClass()));
      }
    };
    add(link);

    PopupSettings settings = new PopupSettings(PageMap.forName("sources"));
    settings.setWidth(800);
    settings.setHeight(600);
    settings.setWindowName("sources");
    link.setPopupSettings(settings);
  }
View Full Code Here

        new BookmarkablePageLink("page2", Page2.class)).addPolygonLink(
        new int[] { 212, 79, 241, 4, 279, 54, 212, 79 },
        new BookmarkablePageLink("page3", Page3.class)));

    // Popup example
    PopupSettings popupSettings = new PopupSettings(PageMap.forName("popuppagemap")).setHeight(
        500).setWidth(500);
    add(new BookmarkablePageLink("popupLink", Popup.class).setPopupSettings(popupSettings));

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE
        | PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
        "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
View Full Code Here

      new int[] { 212, 79, 241, 4, 279, 54, 212, 79 },
      new BookmarkablePageLink("page3", Page3.class)).add(
      RelativePathPrefixHandler.RELATIVE_PATH_BEHAVIOR));

    // Popup example
    PopupSettings popupSettings = new PopupSettings("popuppagemap").setHeight(500)
      .setWidth(500);
    add(new BookmarkablePageLink("popupLink", Popup.class).setPopupSettings(popupSettings));

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE |
      PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
      "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
View Full Code Here

    add(new Label("exampleTitle", exampleTitle));
    BookmarkablePageLink<Void> link = new BookmarkablePageLink<Void>("sources",
      SourcesPage.class, SourcesPage.generatePageParameters(page));
    add(link);

    PopupSettings settings = new PopupSettings("sources", PopupSettings.RESIZABLE);
    settings.setWidth(800);
    settings.setHeight(600);
    link.setPopupSettings(settings);
  }
View Full Code Here

        setResponsePage(new SourcesPage(getPage().getClass()));
      }
    };
    add(link);

    PopupSettings settings = new PopupSettings(PageMap.forName("sources"),
      PopupSettings.RESIZABLE);
    settings.setWidth(800);
    settings.setHeight(600);
    settings.setWindowName("sources");
    link.setPopupSettings(settings);
  }
View Full Code Here

        new int[] { 212, 79, 241, 4, 279, 54, 212, 79 },
        new BookmarkablePageLink("page3", Page3.class)).add(
        RelativePathPrefixHandler.RELATIVE_PATH_BEHAVIOR));

    // Popup example
    PopupSettings popupSettings = new PopupSettings(PageMap.forName("popuppagemap")).setHeight(
        500).setWidth(500);
    add(new BookmarkablePageLink("popupLink", Popup.class).setPopupSettings(popupSettings));

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class)
        .setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE |
        PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
        "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
View Full Code Here

    add(new Label("exampleTitle", exampleTitle));
    BookmarkablePageLink<Void> link = new BookmarkablePageLink<Void>("sources",
      SourcesPage.class, SourcesPage.generatePageParameters(page));
    add(link);

    PopupSettings settings = new PopupSettings("sources", PopupSettings.RESIZABLE);
    settings.setWidth(800);
    settings.setHeight(600);
    link.setPopupSettings(settings);
  }
View Full Code Here

      .addPolygonArea(new BookmarkablePageLink<Page3>("page3", Page3.class),
        new int[] { 212, 79, 241, 4, 279, 54, 212, 79 })
      .add(RelativePathPrefixHandler.RELATIVE_PATH_BEHAVIOR));

    // Popup example
    PopupSettings popupSettings = new PopupSettings("popuppagemap").setHeight(500)
      .setWidth(500);
    add(new BookmarkablePageLink<Void>("popupLink", Popup.class).setPopupSettings(popupSettings));

    // Popup example
    add(new BookmarkablePageLink<Void>("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE |
      PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
      "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.link.PopupSettings

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.