org.openscience.jmol.app.webexport

Class WebExport

public class WebExport extends JPanel implements WindowListener

Field Summary
static HistoryFilehistoryFile
static intIN_JMOL
static StringlocalAppletPath
static StringpageAuthorName
static Propertiesprop
static StringremoteAppletPath
static intrunStatus
static booleanshowMoleculesAndOrbitals
static intSTAND_ALONE
static String[]translations
static WebExportwebExport
static JFramewebFrame
static WebPanel[]webPanels
static StringwindowName
Constructor Summary
WebExport(JmolViewer viewer, HistoryFile hFile)
Method Summary
static voidcleanUp()
static WebExportcreateAndShowGUI(JmolViewer viewer, HistoryFile historyFile, String wName)
static voiddispose()
static StringgetAppletPath(boolean isRemote)
static JFramegetFrame()
static URLgetHtmlResource(Object object, String root)
static StringgetPageAuthorName()
static URLgetResource(Object object, String fileName)
static URLgetResource(Object object, String fileName, boolean flagError)
static StringgetResourceString(Object object, String name)
static voidsaveHistory()
static voidsetAppletPath(String path, boolean isRemote)
static voidsetTranslations()
static voidsetWebPageAuthor(String pageAuthor)
static Stringtranslate(String str)
static StringTimeStamp_WebLink()
voidwindowActivated(WindowEvent e)
voidwindowClosed(WindowEvent e)
voidwindowClosing(WindowEvent e)
voidwindowDeactivated(WindowEvent e)
voidwindowDeiconified(WindowEvent e)
voidwindowGainedFocus(WindowEvent e)
voidwindowIconified(WindowEvent e)
voidwindowLostFocus(WindowEvent e)
voidwindowOpened(WindowEvent e)
voidwindowStateChanged(WindowEvent e)

Field Detail

historyFile

private static HistoryFile historyFile

IN_JMOL

private static final int IN_JMOL

localAppletPath

static String localAppletPath

pageAuthorName

static String pageAuthorName

prop

static Properties prop

remoteAppletPath

static String remoteAppletPath

runStatus

private static int runStatus

showMoleculesAndOrbitals

private static boolean showMoleculesAndOrbitals

STAND_ALONE

private static final int STAND_ALONE

translations

private static String[] translations

webExport

static WebExport webExport

webFrame

private static JFrame webFrame

webPanels

private static WebPanel[] webPanels

windowName

private static String windowName

Constructor Detail

WebExport

private WebExport(JmolViewer viewer, HistoryFile hFile)

Method Detail

cleanUp

public static void cleanUp()

createAndShowGUI

public static WebExport createAndShowGUI(JmolViewer viewer, HistoryFile historyFile, String wName)

dispose

public static void dispose()

getAppletPath

static String getAppletPath(boolean isRemote)

getFrame

static JFrame getFrame()

getHtmlResource

static URL getHtmlResource(Object object, String root)

getPageAuthorName

static String getPageAuthorName()

getResource

static URL getResource(Object object, String fileName)

getResource

static URL getResource(Object object, String fileName, boolean flagError)

getResourceString

static String getResourceString(Object object, String name)

saveHistory

public static void saveHistory()

setAppletPath

static void setAppletPath(String path, boolean isRemote)

setTranslations

private static void setTranslations()

setWebPageAuthor

static void setWebPageAuthor(String pageAuthor)

translate

private static String translate(String str)

TimeStamp_WebLink

static String TimeStamp_WebLink()

windowActivated

public void windowActivated(WindowEvent e)

windowClosed

public void windowClosed(WindowEvent e)

windowClosing

public void windowClosing(WindowEvent e)

windowDeactivated

public void windowDeactivated(WindowEvent e)

windowDeiconified

public void windowDeiconified(WindowEvent e)

windowGainedFocus

public void windowGainedFocus(WindowEvent e)

windowIconified

public void windowIconified(WindowEvent e)

windowLostFocus

public void windowLostFocus(WindowEvent e)

windowOpened

public void windowOpened(WindowEvent e)

windowStateChanged

public void windowStateChanged(WindowEvent e)