|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--com.ngMAT.Common.ngmObject | +--com.ngMAT.HTML.HTMLComponent | +--com.ngMAT.HTML.Table
This class represents TABLE tag of HTML. このクラスは、HTMLのTABLEタグをサポートする。
クラス com.ngMAT.HTML.HTMLComponent から継承したフィールド |
BR, df, END_TAG_CHAR, NullParamValue, params, subelements, TAG_CLOSE_CHAR, TAG_OPEN_CHAR |
インタフェース com.ngMAT.Common.ngmObjectFunction から継承したフィールド |
C_BACKSLASH, C_BLOCK_CLOSE, C_BLOCK_OPEN, C_COMMA, C_CR, C_DOUBLE_QUATATION, C_EQUAL, C_LF, C_SINGLE_QUATATION, C_SPACE, C_TAB, S_BACKSLASH, S_BLOCK_CLOSE, S_BLOCK_OPEN, S_COMMA, S_CR, S_CRLF, S_DOUBLE_QUATATION, S_EQUAL, S_LF, S_SINGLE_QUATATION, S_SPACE, S_TAB |
コンストラクタの概要 | |
Table(boolean requiresHeader,
int columncount)
standard constructor to create table object with a specified column count. |
|
Table(boolean requiresHeader,
int rowcount,
int columncount)
constructor to create table object with a specified pair of row count and column count. |
メソッドの概要 | |
void |
addRow()
adds a new row at the end of the table. |
void |
addRow(int rowcount)
adds a new row at the end of the table. |
HTMLComponentVector |
getAllRows()
get all rows. |
Cell |
getCellAt(int r,
int c)
get the specified cell. |
Row |
getFirstRow()
get the fiest row. |
Cell |
getHeaderCellAt(int c)
get the specified header cell. |
Row |
getHeaderRow()
get the header row. |
Row |
getLastRow()
get the last row. |
Row |
getRowAt(int r)
get the specified row. |
java.lang.String |
getTagName()
returns tag name. |
void |
setAlign(java.lang.String value)
|
void |
setBackground(java.lang.String value)
|
void |
setBGColor(java.lang.String value)
|
void |
setBorder(java.lang.String value)
|
void |
setBorderColor(java.lang.String value)
|
void |
setBorderColorDark(java.lang.String value)
|
void |
setBorderColorLight(java.lang.String value)
|
void |
setCellAt(int r,
int c,
HTMLComponent value)
set the HTMLComponent object at the specified cell. |
void |
setCellAt(int r,
int c,
java.lang.String value)
set the String value at the specified cell. |
void |
setCellPadding(java.lang.String value)
|
void |
setCellSpacing(java.lang.String value)
|
void |
setCols(java.lang.String value)
|
void |
setFrame(java.lang.String value)
|
void |
setHeaderCellAt(int c,
HTMLComponent value)
set the HTMLComponent object at the specified header cell. |
void |
setHeaderCellAt(int c,
java.lang.String value)
set the String value at the specified header cell. |
void |
setHeight(java.lang.String value)
|
void |
setHSpace(java.lang.String value)
|
void |
setRules(java.lang.String value)
|
void |
setVSpace(java.lang.String value)
|
void |
setWidth(java.lang.String value)
|
java.lang.String |
toHTML()
convert this object into an HTML string. |
クラス com.ngMAT.HTML.HTMLComponent から継承したメソッド |
clone, getParameter, getParameters, getSubElements, getVersion, setParameter, setParameters, setSubElement, setSubElement, setSubElements, toString |
クラス com.ngMAT.Common.ngmObject から継承したメソッド |
debug, debug, equals_n, getLog, getProperties, getProperty, setLog, setNgmObject, setProperties |
クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public Table(boolean requiresHeader, int rowcount, int columncount)
requiresHeader
- if the header row is required or not.
ヘッダ行を使用するか。rowcount
- number of rows at an initial state.
初期状態の行数。columncount
- number of columns at an initial state.
初期状態での列数。public Table(boolean requiresHeader, int columncount)
requiresHeader
- if the header row is required or not.
ヘッダ行を使用するか。columncount
- number of columns at an initial state.
初期状態での列数。メソッドの詳細 |
public void setCellAt(int r, int c, java.lang.String value)
r
- c
- value
- public void setCellAt(int r, int c, HTMLComponent value)
r
- c
- value
- public void setHeaderCellAt(int c, java.lang.String value)
c
- value
- public void setHeaderCellAt(int c, HTMLComponent value)
c
- value
- public void addRow(int rowcount)
rowcount
- public void addRow()
public Row getHeaderRow()
public Row getFirstRow()
public Row getLastRow()
public Row getRowAt(int r)
public HTMLComponentVector getAllRows()
public Cell getCellAt(int r, int c)
public Cell getHeaderCellAt(int c)
public void setAlign(java.lang.String value)
public void setBorder(java.lang.String value)
public void setWidth(java.lang.String value)
public void setHeight(java.lang.String value)
public void setCellSpacing(java.lang.String value)
public void setCellPadding(java.lang.String value)
public void setHSpace(java.lang.String value)
public void setVSpace(java.lang.String value)
public void setBGColor(java.lang.String value)
public void setBackground(java.lang.String value)
public void setBorderColor(java.lang.String value)
public void setBorderColorDark(java.lang.String value)
public void setBorderColorLight(java.lang.String value)
public void setFrame(java.lang.String value)
public void setRules(java.lang.String value)
public void setCols(java.lang.String value)
public java.lang.String getTagName()
HTMLComponent
の記述: HTMLComponent
内の getTagName
public java.lang.String toHTML()
HTMLComponent
内の toHTML
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |