Examples of ImageContext


Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

  // Get the Style object which contains padding information
  // for this specific paint.
  private Style _getPaddingStyle(PaintContext context)
  {
    // First, get the StyleProvider from the context
    ImageContext imageContext = context.getImageContext();
    StyleContext styleContext = imageContext.getStyleContext();
    StyleProvider provider = styleContext.getStyleProvider();
    if (provider != null)
    {
      // Get the StyleMap
      StyleMap map = provider.getStyleMap(styleContext);
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

    MutableFontProxy font,
    Collection<Object> fontFamilies,
    Collection<Object> inlineFontFamilies
    )
  {
    ImageContext imageContext = context.getImageContext();
    ImageProviderResponse response = null;

    // First, loop through inline font families, if we've got any
    if (inlineFontFamilies != null)
    {
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

      return null;
    }

    // Get the context and request objects
    ImageContext imageContext = context.getImageContext();
    ImageProviderRequest request = _getIconRequest(context, iconKey);

    // Make the request
    ImageProviderResponse response = provider.getImage(imageContext, request);
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

    // Get the color for this request.  The color is either dark or
    // dark accent depending on whether the source icon uses core or
    // accent colors.
    Color color = null;
    ImageContext imageContext = context.getImageContext();

    if (isCoreColor)
      color = _getCoreColor(context);
    else
      color = _getAccentColor(context);
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

    {
      return null;
    }

    // Get the context and request objects
    ImageContext imageContext = context.getImageContext();
    ImageProviderRequest request = new FlippedIconRequest(
                                  context,
                                  sourceURI);

    // Make the request
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

      return null;
    }

    // Get the context and request objects
    ImageContext imageContext = context.getImageContext();
    ImageProviderRequest request = _getIconRequest(context, iconKey);

    // Make the request
    ImageProviderResponse response = provider.getImage(imageContext, request);
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

    // Get the color for this request.  The color is either dark or
    // dark accent depending on whether the source icon uses core or
    // accent colors.
    Color color = null;
    ImageContext imageContext = context.getImageContext();

    if (isCoreColor)
      color = _getCoreColor(context);
    else
      color = _getAccentColor(context);
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

    MutableFontProxy font,
    Collection<Object> fontFamilies,
    Collection<Object> inlineFontFamilies
    )
  {
    ImageContext imageContext = context.getImageContext();
    ImageProviderResponse response = null;

    // First, loop through inline font families, if we've got any
    if (inlineFontFamilies != null)
    {
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

    MutableFontProxy font,
    Collection<Object> fontFamilies,
    Collection<Object> inlineFontFamilies
    )
  {
    ImageContext imageContext = context.getImageContext();
    ImageProviderResponse response = null;

    // First, loop through inline font families, if we've got any
    if (inlineFontFamilies != null)
    {
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.ImageContext

    {
      return null;
    }

    // Get the context and request objects
    ImageContext imageContext = context.getImageContext();
    ImageProviderRequest request = new FlippedIconRequest(
                                  context,
                                  sourceURI);

    // Make the request
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.