Examples of StyleSheetReference


Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   *
   * @return the style sheet reference
   */
  protected StyleSheetReference getStyleSheet()
  {
    return new StyleSheetReference("paletteCSS", getClass(), "palette.css");
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   */
  public MockComponent3(String id)
  {
    super(id);

    add(new StyleSheetReference("stylesheet", MockComponent3.class, "mockStyleSheet3.css"));
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

  public PanelWithHeaderPart(String id)
  {
    super(id);

    add(new Label("body"));
    add(new StyleSheetReference("testlink", PanelWithHeaderPart.class, "test.css"));
    add(new JavaScriptReference("testscript", PanelWithHeaderPart.class, "test.js"));

  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   *
   * @return the style sheet reference
   */
  protected StyleSheetReference getStyleSheet()
  {
    return new StyleSheetReference("paletteCSS", getClass(), "palette.css");
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   *
   * @return the style sheet reference
   */
  protected StyleSheetReference getStyleSheet()
  {
    return new StyleSheetReference("paletteCSS", getClass(), "palette.css");
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

    super( parameters );
    //Page Title
    add( new Label( ID_PAGE_TITLE, new PropertyModel<YamlPage>( this, "pageTitle" ) ) );

    //Default style sheets
    add( new StyleSheetReference( "baseStyleSheet", new ResourceReference( YamlPage.class, "css/core/base.css" ) ) );
    add( new StyleSheetReference( "wicketYamlStyleSheet", new ResourceReference( YamlPage.class, "css/core/wicketyaml.css" ) ) );
    add( new StyleSheetReference( "ieHacksStyleSheet", new ResourceReference( YamlPage.class, "css/core/iehacks.css" ) ) );

    //Add the empty panels for footer, navigation and content
    add( new EmptyPanel( ID_NAVIGATION ) );
    add( new EmptyPanel( ID_FOOTER ) );
    add( new EmptyPanel( ID_COL1_CONTENT ) );
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   * Sets the layout style sheet
   *
   * @param styleSheetReference the style sheet reference for the layout
   */
  public void setLayoutStyleSheet( @Nonnull ResourceReference styleSheetReference ) {
    addOrReplace( new StyleSheetReference( ID_LAYOUT_STYLE_SHEET, styleSheetReference ) );
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

    if ( !link.getId().equals( "link" ) ) {
      throw new IllegalArgumentException( "Link must have ID \"link\"" );
    }

    add( new StyleSheetReference( WicketConstants.ID_STYLE_SHEET, SexyButton.class, "SexyButton.css" ) );
    add( link );
    link.add( new Label( "label", label ) );
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

*/
@FriendsOnly
public class AttachmentsComponent extends Panel {
  public AttachmentsComponent( @Nonnull @NonNls String id, @Nonnull List<? extends File> resourceFiles ) {
    super( id );
    add( new StyleSheetReference( WicketConstants.ID_STYLE_SHEET, AttachmentsComponent.class, "AttachmentsComponent.css" ) );
    add( new ListView<File>( "attachments", new ArrayList<File>( resourceFiles ) ) {
      @Override
      protected void populateItem( @Nonnull ListItem<File> item ) {
        final File file = item.getModelObject();
        DownloadLink link = new DownloadLink( "downloadLink", file );
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   *
   * @return the style sheet reference
   */
  protected StyleSheetReference getStyleSheet()
  {
    return new StyleSheetReference("paletteCSS", getClass(), "palette.css");
  }
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.