gov.sns.tools.samples.widgets
Class Showcase

java.lang.Object
  |
  +--gov.sns.application.ApplicationAdaptor
        |
        +--gov.sns.tools.samples.widgets.Showcase
All Implemented Interfaces:
ApplicationListener

public class Showcase
extends ApplicationAdaptor

Main launches showcase, which demonstrates how to use simple GUI widget to display dinamic PV values.

Since:
Aug 22, 2003.

Field Summary
 
Fields inherited from class gov.sns.application.ApplicationAdaptor
docURLs
 
Constructor Summary
Showcase()
           
 
Method Summary
 java.lang.String applicationName()
          Subclasses must implement this method to return the name of their application.
static void main(java.lang.String[] args)
          Main method.
 XalDocument newDocument(java.net.URL url)
          Subclasses should implement this method to return an instance of their custom subclass of XalDocument loaded from the specified URL.
 XalDocument newEmptyDocument()
          Subclasses should implement this method to return an instance of their custom subclass of XalDocument.
 java.lang.String[] readableDocumentTypes()
          Subclasses should implement this method to return the array of file suffixes identifying the files that can be read by the application.
 java.lang.String[] writableDocumentTypes()
          Subclasses should implement this method to return the array of file suffixes identifying the files that can be written by the application.
 
Methods inherited from class gov.sns.application.ApplicationAdaptor
applicationFinishedLaunching, applicationWillQuit, customizeCommands, documentClosed, documentCreated, editPreferences, getApplicationHelpPath, getApplicationInfoPath, getDocURLs, getMenuDefinitionPath, getPathToResource, getResourcesPath, setOptions, usesConsole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Showcase

public Showcase()
Method Detail

readableDocumentTypes

public java.lang.String[] readableDocumentTypes()
Description copied from class: ApplicationAdaptor
Subclasses should implement this method to return the array of file suffixes identifying the files that can be read by the application.

Specified by:
readableDocumentTypes in class ApplicationAdaptor
Returns:
An array of file suffixes corresponding to readable files

writableDocumentTypes

public java.lang.String[] writableDocumentTypes()
Description copied from class: ApplicationAdaptor
Subclasses should implement this method to return the array of file suffixes identifying the files that can be written by the application.

Specified by:
writableDocumentTypes in class ApplicationAdaptor
Returns:
An array of file suffixes corresponding to writable files

newEmptyDocument

public XalDocument newEmptyDocument()
Description copied from class: ApplicationAdaptor
Subclasses should implement this method to return an instance of their custom subclass of XalDocument.

Specified by:
newEmptyDocument in class ApplicationAdaptor
Returns:
An instance of the custom subclass of XalDocument

newDocument

public XalDocument newDocument(java.net.URL url)
Description copied from class: ApplicationAdaptor
Subclasses should implement this method to return an instance of their custom subclass of XalDocument loaded from the specified URL.

Specified by:
newDocument in class ApplicationAdaptor
Returns:
An instance of the custom subclass of XalDocument

applicationName

public java.lang.String applicationName()
Description copied from class: ApplicationAdaptor
Subclasses must implement this method to return the name of their application.

Specified by:
applicationName in class ApplicationAdaptor
Returns:
The name of the application

main

public static void main(java.lang.String[] args)
Main method.

Parameters:
args - CMD