Class symantec.itools.demo.Demo
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class symantec.itools.demo.Demo
Object
   |
   +----Component
           |
           +----Container
                   |
                   +----Panel
                           |
                           +----Applet
                                   |
                                   +----symantec.itools.demo.Demo
  -  public abstract class Demo
  
-  extends Applet
  
A demonstration Applet class.
  -  Version:
  
 -  1.0, Nov 26, 1996
  
 -  Author:
  
 -  Symantec
 
  
  -  
	frame
   -   This program's frame.
  
 -  
	height
   -   The frame height, in pixels.
  
 -  
	isApplet
   -   True if this class is invoked as an Applet.
  
 -  
	title
   -   Frame title.
  
 -  
	width
   -   The frame width, in pixels.
  
 -  
	xPos
   -   The frame horizontal position, in pixels.
  
 -  
	yPos
   -   The frame vertical position, in pixels.
 
  
  -  
	symantec.itools.demo.Demo(String, int, int, int, int)
   -   Constucts the Demo object.
 
  
  -  
	add(Component)
   -    
 -  
	add(Component, int)
   -    
 -  
	add(String, Component)
   -    
 -  
	cleanup()
   -   Hides and disposes the frame.
  
 -  
	doAbout()
   -   Handles demo "About..." requests.
  
 -  
	doExit()
   -   Hides and disposes the frame, then exits.
  
 -  
	doHelp()
   -   Handles demo help requests.
  
 -  
	doRestart()
   -   Reinitializes the demo.
  
 -  
	driver()
   -   Called to initialize this object if it is not an applet.
  
 -  
	endDemo()
   -   Called to end this demo.
  
 -  
	getFont()
   -   Gets the font to use for this Demo.
  
 -  
	getGraphics()
   -    
 -  
	init()
   -   Called by the Applet viewer to initialize this applet.
  
 -  
	setLayout(LayoutManager)
   -    
 -  
	setup()
   -   Shared setup code.
 
  
frame
protected symantec.itools.demo.DemoFrame frame
  -  This program's frame.
 
height
protected int height
  -  The frame height, in pixels.
 
isApplet
protected boolean isApplet
  -  True if this class is invoked as an Applet.
 
title
protected java.lang.String title
  -  Frame title.
 
width
protected int width
  -  The frame width, in pixels.
 
xPos
protected int xPos
  -  The frame horizontal position, in pixels.
 
yPos
protected int yPos
  -  The frame vertical position, in pixels.
 
  
Demo
public Demo(String s,
            int x,
            int y,
            int w,
            int h)
  -  Constucts the Demo object.
  
 
 
    -  Parameters:
    
 -  s - the frame title
    
-  x - the frame horizontal position, in pixels
    
-  y - the frame vertical position, in pixels
    
-  w - the frame width, in pixels
    
-  h - the frame height, in pixels
  
     
 
 
  
add
public java.awt.Component add(Component c)
 
    -  Overrides:
    
 -  add in class Container
  
 
 
add
public synchronized java.awt.Component add(Component c,
                                           int i)
 
    -  Overrides:
    
 -  add in class Container
  
 
 
add
public synchronized java.awt.Component add(String s,
                                           Component c)
 
    -  Overrides:
    
 -  add in class Container
  
 
 
cleanup
public void cleanup()
  -  Hides and disposes the frame.
  
 
 
doAbout
public void doAbout()
  -  Handles demo "About..." requests.
  
 
 
doExit
public void doExit()
  -  Hides and disposes the frame, then exits.
  
 
 
doHelp
public void doHelp()
  -  Handles demo help requests.
  
 
 
doRestart
public void doRestart()
  -  Reinitializes the demo.
  
 
 
driver
protected void driver()
  -  Called to initialize this object if it is not an applet.
  
 
 
endDemo
public void endDemo()
  -  Called to end this demo.
  
 
 
getFont
public java.awt.Font getFont()
  -  Gets the font to use for this Demo.
  
 
 
    -  Returns:
    
 -  the font
    
 -  Overrides:
    
 -  getFont in class Component
  
 
 
 
getGraphics
public java.awt.Graphics getGraphics()
 
    -  Overrides:
    
 -  getGraphics in class Component
  
 
 
init
public void init()
  -  Called by the Applet viewer to initialize this applet.
  
 
 
    -  Overrides:
    
 -  init in class Applet
    
 -  See Also:
    
 -  init
  
 
 
 
setLayout
public void setLayout(LayoutManager manager)
 
    -  Overrides:
    
 -  setLayout in class Container
  
 
 
setup
protected void setup()
  -  Shared setup code.
  
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index