public class ImageButton extends Button
buttonType| Modifier and Type | Method and Description |
|---|---|
static ImageButton |
createButton(java.lang.String src,
int width,
int height,
int border,
java.lang.String alt) |
java.lang.String |
getAlt() |
int |
getBorder() |
int |
getHeight() |
java.lang.String |
getSrc() |
int |
getWidth() |
void |
setAlt(java.lang.String alt) |
void |
setBorder(int border) |
void |
setHeight(int height) |
void |
setSrc(java.lang.String src) |
void |
setWidth(int width) |
getButtonTypepublic static ImageButton createButton(java.lang.String src, int width, int height, int border, java.lang.String alt)
public java.lang.String getSrc()
public void setSrc(java.lang.String src)
src - the src to setpublic int getHeight()
public void setHeight(int height)
height - the height to setpublic int getWidth()
public void setWidth(int width)
width - the width to setpublic int getBorder()
public void setBorder(int border)
border - the border to setpublic java.lang.String getAlt()
public void setAlt(java.lang.String alt)
alt - the alt to setCopyright © 2018. All Rights Reserved.