com.bankframe.fe.wml
Class Image

java.lang.Object
  extended bycom.bankframe.fe.wml.WMLWidget
      extended bycom.bankframe.fe.wml.Image

public class Image
extends WMLWidget

This class implements the WML Image widget.


Constructor Summary
Image(java.lang.String imageName)
          Constructor.
Image(java.lang.String imageName, java.lang.String alt)
          Constructor.
 
Method Summary
 java.lang.String toWML()
          This method returns a WML representation of this widget.
 
Methods inherited from class com.bankframe.fe.wml.WMLWidget
quote, quote, replaceSpacesWithUnderscores
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image(java.lang.String imageName)
Constructor.

Parameters:
imageName - the URL of image

Image

public Image(java.lang.String imageName,
             java.lang.String alt)
Constructor.

Parameters:
imageName - the URL of image
alt - the alternative text to display if the image url cannot be displayed
Method Detail

toWML

public java.lang.String toWML()
This method returns a WML representation of this widget.

Specified by:
toWML in class WMLWidget
Returns:
a string containing WML markup


Copyright © 2005, 2007, Oracle. All rights reserved.