com.bankframe.fe.wml
Class Image
java.lang.Object
com.bankframe.fe.wml.WMLWidget
com.bankframe.fe.wml.Image
public class Image
- extends WMLWidget
This class implements the WML Image widget.
Method Summary |
String |
toWML()
This method returns a WML representation of this widget. |
Image
public Image(String imageName)
- Constructor.
- Parameters:
imageName
- the URL of image
Image
public Image(String imageName,
String alt)
- Constructor.
- Parameters:
imageName
- the URL of imagealt
- the alternative text to display if the image url cannot be displayed
toWML
public 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.