com.extjs.gxt.ui.client.widget
クラス Html

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.extjs.gxt.ui.client.widget.Component
              extended by com.extjs.gxt.ui.client.widget.BoxComponent
                  extended by com.extjs.gxt.ui.client.widget.Html
すべての実装インターフェース:
Observable, com.google.gwt.user.client.EventListener

public class Html
extends BoxComponent

A component that contains arbitrary HTML text. The wrapping HTML tag can be configured using tagName.


入れ子クラス 概要
 
クラス com.google.gwt.user.client.ui.UIObject から継承された 入れ子クラス/インターフェース
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field 概要
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたフィールド(Fields)
DEBUG_ID_PREFIX
 
コンストラクタ 概要
Html()
          Creates a new instance.
Html(java.lang.String html)
          Creates a new instance with the given html.
 
メソッド 概要
 java.lang.String getHtml()
          Returns the component's HTML.
 java.lang.String getTagName()
           
 void setHtml(java.lang.String html)
          Sets the components HTML.
 void setTagName(java.lang.String tagName)
          The HTML tag name that will wrap the text (defaults to 'div').
 
クラス com.extjs.gxt.ui.client.widget.BoxComponent から継承されたメソッド
getBounds, getHeight, getHeight, getPosition, getShadow, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShim, setSize, setSize, setWidth, setWidth
 
クラス com.extjs.gxt.ui.client.widget.Component から継承されたメソッド
addListener, addStyleName, addWidgetListener, disable, disableEvents, disableTextSelection, el, enable, enableEvents, fireEvent, fireEvent, fireEvent, fly, focus, getBaseStyle, getBorders, getData, getData, getElement, getId, getItemId, getModel, getState, getToolTip, hide, hideToolTip, isEnabled, isRendered, isVisible, onBrowserEvent, onComponentEvent, recalculate, removeAllListeners, removeFromParent, removeListener, removeStyleName, removeWidgetListener, render, render, saveState, setBorders, setData, setData, setElement, setEnabled, setEnableState, setId, setIntStyleAttribute, setItemId, setStyleAttribute, setStyleName, setTitle, setToolTip, setToolTip, setVisible, show, toString
 
クラス com.google.gwt.user.client.ui.Widget から継承されたメソッド
getParent, isAttached
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたメソッド
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタ 詳細

Html

public Html()
Creates a new instance.


Html

public Html(java.lang.String html)
Creates a new instance with the given html.

パラメータ:
html - the html
メソッド 詳細

setHtml

public void setHtml(java.lang.String html)
Sets the components HTML.

パラメータ:
html - the html

getHtml

public java.lang.String getHtml()
Returns the component's HTML.

戻り値:
the html

setTagName

public void setTagName(java.lang.String tagName)
The HTML tag name that will wrap the text (defaults to 'div'). For inline behavior set the tag name to 'span'.

パラメータ:
tagName - the new tag name

getTagName

public java.lang.String getTagName()
戻り値:
the tagName