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

   *
   * @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

   *
   * @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 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

   *
   * @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

*/
@FriendsOnly
public class AttachmentsComponent extends Panel {
  public AttachmentsComponent( @NotNull @NonNls String id, @NotNull 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( @NotNull 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

    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( @NotNull @NonNls String id, @NotNull 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( @NotNull 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

    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
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.