jp.hishidama.win32.mshtml
クラス IHTMLWindow

java.lang.Object
  上位を拡張 jp.hishidama.win32.com.ComPtr
      上位を拡張 jp.hishidama.win32.com.IUnknown
          上位を拡張 jp.hishidama.win32.com.IDispatch
              上位を拡張 jp.hishidama.win32.mshtml.IHTMLFramesCollection
                  上位を拡張 jp.hishidama.win32.mshtml.IHTMLWindow

public class IHTMLWindow
extends IHTMLFramesCollection

IHTMLWindow2〜3クラス.

HTMLウィンドウを扱うクラスです。

導入されたバージョン:
2007.10.22
バージョン:
2008.07.14
作成者:
ひしだま

メソッドの概要
 void alert(String message)
          警告ダイアログ表示.
 void blur()
           
 void close()
           
 boolean confirm(String message)
          確認ダイアログ表示.
 Variant execScript(String code, String language)
           
 void focus()
          フォーカス設定.
 String getDefaultStatus()
           
 IHTMLDocument getDocument()
          HTMLドキュメント取得.
 IHTMLDocument getDocument(boolean addChild)
          推奨されていません。  
 IDispatch getExternal()
           
 IDispatch getExternal(boolean addChild)
          推奨されていません。  
 IHTMLFramesCollection getFrames()
          フレーム取得.
 IHTMLFramesCollection getFrames(boolean addChild)
          推奨されていません。  
 IHTMLLocation getLocation()
           
 IHTMLLocation getLocation(boolean addChild)
          推奨されていません。  
 String getName()
           
 IUnknown getNewEnum()
           
 IUnknown getNewEnum(boolean addChild)
          推奨されていません。  
 Variant getOpener()
           
 IHTMLWindow getParent()
          親ウィンドウ取得.
 IHTMLWindow getParent(boolean addChild)
          推奨されていません。  
 int getScreenLeft()
           
 int getScreenTop()
           
 IHTMLWindow getSelf()
           
 IHTMLWindow getSelf(boolean addChild)
          推奨されていません。  
 String getStatus()
           
 IHTMLWindow getTop()
           
 IHTMLWindow getTop(boolean addChild)
          推奨されていません。  
 IHTMLWindow getWindow()
           
 IHTMLWindow getWindow(boolean addChild)
          推奨されていません。  
 boolean isClosed()
           
 void moveBy(int x, int y)
           
 void moveTo(int x, int y)
           
 void navigate(String url)
           
 IHTMLWindow open(String url, String name, String features, boolean replace)
           
 IHTMLWindow open(String url, String name, String features, boolean replace, boolean addChild)
          推奨されていません。  
 void print()
           
 Variant prompt(String message, String defstr)
          入力ダイアログ表示.
 void resizeBy(int x, int y)
           
 void resizeTo(int x, int y)
           
 void scroll(int x, int y)
           
 void scrollBy(int x, int y)
           
 void scrollTo(int x, int y)
           
 void setDefaultStatus(String status)
           
 void setName(String name)
           
 void setOpener(Variant opener)
           
 void setStatus(String status)
           
 
クラス jp.hishidama.win32.mshtml.IHTMLFramesCollection から継承されたメソッド
getLength, item, item
 
クラス 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
 

メソッドの詳細

getFrames

public IHTMLFramesCollection getFrames()
フレーム取得.

戻り値:
コレクション

getFrames

public IHTMLFramesCollection getFrames(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getFrames()

setDefaultStatus

public void setDefaultStatus(String status)

getDefaultStatus

public String getDefaultStatus()

setStatus

public void setStatus(String status)

getStatus

public String getStatus()

alert

public void alert(String message)
警告ダイアログ表示.

パラメータ:
message - メッセージ

confirm

public boolean confirm(String message)
確認ダイアログ表示.

パラメータ:
message - メッセージ.
戻り値:
戻り値

prompt

public Variant prompt(String message,
                      String defstr)
入力ダイアログ表示.

パラメータ:
message - メッセージ.
defstr - 初期値
戻り値:
入力値

getLocation

public IHTMLLocation getLocation()

getLocation

public IHTMLLocation getLocation(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getLocation()

close

public void close()

setOpener

public void setOpener(Variant opener)

getOpener

public Variant getOpener()

setName

public void setName(String name)

getName

public String getName()

getParent

public IHTMLWindow getParent()
親ウィンドウ取得.

戻り値:
HTMLウィンドウ

getParent

public IHTMLWindow getParent(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getParent()

open

public IHTMLWindow open(String url,
                        String name,
                        String features,
                        boolean replace)

open

public IHTMLWindow open(String url,
                        String name,
                        String features,
                        boolean replace,
                        boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), open(String, String, String, boolean)

getSelf

public IHTMLWindow getSelf()

getSelf

public IHTMLWindow getSelf(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getSelf()

getTop

public IHTMLWindow getTop()

getTop

public IHTMLWindow getTop(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getTop()

getWindow

public IHTMLWindow getWindow()

getWindow

public IHTMLWindow getWindow(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getWindow()

navigate

public void navigate(String url)

getDocument

public IHTMLDocument getDocument()
HTMLドキュメント取得.

戻り値:
HTMLドキュメント

getDocument

public IHTMLDocument getDocument(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getDocument()

getNewEnum

public IUnknown getNewEnum()

getNewEnum

public IUnknown getNewEnum(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getNewEnum()

focus

public void focus()
フォーカス設定.


isClosed

public boolean isClosed()

blur

public void blur()

scroll

public void scroll(int x,
                   int y)

execScript

public Variant execScript(String code,
                          String language)

scrollBy

public void scrollBy(int x,
                     int y)

scrollTo

public void scrollTo(int x,
                     int y)

moveTo

public void moveTo(int x,
                   int y)

moveBy

public void moveBy(int x,
                   int y)

resizeTo

public void resizeTo(int x,
                     int y)

resizeBy

public void resizeBy(int x,
                     int y)

getExternal

public IDispatch getExternal()

getExternal

public IDispatch getExternal(boolean addChild)
推奨されていません。 

関連項目:
ComPtr.disposeChild(), getExternal()

getScreenLeft

public int getScreenLeft()

getScreenTop

public int getScreenTop()

print

public void print()