Package org.apache.myfaces.trinidadinternal.image

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


  public String getColorizedIconURI(
    UIXRenderingContext context,
    IconKey          iconKey
    )
  {
    ImageProviderResponse response = getColorizedIcon(context, iconKey);
   
    if (response != null)
    {
      return getCacheImageURI(context) + response.getImageURI();
    }
    else
    {
      return null;
    }
View Full Code Here


  protected final void renderContent(
    UIXRenderingContext context,
    UINode           node
    ) throws IOException
  {
    ImageProviderResponse response = _getImage(context, node);

    if (response != null)
      renderImageContent(context, node ,response);
    else
      renderAltContent(context, node);
View Full Code Here

    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)
    {
      Iterator<Object> inlineFontFamiliesIterator = inlineFontFamilies.iterator();
View Full Code Here

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

    // Make the request
    ImageProviderResponse response = provider.getImage(imageContext, request);

    // Log any problems
    if (response == null)
    {
      if (_LOG.isWarning())
View Full Code Here

  public static String getFlippedIconURI(
    UIXRenderingContext context,
    String           source
    )
  {
    ImageProviderResponse response = getFlippedIcon(context, source);

    if (response != null)
    {
      return LafIconProvider.getCacheImageURI(context) + response.getImageURI();
    }
    else
    {
      return null;
    }
View Full Code Here

    ImageProviderRequest request = new FlippedIconRequest(
                                  context,
                                  sourceURI);

    // Make the request
    ImageProviderResponse response = provider.getImage(imageContext, request);

    // Log any problems
    if (response == null)
    {
      if (_LOG.isWarning())
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidadinternal.image.ImageProviderResponse

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.