oracle.html
クラス Table

java.lang.Object
  |
  +--oracle.html.IHtmlItemImpl
        |
        +--oracle.html.Item
              |
              +--oracle.html.Table
 
直接の既知のサブクラス:
DynamicTable

public abstract class Table
extends Item
implements IHAlign, ITableFrame, ITableRules

説明:

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.Itemから継承したフィールド
ATTR_ALGN_CENTER, ATTR_BIG, ATTR_BOLD, ATTR_CITATION, ATTR_CODE, ATTR_DEFINITION, ATTR_EMPHASIS, ATTR_FONT_BIG, ATTR_FONT_BOLD, ATTR_FONT_ITALIC, ATTR_FONT_SMALL, ATTR_FONT_STRIKE, ATTR_FONT_SUB, ATTR_FONT_SUPER, ATTR_FONT_TELETYPE, ATTR_FONT_UNDERLINE, ATTR_ITALIC, ATTR_KEYBOARD, ATTR_PHRASE_CITATION, ATTR_PHRASE_CODE, ATTR_PHRASE_DEFINITION, ATTR_PHRASE_EMPHASIS, ATTR_PHRASE_KEYBOARD, ATTR_PHRASE_SAMPLE, ATTR_PHRASE_STRONG, ATTR_PHRASE_VARIABLE, ATTR_SAMPLE, ATTR_SMALL, ATTR_STRIKE, ATTR_STRONG, ATTR_SUB, ATTR_SUPER, ATTR_TELETYPE, ATTR_UNDERLINE, ATTR_VARIABLE
 
インタフェース 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.Itemから継承したメソッド
clearAttr, setAttr, setAttr, setBold, setBold, setCenter, setCenter, setCite, setCite, setCode, setCode, setDefinition, setDefinition, setEmphasis, setEmphasis, setFontBig, setFontBig, setFontColor, setFontSize, setFontSmall, setFontSmall, setFontSubscript, setFontSubscript, setFontSuperscript, setFontSuperscript, setHeading, setItal, setItal, setKeyboard, setKeyboard, setSample, setSample, setStrike, setStrike, setStrongEmphasis, setStrongEmphasis, setStyleElement, setTeletype, setTeletype, setUnderline, setUnderline, setVariable, setVariable, toHTML, toString
 
クラス oracle.html.IHtmlItemImplから継承したメソッド
print, print
 
クラス java.lang.Objectから継承したメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Table

public Table(java.lang.String caption,
             java.lang.String width,
             int border,
             int cellspacing,
             int cellpadding) 
Netscape固有属性を使用して空のTableオブジェクトを作成します。

Table

public Table() 
空のTableオブジェクトを作成します。
メソッドの詳細

setCaption

public Table setCaption(java.lang.String caption) 
テーブルのCAPTION属性を設定します。

setCaption

public Table setCaption(java.lang.String caption,
                        java.lang.String align) 
テーブルのCAPTION属性を設定します。
パラメータ:
caption - Tableオブジェクトのキャプション
align - キャプションの位置揃え(TOP/BOTTOM)
戻り値:
this

setBackgroundImage

public Table setBackgroundImage(java.lang.String url) 
テーブルのバックグラウンド・イメージを設定します。
パラメータ:
url - バックグラウンド・イメージを指定するURL

setBackgroundColor

public Table setBackgroundColor(java.lang.String color) 
テーブルのバックグラウンド・カラーを設定します。
パラメータ:
color - テーブルのバックグラウンド・カラー

setBackgroundColor

public Table setBackgroundColor(Color color) 
テーブルのバックグラウンド・カラーを設定します。
パラメータ:
color - テーブルのバックグラウンド・カラー

setBorderColor

public Table setBorderColor(java.lang.String color) 
テーブルの境界線のカラーを設定します。

setBorderColor

public Table setBorderColor(Color color) 
テーブルの境界線のカラーを設定します。

setBorder

public Table setBorder(int border) 
テーブルのBORDER属性を設定します。

setCellSpacing

public Table setCellSpacing(int cellspacing) 
テーブルのCELLSPACING属性を設定します。

setCellPadding

public Table setCellPadding(int cellpadding) 
テーブルのCELLPADDING属性を設定します。

setWidth

public Table setWidth(java.lang.String width) 
テーブルのWIDTH属性を設定します。

setIHAlign

public Table setIHAlign(int ha) 
テーブルのHALIGN属性を設定します。

setFrame

public Table setFrame(int frame) 
テーブルのFRAME属性を設定します。

setRules

public Table setRules(int rules) 
テーブルのRULES属性を設定します。

caption

public java.lang.String caption() 
テーブルのキャプションを返します。

captionAlign

public java.lang.String captionAlign() 
テーブルのキャプションの位置揃えを返します。

backgroundImage

public java.lang.String backgroundImage() 
バックグラウンド・イメージのURLを返します。

backgroundColor

public java.lang.String backgroundColor() 
オブジェクトのバックグラウンド・カラー(文字列表記)を返します。

borderColor

public java.lang.String borderColor() 
テーブルの境界線のカラーを返します。

border

public int border() 
オブジェクトのBORDER属性を返します。

cellspacing

public int cellspacing() 
オブジェクトのCELLSPACING属性を返します。

cellPadding

public int cellPadding() 
オブジェクトのCELLPADDING属性を返します。

width

public java.lang.String width() 
オブジェクトのWIDTH属性を返します。

hAlign

public int hAlign() 
オブジェクトのHALIGN属性を返します。

frame

public int frame() 
オブジェクトのFRAME属性を返します。

rules

public int rules() 
オブジェクトのRULES属性を返します。

startTag

public java.lang.String startTag() 
テーブルの開始タグを返します。

endTag

public java.lang.String endTag() 
テーブルの終了タグを返します。