ukacgla_ATT
Class frameMaker

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--javax.swing.JApplet
                                |
                                +--ukacgla_ATT.frameMaker
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable
Direct Known Subclasses:
Ex01_frameMaker

public abstract class frameMaker
extends javax.swing.JApplet

frameMaker is called by the initiating class for the exercise. Set the size and specs for the DeskTop pane. Call makeGUI() , makeGUI is abstract, as it must instantiate a concrete implementation of the TableUI class. Control then passes to the concrete implementation of TableUI. Provides methods for other classes to create internal frames.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
 
Inner classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Inner classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
protected  javax.swing.JDesktopPane desktop
          Holds all JInternalFrames generated by program
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
frameMaker(javax.swing.JApplet applet)
          Set to Windows look and feel 1.Set up frame 2.Set up JDesktop 3.Add internal frames to JDesktop.
 
Method Summary
 void addFrame(javax.swing.JInternalFrame f)
          Adds specified JInternalFrame to the existing JDeskTopPane
 void closeFrame(javax.swing.JInternalFrame f)
          Closes and disposes of specified JInternalFrame
 int getInternalFrameHeight()
          Returns default JInternalFrame height
 int getInternalFrameWidth()
          Returns default JInternalFrame width
abstract  void makeGUI()
          makeGUI() must instantiate an extended concrete TableUI class through this method
 javax.swing.JInternalFrame mkFrame(java.lang.String name, boolean resize, boolean close, int xPos, int yPos, int width, int height)
          Returns blank JInternalFrame, with independent window closer
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

desktop

protected javax.swing.JDesktopPane desktop
Holds all JInternalFrames generated by program
Constructor Detail

frameMaker

public frameMaker(javax.swing.JApplet applet)
Set to Windows look and feel 1.Set up frame 2.Set up JDesktop 3.Add internal frames to JDesktop.
Method Detail

addFrame

public void addFrame(javax.swing.JInternalFrame f)
Adds specified JInternalFrame to the existing JDeskTopPane

closeFrame

public void closeFrame(javax.swing.JInternalFrame f)
Closes and disposes of specified JInternalFrame

getInternalFrameHeight

public int getInternalFrameHeight()
Returns default JInternalFrame height

getInternalFrameWidth

public int getInternalFrameWidth()
Returns default JInternalFrame width

makeGUI

public abstract void makeGUI()
makeGUI() must instantiate an extended concrete TableUI class through this method

mkFrame

public javax.swing.JInternalFrame mkFrame(java.lang.String name,
                                          boolean resize,
                                          boolean close,
                                          int xPos,
                                          int yPos,
                                          int width,
                                          int height)
Returns blank JInternalFrame, with independent window closer