|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.util.ImageButtonBean
A simple JavaBean to encapsulate the request parameters sent for an HTML
input element of type image. Such an element causes two parameters to be
sent, one each for the X and Y coordinates of the button press. An instance
of this bean within an ActionForm can be used to capture these
and provide a simple means of detecting whether or not the corresponding
image was selected.
| フィールドの概要 | |
private java.lang.String |
x
The X coordinate of the button press. |
private java.lang.String |
y
The Y coordinate of the button press. |
| コンストラクタの概要 | |
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. |
|
| メソッドの概要 | |
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. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
private java.lang.String x
private java.lang.String y
| コンストラクタの詳細 |
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()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||