| java.lang.Object nextapp.echo2.webcontainer.command.BrowserOpenWindowCommand
BrowserOpenWindowCommand | public class BrowserOpenWindowCommand implements Command(Code) | | A Web Application Container-specific Command to
open a new browser window displaying a specific URI.
This action may not be performed on a client if the client has
pop-up blocking enabled.
|
Constructor Summary | |
public | BrowserOpenWindowCommand(String uri, String name, String features) Creates a new BrowserOpenWindowCommand . | public | BrowserOpenWindowCommand(String uri, String name, String features, boolean replace) Creates a new BrowserOpenWindowCommand .
Parameters: uri - the target URI Parameters: name - the window name (may be null) Parameters: features - the 'features' string which will be used to configure thenew browser window (may be null) Parameters: replace - a flag indicating whether the new URI should replace theprevious URI in the window's history. |
Method Summary | |
public String | getFeatures() Returns the 'features' string which will be used to configure the
new browser window. | public String | getName() Returns the window name. | public String | getUri() Returns the target URI. | public boolean | isReplace() Determines if the new URI should replace the old one in the history. |
BrowserOpenWindowCommand | public BrowserOpenWindowCommand(String uri, String name, String features)(Code) | | Creates a new BrowserOpenWindowCommand .
Parameters: uri - the target URI Parameters: name - the window name (may be null) Parameters: features - the 'features' string which will be used to configure thenew browser window (may be null) |
BrowserOpenWindowCommand | public BrowserOpenWindowCommand(String uri, String name, String features, boolean replace)(Code) | | Creates a new BrowserOpenWindowCommand .
Parameters: uri - the target URI Parameters: name - the window name (may be null) Parameters: features - the 'features' string which will be used to configure thenew browser window (may be null) Parameters: replace - a flag indicating whether the new URI should replace theprevious URI in the window's history. This flag is only relevantwhen using this command to replace a browser window. |
getFeatures | public String getFeatures()(Code) | | Returns the 'features' string which will be used to configure the
new browser window.
features the 'features' string |
getName | public String getName()(Code) | | Returns the window name.
the window name |
getUri | public String getUri()(Code) | | Returns the target URI.
the target URI |
isReplace | public boolean isReplace()(Code) | | Determines if the new URI should replace the old one in the history.
true if the new URI should replace the old one in the history |
|
|