public class ImageButtonBean
extends java.lang.Object
implements java.io.Serializable
ActionForm
can be used to capture these
and provide a simple means of detecting whether or not the corresponding
image was selected.Constructor and Description |
---|
ImageButtonBean()
Construct an instance with empty property values.
|
ImageButtonBean(java.lang.String x,
java.lang.String y)
Construct an instance with the supplied property values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getX() |
java.lang.String |
getY() |
boolean |
isSelected()
A convenience method to determine whether or not the corresponding
image element was selected.
|
void |
setX(java.lang.String x) |
void |
setY(java.lang.String y) |
java.lang.String |
toString()
Return a string representation of this object.
|
public ImageButtonBean()
public ImageButtonBean(java.lang.String x, java.lang.String y)
x
- The X coordinate of the button press.y
- The Y coordinate of the button press.public java.lang.String getX()
public void setX(java.lang.String x)
public java.lang.String getY()
public void setY(java.lang.String y)
public boolean isSelected()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000–2021 Apache Software Foundation. All rights reserved.