|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.win32.ie.event.NewWindowEventHandler.NewWindowAction
public static class NewWindowEventHandler.NewWindowAction
This class describes action to perform when user tries to open link in a new window.
Field Summary | |
---|---|
static int |
ACTION_CANCEL
Don't perform any actions. |
static int |
ACTION_CREATE
Web browser creates new window and loads page to the new window. |
static int |
ACTION_REPLACE_BROWSER
Web browser don't create new window but loads to page to the browser provided by user. |
Constructor Summary | |
---|---|
NewWindowEventHandler.NewWindowAction()
Creates new window action with type ACTION_CREATE . |
|
NewWindowEventHandler.NewWindowAction(int type)
Creates new window action. |
Method Summary | |
---|---|
WebBrowser |
getBrowser()
Returns browser object. |
int |
getType()
Returns type of action. |
void |
setBrowser(WebBrowser browser)
Sets browser objects. |
void |
setType(int type)
Sets type of action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int ACTION_CREATE
Note: In case of using this flag will be created a new native Internet Explorer instance in the separate iexplore.exe process. And in this case there is no WebBrowser instance will be created and passed to the NewWindowListener.windowOpened event.
public static int ACTION_CANCEL
public static int ACTION_REPLACE_BROWSER
setBrowser()
method.
Constructor Detail |
---|
public NewWindowEventHandler.NewWindowAction()
ACTION_CREATE
.
public NewWindowEventHandler.NewWindowAction(int type)
type
- type of action, one of ACTION_
constants.Method Detail |
---|
public int getType()
ACTION_
constantspublic void setType(int type)
type
- type of action, one of ACTION_
constantspublic WebBrowser getBrowser()
public void setBrowser(WebBrowser browser)
browser
- browser object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |