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