|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.hishidama.win32.com.ComPtr
jp.hishidama.win32.com.IUnknown
jp.hishidama.win32.com.IDispatch
jp.hishidama.win32.mshtml.IHTMLDocument
public class IHTMLDocument
IHTMLDocument2〜4クラス.
HTMLドキュメントを扱うクラスです。
クラス jp.hishidama.win32.com.IDispatch から継承されたメソッド |
---|
getIDOfName, getTypeInfo, getTypeInfo, getTypeInfoCount, getTypeName |
クラス jp.hishidama.win32.com.ComPtr から継承されたメソッド |
---|
dispose, dispose, dispose, dispose, dispose, dispose, dispose, disposeChild |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public IDispatch getScript()
public IHTMLElementCollection getAll()
public IHTMLElementCollection getAll(boolean addChild)
ComPtr.disposeChild()
,
getAll()
public IHTMLElement getBody()
public IHTMLElement getBody(boolean addChild)
ComPtr.disposeChild()
,
getBody()
public IHTMLElement getActiveElement()
public IHTMLElement getActiveElement(boolean addChild)
ComPtr.disposeChild()
,
getActiveElement()
public IHTMLElementCollection getImages()
public IHTMLElementCollection getImages(boolean addChild)
ComPtr.disposeChild()
,
getImages()
public IHTMLElementCollection getLinks()
public IHTMLElementCollection getLinks(boolean addChild)
ComPtr.disposeChild()
,
getLinks()
public IHTMLElementCollection getForms()
public IHTMLElementCollection getForms(boolean addChild)
ComPtr.disposeChild()
,
getForms()
public IHTMLElementCollection getAnchors()
public IHTMLElementCollection getAnchors(boolean addChild)
ComPtr.disposeChild()
,
getAnchors()
public void setTitle(String title)
title
- タイトルpublic String getTitle()
public String getReadyState()
public IHTMLFramesCollection getFrames()
public IHTMLFramesCollection getFrames(boolean addChild)
ComPtr.disposeChild()
,
getFrames()
public void setAlinkColor(Variant color)
public Variant getAlinkColor()
public void setBgColor(Variant color)
public Variant getBgColor()
public void setFgColor(Variant color)
public Variant getFgColor()
public void setLinkColor(Variant color)
public Variant getLinkColor()
public void setVlinkColor(Variant color)
public Variant getVlinkColor()
public String getReferrer()
public IHTMLLocation getLocation()
public IHTMLLocation getLocation(boolean addChild)
ComPtr.disposeChild()
,
getLocation()
public String getLastModified()
public void setUrl(String url)
url
- URLpublic String getUrl()
public void setDomain(String domain)
domain
- ドメインpublic String getDomain()
public void setCookie(String cookie)
cookie
- クッキーpublic String getCookie()
public void setCharset(String charset)
charset
- キャラセットpublic String getCharset()
public void setDefaultCharset(String charset)
charset
- キャラセットpublic String getDefaultCharset()
public String getMimeType()
public int getFileSize()
public String getFileCreatedDate()
public String getFileModifiedDate()
public String getFileUpdatedDate()
public String getSecurity()
public String getProtocol()
public String getNameProp()
public void write(String html)
html
- HTMLpublic void writeln(String html)
html
- HTMLpublic IDispatch open(String url, Variant name, Variant features, Variant replace)
public void close()
public void clear()
public boolean queryCommandSupported(String cmdID)
public boolean queryCommandEnabled(String cmdID)
public boolean queryCommandState(String cmdID)
public boolean queryCommandIndeterm(String cmdID)
public String queryCommandText(String cmdID)
public Variant queryCommandValue(String cmdID)
public boolean execCommand(String cmdID, boolean showUI, Variant value)
public IHTMLElement create(String tagName)
public IHTMLElement create(String tagName, boolean addChild)
ComPtr.disposeChild()
,
create(String)
public IHTMLElement elementFromPoint(int x, int y)
x
- Xy
- Y
public IHTMLElement elementFromPoint(int x, int y, boolean addChild)
ComPtr.disposeChild()
,
create(String)
public IHTMLWindow getParentWindow()
public IHTMLWindow getParentWindow(boolean addChild)
ComPtr.disposeChild()
,
getParentWindow()
public void setBaseUrl(String url)
url
- URLpublic String getBaseUrl()
public IHTMLElement getElementById(String id)
id
- ID
public IHTMLElement getElementById(String id, boolean addChild)
ComPtr.disposeChild()
,
getElementById(String)
public IHTMLElementCollection getElementsByName(String name)
name
- 名称
public IHTMLElementCollection getElementsByName(String name, boolean addChild)
ComPtr.disposeChild()
,
getElementsByName(String)
public IHTMLElement getElementByName(String name)
複数の名前がある場合、先頭の1つを返す。
name
- 名称
public IHTMLElement getElementByName(String name, boolean addChild)
ComPtr.disposeChild()
,
getElementByName(String)
public IHTMLElementCollection getElementsByTagName(String name)
name
- タグ名
public IHTMLElementCollection getElementsByTagName(String name, boolean addChild)
ComPtr.disposeChild()
,
getElementsByTagName(String)
public void focus()
public boolean hasFocus()
public IHTMLDocument createDocumentFromUrl(String url, String options)
url
- URLoptions
- オプション
public IHTMLDocument createDocumentFromUrl(String url, String options, boolean addChild)
ComPtr.disposeChild()
,
createDocumentFromUrl(String, String)
public IWebBrowser getWebBrowser()
public IWebBrowser getWebBrowser(boolean addChild)
ComPtr.disposeChild()
,
getWebBrowser()
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |