Package org.apache.myfaces.trinidad.style

Examples of org.apache.myfaces.trinidad.style.Styles


      _getStyleContextResolvedSkinProperties(styleNodes);

    // Create a new entry and cache it in the "normal" cache. The "normal" cache is one
    // where the key is the Key object which is built based on information from the StyleContext,
    // like browser, agent, locale, direction.
    Styles styles = new StylesImpl(namespacePrefixes, _STYLE_KEY_MAP,
                                   shortStyleClassMap,  _isCompressStyles(context), resolvedSelectorStyleMap);
    Entry entry = new Entry(uris, styles, icons, skinProperties);
    cache.put(key, entry);

    // Also, cache the new entry in the entry cache
View Full Code Here


      _getStyleContextResolvedSkinProperties(styleNodes);

    // Create a new entry and cache it in the "normal" cache. The "normal" cache is one
    // where the key is the Key object which is built based on information from the StyleContext,
    // like browser, agent, locale, direction.
    Styles styles = new StylesImpl(namespacePrefixes, _STYLE_KEY_MAP,
                                   shortStyleClassMap,  _isCompressStyles(context), resolvedSelectorStyleMap);
    Entry entry = new Entry(uris, styles, icons, skinProperties);
    cache.put(key, entry);

    // Also, cache the new entry in the entry cache
View Full Code Here

      _getStyleContextResolvedSkinProperties(context, document);

    // Create a new entry and cache it in the "normal" cache. The "normal" cache is one
    // where the key is the Key object which is built based on information from the StyleContext,
    // like browser, agent, locale, direction.
    Styles styles = new StylesImpl(styleNodes, namespacePrefixes, _STYLE_KEY_MAP,
                                   shortStyleClassMap,  _isCompressStyles(context));
    Entry entry = new Entry(uris, styles, icons, skinProperties);
    cache.put(key, entry);

    // Also, cache the new entry in the entry cache
View Full Code Here

      _getStyleContextResolvedSkinProperties(context, document);

    // Create a new entry and cache it in the "normal" cache. The "normal" cache is one
    // where the key is the Key object which is built based on information from the StyleContext,
    // like browser, agent, locale, direction.
    Styles styles = new StylesImpl(styleNodes, namespacePrefixes, _STYLE_KEY_MAP,
                                   shortStyleClassMap,  _isCompressStyles(context));
    Entry entry = new Entry(uris, styles, icons, skinProperties);
    cache.put(key, entry);

    // Also, cache the new entry in the entry cache
View Full Code Here

    Object           className
    )
  {
    if (className != null)
    {
      Styles styles = context.getStyleContext().getStyles();
      if (styles != null)
      {
        Map<Selector, Style> map = styles.getSelectorStyleMap();
        if (map != null)
          return (CoreStyle)map.get(Selector.createSelector(className.toString()));
      }
    }
View Full Code Here

    // Check the af|menuTabs::separator style to see whether a non-zero width
    // is defined
    boolean doRenderSep = false;

    Styles styles = context.getStyleContext().getStyles();
    if (styles != null)
    {
      Style style = styles.getSelectorStyleMap().get(AF_MENU_TABS_SEPARATOR_STYLE_CLASS);

      if (style != null)
      {
        String width = style.getProperties().get("width");
View Full Code Here

      _getStyleContextResolvedSkinProperties(styleNodes);

    // Create a new entry and cache it in the "normal" cache. The "normal" cache is one
    // where the key is the Key object which is built based on information from the StyleContext,
    // like browser, agent, locale, direction.
    Styles styles = new StylesImpl(namespacePrefixes, _STYLE_KEY_MAP,
                                   shortStyleClassMap,  _isCompressStyles(context), resolvedSelectorStyleMap);
    Entry entry = new Entry(uris, styles, icons, skinProperties);
    cache.put(key, entry);

    // Also, cache the new entry in the entry cache
View Full Code Here

    Object           className
    )
  {
    if (className != null)
    {
      Styles styles = context.getStyleContext().getStyles();
      if (styles != null)
      {
        Map<Selector, Style> map = styles.getSelectorStyleMap();
        if (map != null)
          return (CoreStyle)map.get(Selector.createSelector(className.toString()));
      }
    }
View Full Code Here

      _getStyleContextResolvedSkinProperties(context, document);

    // Create a new entry and cache it in the "normal" cache. The "normal" cache is one
    // where the key is the Key object which is built based on information from the StyleContext,
    // like browser, agent, locale, direction.
    Styles styles = new StylesImpl(styleNodes, namespacePrefixes, _STYLE_KEY_MAP,
                                   shortStyleClassMap,  _isCompressStyles(context));
    Entry entry = new Entry(uris, styles, icons, skinProperties);
    cache.put(key, entry);

    // Also, cache the new entry in the entry cache
View Full Code Here

    Object           className
    )
  {
    if (className != null)
    {
      Styles styles = context.getStyleContext().getStyles();
      if (styles != null)
      {
        Map<Selector, Style> map = styles.getSelectorStyleMap();
        if (map != null)
          return (CoreStyle)map.get(Selector.createSelector(className.toString()));
      }
    }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidad.style.Styles

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.