public class Image extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone()
Method clone.
|
boolean |
equals(Object other)
Method equals.
|
String |
getAlt()
Get the alternative text to use.
|
String |
getHeight()
Get the height to use.
|
String |
getPosition()
Get where to place the image relative to the displayed name
(left or right).
|
String |
getSrc()
Get the source location.
|
String |
getStyle()
Get the style to use.
|
String |
getWidth()
Get the width to use.
|
int |
hashCode()
Method hashCode.
|
void |
setAlt(String alt)
Set the alternative text to use.
|
void |
setHeight(String height)
Set the height to use.
|
void |
setPosition(String position)
Set where to place the image relative to the displayed name
(left or right).
|
void |
setSrc(String src)
Set the source location.
|
void |
setStyle(String style)
Set the style to use.
|
void |
setWidth(String width)
Set the width to use.
|
String |
toString()
Method toString.
|
public boolean equals(Object other)
public String getAlt()
public String getHeight()
public String getPosition()
public String getSrc()
public String getStyle()
public String getWidth()
public void setAlt(String alt)
alt
- a alt object.public void setHeight(String height)
height
- a height object.public void setPosition(String position)
position
- a position object.public void setSrc(String src)
src
- a src object.public void setStyle(String style)
style
- a style object.public void setWidth(String width)
width
- a width object.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.