Codota Logo
StyleSheetReference.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.apache.wicket.markup.html.resources.StyleSheetReference
constructor

Best Java code snippets using org.apache.wicket.markup.html.resources.StyleSheetReference.<init> (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Can be overridden by clients for custom style sheet
 * 
 * @return the style sheet reference
 */
protected StyleSheetReference getStyleSheet()
{
  return new StyleSheetReference("paletteCSS", getClass(), "palette.css");
}
origin: eu.cedarsoft.wicket/basic-components

 public NavigationComponent( @NotNull @NonNls String id, @NotNull final LinksDataView dataView, @Nullable ResourceReference 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( ID_NAVIGATION_UL );
  add( container );
  container.add( dataView );
 }
}
origin: com.cedarsoft.wicket/basic-components

 public NavigationComponent( @Nonnull @NonNls String id, @Nonnull final LinksDataView<?> dataView, @Nullable ResourceReference 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 );

  //Adds the big reference
  container.add( new AbstractBehavior() {
   @Override
   public void onComponentTag( @Nonnull Component component, @Nonnull ComponentTag tag ) {
    if ( dataView.getRowCount() > 6 ) {
     tag.put( "id", "big" );
    } else {
     tag.put( "id", "small" );
    }
   }
  } );
 }
}
org.apache.wicket.markup.html.resourcesStyleSheetReference<init>

Javadoc

Construct.

Popular methods of StyleSheetReference

  • checkComponentTag

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now