|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--oracle.html.IHtmlItemImpl | +--oracle.html.Item | +--oracle.html.Table
説明:
Tableクラスは、すべての(動的および固定の)Tableクラスの基礎を提供する抽象ベース・クラスです。
Tableオブジェクトのインスタンスを直接生成できないので注意してください。 HTMLで表を作成するには、DynamicTableオブジェクトまたはStaticTable(まだ実装されていません)オブジェクトのインスタンスを生成する必要があります。
使用方法:
このクラスは抽象クラスであるため、このクラスからオブジェクトのインスタンスを直接生成できません。
例:
To instantiate a Table object, either derive your own class from Table for instantiate from DynamicTable class (recommended).
DynamicTable
, TableRow
, TableRowCell
, TableDataCell
, TableHeaderCell
インタフェース oracle.html.IHAlignから継承したフィールド |
CENTER, LEFT, MAX, MIN, NONE, RIGHT, Str |
インタフェース oracle.html.ITableFrameから継承したフィールド |
ABOVE, BELOW, BORDER, BOX, HSIDES, LHS, RHS, Str, VOLD, VSIDES |
インタフェース oracle.html.ITableRulesから継承したフィールド |
ALL, BASIC, COLS, NONE, ROWS, Str |
コンストラクタの概要 | |
Table()
空のTableオブジェクトを作成します。 |
|
Table(java.lang.String caption, java.lang.String width, int border, int cellspacing, int cellpadding)
Netscape固有属性を使用して空のTableオブジェクトを作成します。 |
メソッドの概要 | |
java.lang.String |
backgroundColor()
オブジェクトのバックグラウンド・カラー(文字列表記)を返します。 |
java.lang.String |
backgroundImage()
バックグラウンド・イメージのURLを返します。 |
int |
border()
オブジェクトのBORDER属性を設定します。 |
java.lang.String |
borderColor()
テーブルの境界線のカラーを返します。 |
java.lang.String |
caption()
テーブルのキャプションを返します。 |
java.lang.String |
captionAlign()
テーブルのキャプションの位置揃えを返します。 |
int |
cellPadding()
オブジェクトのCELLPADDING属性を返します。 |
int |
cellspacing()
オブジェクトのCELLSPACING属性を返します。 |
java.lang.String |
endTag()
テーブルの終了タグを返します。 |
int |
frame()
オブジェクトのFRAME属性を返します。 |
int |
hAlign()
オブジェクトのHALIGN属性を返します。 |
int |
rules()
オブジェクトのRULES属性を返します。 |
Table |
setBackgroundColor(Color color)
テーブルのバックグラウンド・カラーを設定します。 |
Table |
setBackgroundColor(java.lang.String color)
テーブルのバックグラウンド・カラーを設定します。 |
Table |
setBackgroundImage(java.lang.String url)
テーブルのバックグラウンド・イメージを設定します。 |
Table |
setBorder(int border)
テーブルのBORDER属性を設定します。 |
Table |
setBorderColor(Color color)
テーブルの境界線のカラーを設定します。 |
Table |
setBorderColor(java.lang.String color)
テーブルの境界線のカラーを設定します。 |
Table |
setCaption(java.lang.String caption)
テーブルのCAPTION属性を設定します。 |
Table |
setCaption(java.lang.String caption, java.lang.String align)
テーブルのCAPTION属性を設定します。 |
Table |
setCellPadding(int cellpadding)
テーブルのCELLPADDING属性を設定します。 |
Table |
setCellSpacing(int cellspacing)
テーブルのCELLSPACING属性を設定します。 |
Table |
setFrame(int frame)
テーブルのFRAME属性を設定します。 |
Table |
setIHAlign(int ha)
テーブルのHALIGN属性を設定します。 |
Table |
setRules(int rules)
テーブルのRULES属性を設定します。 |
Table |
setWidth(java.lang.String width)
テーブルのWIDTH属性を設定します。 |
java.lang.String |
startTag()
テーブルの開始タグを返します。 |
java.lang.String |
width()
オブジェクトのWIDTH属性を返します。 |
クラス oracle.html.IHtmlItemImplから継承したメソッド |
print, print |
クラス java.lang.Objectから継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public Table(java.lang.String caption, java.lang.String width, int border, int cellspacing, int cellpadding)
public Table()
メソッドの詳細 |
public Table setCaption(java.lang.String caption)
public Table setCaption(java.lang.String caption, java.lang.String align)
caption
- Tableオブジェクトのキャプションalign
- キャプションの位置揃え(TOP/BOTTOM)public Table setBackgroundImage(java.lang.String url)
url
- バックグラウンド・イメージを指定するURLpublic Table setBackgroundColor(java.lang.String color)
color
- テーブルのバックグラウンド・カラーpublic Table setBackgroundColor(Color color)
color
- テーブルのバックグラウンド・カラーpublic Table setBorderColor(java.lang.String color)
public Table setBorderColor(Color color)
public Table setBorder(int border)
public Table setCellSpacing(int cellspacing)
public Table setCellPadding(int cellpadding)
public Table setWidth(java.lang.String width)
public Table setIHAlign(int ha)
public Table setFrame(int frame)
public Table setRules(int rules)
public java.lang.String caption()
public java.lang.String captionAlign()
public java.lang.String backgroundImage()
public java.lang.String backgroundColor()
public java.lang.String borderColor()
public int border()
public int cellspacing()
public int cellPadding()
public java.lang.String width()
public int hAlign()
public int frame()
public int rules()
public java.lang.String startTag()
public java.lang.String endTag()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |