|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.hizlab.kagetaka.token.Attribute
net.hizlab.kagetaka.token.form.InputAttribute
INPUT の属性を表すクラスです。
| フィールドの概要 |
| クラス net.hizlab.kagetaka.token.Attribute から継承したフィールド |
columnNumber, document, lineNumber, reporter |
| コンストラクタの概要 | |
protected |
InputAttribute(Document document,
Reporter reporter,
int line,
int column)
INPUT の属性をデフォルト値で作成します。 |
| メソッドの概要 | |
String |
getAccept()
受け付ける MIME タイプを返します。 |
String |
getAccesskey()
アクセスキーを返します。 |
int |
getAlign()
位置揃えを返します。 |
String |
getAlt()
代替文字を返します。 |
boolean |
getChecked()
チェック済みかを返します。 |
boolean |
getDisabled()
無効かを返します。 |
Integer |
getMaxlength()
最大サイズを返します。 |
String |
getName()
名前を返します。 |
boolean |
getReadonly()
読み込み専用かを返します。 |
Integer |
getSize()
サイズを返します。 |
String |
getSrc()
ソースを返します。 |
Integer |
getTabindex()
タブインデックスを返します。 |
String |
getType()
タイプを返します。 |
String |
getValue()
値を返します。 |
boolean |
setAttribute(String key,
String value)
指定された属性名と属性値で、属性を設定します。 属性名が存在する場合は true を、
存在しない場合は false を返します。
渡される key は、必ず小文字に変換されています。 |
| クラス net.hizlab.kagetaka.token.Attribute から継承したメソッド |
getBaseClass, getBaseId, getBaseTitle, getStyle, reportMessage, setBaseAttribute |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
protected InputAttribute(Document document,
Reporter reporter,
int line,
int column)
document - ドキュメント情報reporter - エラーレポータline - 行番号 (1 から)、
特定できない場合は 0column - カラム位置 (1 から)、
特定できない場合は 0| メソッドの詳細 |
public String getAccept()
nullpublic String getAccesskey()
nullpublic int getAlign()
nullpublic String getAlt()
nullpublic boolean getChecked()
falsepublic boolean getDisabled()
falsepublic Integer getMaxlength()
nullpublic String getName()
nullpublic boolean getReadonly()
falsepublic Integer getSize()
nullpublic String getSrc()
nullpublic Integer getTabindex()
nullpublic String getType()
nullpublic String getValue()
null
public boolean setAttribute(String key,
String value)
throws IllegalArgumentException
true を、
存在しない場合は false を返します。
渡される key は、必ず小文字に変換されています。
Attribute 内の setAttributekey - 属性名value - 属性値
true、
それ以外の場合は false
IllegalArgumentException
|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright (c) 2002-2003 The Kagetaka Project 'December 16, 2003'