VTT Java
2010 Version

gov.nih.nlm.nls.vtt.Operations
Class FileOperations

java.lang.Object
  extended by gov.nih.nlm.nls.vtt.Operations.FileOperations

public class FileOperations
extends java.lang.Object

This class provides public methods for file related operations.

History:

Version:
V-2010
Author:
NLM NLS Development Team, clu

Method Summary
static void CloseOperation(javax.swing.JFrame owner, VttObj vttObj)
          Close VTT file operations.
static void ExitOperation(javax.swing.JFrame owner, VttObj vttObj)
          Exit VTT application operations.
static void LoadFileToVtt(java.io.File newFile, VttObj vttObj)
          Load a file to VTT application.
static void OpenFile(java.io.File newFile, VttObj vttObj)
          Open a VTT file operation.
static void OpenOperation(javax.swing.JFrame owner, VttObj vttObj)
          Open a VTT file operations with a file choose dialog.
static void PrintOperation(VttObj vttObj)
          Print the textPane operations.
static void SaveAsOperation(javax.swing.JFrame owner, VttObj vttObj)
          Save a VTT file to a specified file name operations.
static void SaveOperation(javax.swing.JFrame owner, VttObj vttObj)
          Save a VTT file operations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

OpenOperation

public static void OpenOperation(javax.swing.JFrame owner,
                                 VttObj vttObj)
Open a VTT file operations with a file choose dialog.

Parameters:
owner - the owner of this AddTagDialog
vttObj - the vttObj Java object

OpenFile

public static void OpenFile(java.io.File newFile,
                            VttObj vttObj)
Open a VTT file operation. This method includes:

Parameters:
newFile - the file to be open
vttObj - the vttObj Java object

CloseOperation

public static void CloseOperation(javax.swing.JFrame owner,
                                  VttObj vttObj)
Close VTT file operations. This method includes:

Parameters:
owner - the owner of this AddTagDialog
vttObj - the vttObj Java object

SaveOperation

public static void SaveOperation(javax.swing.JFrame owner,
                                 VttObj vttObj)
Save a VTT file operations. This method includes:

Parameters:
owner - the owner of this AddTagDialog
vttObj - the vttObj Java object

SaveAsOperation

public static void SaveAsOperation(javax.swing.JFrame owner,
                                   VttObj vttObj)
Save a VTT file to a specified file name operations. This method includes:

Parameters:
owner - the owner of this AddTagDialog
vttObj - the vttObj Java object

PrintOperation

public static void PrintOperation(VttObj vttObj)
Print the textPane operations. This method includes:

Parameters:
vttObj - the vttObj Java object

ExitOperation

public static void ExitOperation(javax.swing.JFrame owner,
                                 VttObj vttObj)
Exit VTT application operations. This method includes:

Parameters:
owner - the owner of this AddTagDialog
vttObj - the vttObj Java object

LoadFileToVtt

public static void LoadFileToVtt(java.io.File newFile,
                                 VttObj vttObj)
Load a file to VTT application.

Parameters:
newFile - the file to open
vttObj - the vttObj Java object

VTT Java
2010 Version

Submit a bug or feature

Copyright © 2010 National Library of Medicine