Examples of StyleSheetReference


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

public class TestYamlPage extends YamlPage {
  public static final String THE_TITLE = "theTitle";

  public TestYamlPage() {
    //Add my custom style sheets
    add( new StyleSheetReference( "basemodStyleSheet", new ResourceReference( TestYamlPage.class, "css/basemod.css" ) ) );
    add( new StyleSheetReference( "contentStyleSheet", new ResourceReference( TestYamlPage.class, "css/content.css" ) ) );

    //Add the navigation
    addOrReplace( new YamlNavigation( ID_NAVIGATION, new YamlNavigationLinksView( new ListDataProvider( getLinkProviders() ) ), new ResourceReference( TestYamlPage.class, "css/navigation.css" ) ) );
    //Add the footer
    addOrReplace( new YamlFooter( ID_FOOTER ) );
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

    super( id );

    if ( styleSheetReference == null ) {
      add( new EmptyPanel( WicketConstants.ID_STYLE_SHEET ) );
    } else {
      add( new StyleSheetReference( WicketConstants.ID_STYLE_SHEET, styleSheetReference ) );
    }

    WebMarkupContainer container = new WebMarkupContainer( NAVIGATION_UL );
    add( container );
    container.add( dataView );
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.