Package org.xj3d.ui.awt.widgets
Class LoadURLAction
java.lang.Object
org.xj3d.ui.awt.widgets.LoadURLAction
- All Implemented Interfaces:
ActionListener,Runnable,EventListener
Simple utility class for processing scene loading requests from the
location bar.
- Version:
- $Revision: 1.2 $
- Author:
- Brad Vender
-
Constructor Summary
ConstructorsConstructorDescriptionLoadURLAction(FileHandler target, TextField source) Basic constructor using an AWT component.LoadURLAction(FileHandler target, JTextField source) Basic constructor using a swing component. -
Method Summary
Modifier and TypeMethodDescriptionvoidStarts a new loading thread.voidrun()Just gets the URL from the text field and calls loadURL
-
Constructor Details
-
LoadURLAction
Basic constructor using a swing component.- Parameters:
target- The panel to modifysource- The component from which URLs will be gotten
-
LoadURLAction
Basic constructor using an AWT component.- Parameters:
target- The panel to modifysource- The component from which URLs will be gotten
-
-
Method Details
-
actionPerformed
Starts a new loading thread.- Specified by:
actionPerformedin interfaceActionListener- Parameters:
e-- See Also:
-
run
-