net.authorize.sim.button
Class ImageButton

java.lang.Object
  extended by net.authorize.sim.button.Button
      extended by net.authorize.sim.button.ImageButton

public class ImageButton
extends Button


Field Summary
 
Fields inherited from class net.authorize.sim.button.Button
buttonType
 
Method Summary
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)
           
 
Methods inherited from class net.authorize.sim.button.Button
getButtonType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createButton

public static ImageButton createButton(String src,
                                       int width,
                                       int height,
                                       int border,
                                       String alt)

getSrc

public String getSrc()
Returns:
the src

setSrc

public void setSrc(String src)
Parameters:
src - the src to set

getHeight

public int getHeight()
Returns:
the height

setHeight

public void setHeight(int height)
Parameters:
height - the height to set

getWidth

public int getWidth()
Returns:
the width

setWidth

public void setWidth(int width)
Parameters:
width - the width to set

getBorder

public int getBorder()
Returns:
the border

setBorder

public void setBorder(int border)
Parameters:
border - the border to set

getAlt

public String getAlt()
Returns:
the alt

setAlt

public void setAlt(String alt)
Parameters:
alt - the alt to set


Copyright © 2014. All Rights Reserved.