Package org.apache.wicket.markup.html.resources

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


   *
   * @return a style
   */
  public final ResourceReference newStyleWin2k1()
  {
    return new CompressedResourceReference(DatePickerSettings.class,
        "style/calendar-win2k-1.css");
  }
View Full Code Here


   *
   * @return a style
   */
  public final ResourceReference newStyleWin2k2()
  {
    return new CompressedResourceReference(DatePickerSettings.class,
        "style/calendar-win2k-2.css");
  }
View Full Code Here

   *
   * @return a style
   */
  public final ResourceReference newStyleWin2kCold1()
  {
    return new CompressedResourceReference(DatePickerSettings.class,
        "style/calendar-win2k-cold-1.css");
  }
View Full Code Here

   *
   * @return a style
   */
  public final ResourceReference newStyleWin2kCold2()
  {
    return new CompressedResourceReference(DatePickerSettings.class,
        "style/calendar-win2k-cold-2.css");
  }
View Full Code Here

   *
   * @return a style
   */
  public final ResourceReference newStyleWinter()
  {
    return new CompressedResourceReference(DatePickerSettings.class, "style/calendar-blue.css");
  }
View Full Code Here

    // try to get the reference from our default mapping
    // first try the language and country
    String ref = localeToLanguageReference.get(currentLocale.toString());
    if (ref != null)
    {
      return new CompressedResourceReference(DatePickerSettings.class, ref);
    }
    // now try only the language
    ref = localeToLanguageReference.get(currentLocale.getLanguage());
    if (ref != null)
    {
      return new CompressedResourceReference(DatePickerSettings.class, ref);
    }

    // we didn't find a mapping; just return English
    return new CompressedResourceReference(DatePickerSettings.class, "lang/calendar-en.js");
  }
View Full Code Here

   *
   * @return a button icon.
   */
  public final ResourceReference newButtonIconBlue()
  {
    return new CompressedResourceReference(DatePickerSettings.class, "calendar_icon_3.gif");
  }
View Full Code Here

   *
   * @return a button icon.
   */
  public final ResourceReference newButtonIconPlain()
  {
    return new CompressedResourceReference(DatePickerSettings.class, "calendar_icon_2.gif");
  }
View Full Code Here

   *
   * @return a button icon.
   */
  public final ResourceReference newButtonIconRed()
  {
    return new CompressedResourceReference(DatePickerSettings.class, "calendar_icon_1.gif");
  }
View Full Code Here

   *
   * @return a style
   */
  public final ResourceReference newStyleAqua()
  {
    return new CompressedResourceReference(DatePickerSettings.class, "style/aqua/theme.css");
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.resources.CompressedResourceReference

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.