com.ngMAT.HTML
クラス HTMLComponent

java.lang.Object
  |
  +--com.ngMAT.Common.ngmObject
        |
        +--com.ngMAT.HTML.HTMLComponent
すべての実装インタフェース:
java.lang.Cloneable, ngmObjectFunction, java.io.Serializable
直系の既知のサブクラス:
Anchor, Body, Cell, Font, Form, Header, Hr, HTMLComponentVector, HTMLString, HTMLTemplate, Image, com.ngMAT.HTML.form.Input, InsertionTag, Option, Row, Select, Table, TextArea

public abstract class HTMLComponent
extends ngmObject

abstract class all HTML Components should inherit. すべてのHTML部品クラスの継承元となる抽象クラス。

導入されたバージョン:
JDK1.1.8
関連項目:
直列化された形式

フィールドの概要
static java.lang.String BR
          BR tag.
protected static java.text.DecimalFormat df
           
static java.lang.String END_TAG_CHAR
           
protected static java.lang.String NullParamValue
           
protected  CoolProperties params
          parameteres inside this component's tag.
protected  java.util.Vector subelements
          subelements between this component's tag and its end tag.
static java.lang.String TAG_CLOSE_CHAR
           
static java.lang.String 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
 
コンストラクタの概要
HTMLComponent()
          default constructor
HTMLComponent(HTMLComponent value)
          standard constructor
HTMLComponent(java.lang.String value)
          standard constructor
 
メソッドの概要
 java.lang.Object clone()
           
 java.lang.String getParameter(java.lang.String name)
          returns the specified parameter value for this component.
 java.util.Properties getParameters()
          returns all parameters for this component.
 java.util.Vector getSubElements()
          returns vector which contains all subelements for this component.
abstract  java.lang.String getTagName()
          returns tag name.
 java.lang.String getVersion()
           
 void setParameter(java.lang.String name, java.lang.String value)
          sets the specified parameter for this component.
 void setParameters(java.util.Properties p)
          sets all parameter value for this component.
 void setSubElement(HTMLComponent obj)
          sets a sub-element object to a list.
 void setSubElement(java.lang.String string)
          sets a sub-element object to a list.
 void setSubElements(java.util.Vector se)
          sets all subelements for this component.
 java.lang.String toHTML()
          converts this object into HTML tagged string.
 java.lang.String 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
 

フィールドの詳細

TAG_OPEN_CHAR

public static final java.lang.String TAG_OPEN_CHAR

TAG_CLOSE_CHAR

public static final java.lang.String TAG_CLOSE_CHAR

END_TAG_CHAR

public static final java.lang.String END_TAG_CHAR

BR

public static final java.lang.String BR
BR tag. BRタグっす。

df

protected static java.text.DecimalFormat df

params

protected CoolProperties params
parameteres inside this component's tag.

NullParamValue

protected static java.lang.String NullParamValue

subelements

protected java.util.Vector subelements
subelements between this component's tag and its end tag.
コンストラクタの詳細

HTMLComponent

public HTMLComponent()
default constructor

HTMLComponent

public HTMLComponent(java.lang.String value)
standard constructor
パラメータ:
value -  

HTMLComponent

public HTMLComponent(HTMLComponent value)
standard constructor
パラメータ:
value -  
メソッドの詳細

getVersion

public java.lang.String getVersion()

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
sets the specified parameter for this component.

setParameters

public void setParameters(java.util.Properties p)
sets all parameter value for this component.

getParameter

public java.lang.String getParameter(java.lang.String name)
returns the specified parameter value for this component.

getParameters

public java.util.Properties getParameters()
returns all parameters for this component.

setSubElement

public void setSubElement(HTMLComponent obj)
sets a sub-element object to a list.

setSubElement

public void setSubElement(java.lang.String string)
sets a sub-element object to a list.

setSubElements

public void setSubElements(java.util.Vector se)
sets all subelements for this component.

getSubElements

public java.util.Vector getSubElements()
returns vector which contains all subelements for this component.

getTagName

public abstract java.lang.String getTagName()
returns tag name. This must be implemented in sub classes.

toHTML

public java.lang.String toHTML()
converts this object into HTML tagged string.

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString

clone

public java.lang.Object clone()
オーバーライド:
クラス ngmObject 内の clone


バグや機能要求の報告
最新の情報
Copyright 2000 - ngMAT Corporation