Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdeveloper.webapp.utils.html
Class ImageUtils

java.lang.Object
  extended by oracle.jdeveloper.webapp.utils.html.ImageUtils

public class ImageUtils
extends java.lang.Object


Method Summary
static java.net.URL addImageToProject(java.net.URL imageURL, Context context)
          Adds an image URL to a project, prompting the user to move the document under the webroot if necessary.
static java.lang.Object[] getImageURL(Context context)
           
static java.lang.Object[] getImageURL(Context context, boolean htmlRelativization)
          Returns a relative image url and the acutal URL of the image in any object array.
static URLChooser getImageURLChooser(Context context)
           
static java.net.URL showImageDialog(Context context)
          Shows the image dialog, adding the url to the project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showImageDialog

public static java.net.URL showImageDialog(Context context)
                                    throws java.io.IOException
Shows the image dialog, adding the url to the project.

Throws:
java.io.IOException

addImageToProject

public static java.net.URL addImageToProject(java.net.URL imageURL,
                                             Context context)
Adds an image URL to a project, prompting the user to move the document under the webroot if necessary.


getImageURL

public static java.lang.Object[] getImageURL(Context context)
                                      throws java.io.IOException
Throws:
java.io.IOException

getImageURL

public static java.lang.Object[] getImageURL(Context context,
                                             boolean htmlRelativization)
                                      throws java.io.IOException
Returns a relative image url and the acutal URL of the image in any object array.

Parameters:
context -
Returns:
An object array containing a relative string and a URL
Throws:
java.io.IOException

getImageURLChooser

public static URLChooser getImageURLChooser(Context context)
Returns:
An URLChooser configured to open image URLs (gif, jpg, jpeg, and png).

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.