edu.stanford.hci.r3.actions.types
Class OpenURL2Action
java.lang.Object
edu.stanford.hci.r3.actions.types.OpenURL2Action
- All Implemented Interfaces:
- R3Action
public class OpenURL2Action
- extends java.lang.Object
- implements R3Action
Uses BrowserLauncher to launch a URL. Use this if the other OpenURLAction does not work (quickly)
for you.
This software is distributed under the BSD License.
Field Summary |
static java.lang.String |
FIREFOX
Choose a specific browser using these strings. |
static java.lang.String |
IE
|
Constructor Summary |
OpenURL2Action(java.net.URL theURL)
|
OpenURL2Action(java.net.URL theURL,
java.lang.String targetBrowser)
This one works the best on my desktop machine. |
Method Summary |
void |
invoke()
Invoke this action on the local machine. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIREFOX
public static final java.lang.String FIREFOX
- Choose a specific browser using these strings.
- See Also:
- Constant Field Values
IE
public static final java.lang.String IE
- See Also:
- Constant Field Values
OpenURL2Action
public OpenURL2Action(java.net.URL theURL)
- Parameters:
theURL
-
OpenURL2Action
public OpenURL2Action(java.net.URL theURL,
java.lang.String targetBrowser)
- This one works the best on my desktop machine. I have no idea why...
- Parameters:
theURL
- targetBrowser
-
invoke
public void invoke()
- Description copied from interface:
R3Action
- Invoke this action on the local machine. If you want to invoke this on a remote machine, you
will need to send it across the wire. That machine will then unserialize the action object
and call invoke() on ITS local machine.
- Specified by:
invoke
in interface R3Action