org.apache.struts.util
public class ImageButtonBean extends Object implements Serializable
ActionForm
can be used to capture these
and provide a simple means of detecting whether or not the corresponding
image was selected.
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
String | x
The X coordinate of the button press. |
String | y
The Y coordinate of the button press. |
Constructor Summary | |
---|---|
ImageButtonBean()
Construct an instance with empty property values. | |
ImageButtonBean(String x, String y)
Construct an instance with the supplied property values.
|
Method Summary | |
---|---|
String | getX() |
String | getY() |
boolean | isSelected()
A convenience method to determine whether or not the corresponding image
element was selected. |
void | setX(String x) |
void | setY(String y) |
String | toString()
Return a string representation of this object. |
Parameters: x The X coordinate of the button press. y The Y coordinate of the button press.