Class HelpWindow

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by HelpWindow
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class HelpWindow
extends javax.swing.JFrame

This class is the JFrame that allow navigation through help menus.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  javax.swing.JMenuItem addLayer
          JMenuItem to see the add layer help.
(package private)  javax.swing.JMenuItem animate
          JMenuItem to see the layer animation help.
(package private)  javax.swing.JMenuItem bw
          JMenuItem to see the grayscale help.
(package private)  javax.swing.JMenuItem changeName
          JMenuItem to see the change layer name help.
(package private)  javax.swing.JMenuItem copyColor
          JMenuItem to see the medicine tool help.
(package private)  javax.swing.JMenuItem copymove
          JMenuItem to see the copy-move selection help.
(package private)  javax.swing.JMenuItem copypaste
          JMenuItem to see the copy/paste help.
(package private)  javax.swing.JMenu createPictures
          JMenu titled TerpPaint Help.
(package private)  javax.swing.JMenuItem customColors
          JMenuItem to see the edit colors help.
(package private)  javax.swing.JMenuItem drawCurve
          JMenuItem to see the curve tool help.
(package private)  javax.swing.JMenuItem drawEllipse
          JMenuItem to see the ellipse tool help.
(package private)  javax.swing.JMenuItem drawLine
          JMenuItem to see the line tool help.
(package private)  javax.swing.JMenuItem drawPencil
          JMenuItem to see the pencil tool help.
(package private)  javax.swing.JMenuItem drawPoly
          JMenuItem to see the poly tool help.
(package private)  javax.swing.JMenuItem drawRect
          JMenuItem to see the rect tool help.
(package private)  javax.swing.JMenuItem eraseimage
          JMenuItem to see the selectall function help.
(package private)  javax.swing.JMenuItem eraser
          JMenuItem to see the eraser tool help.
(package private)  javax.swing.JMenuItem eraseselect
          JMenuItem to see the selection tool help.
(package private)  java.io.File file
          File that contains the filepath of the html file to be decoded.
(package private)  java.io.File file2
          File that contains the parent path of file to be opened.
(package private)  HTMLDisplay fileshown
          HTMLDisplay of the fileshown.
(package private)  javax.swing.JMenuItem fillArea
          JMenuItem to see the fill tool help.
(package private)  javax.swing.JMenuItem filter
          JMenuItem to see the filter help.
(package private)  javax.swing.JMenuItem flatten
          JMenuItem to see the flatten layers help.
(package private)  javax.swing.JMenuItem fliprotate
          JMenuItem to see the flip/rotate help.
(package private)  javax.swing.JMenuItem imagesize
          JMenuItem to see the resize help.
(package private)  javax.swing.JMenuItem interval
          JMenuItem to see the animation interval preferences help.
(package private)  javax.swing.JMenuItem language
          JMenuItem to see the language preferences help.
(package private)  javax.swing.JMenuItem loop
          JMenuItem to see the animation looping preferences help.
(package private)  javax.swing.JMenuItem magicWand
          JMenuItem to see the magic wand tool help.
(package private)  javax.swing.JMenuBar menuBar
          The menubar for helpwindow.
(package private)  javax.swing.JMenuItem move
          JMenuItem to see the move selection help.
(package private)  javax.swing.JMenuItem moveBack
          JMenuItem to see the move to back help.
(package private)  javax.swing.JMenuItem moveDown
          JMenuItem to see the move layer down help.
(package private)  javax.swing.JMenuItem moveFront
          JMenuItem to see the move to front help.
(package private)  javax.swing.JMenuItem moveUp
          JMenuItem to see the move layer up help.
(package private)  javax.swing.JMenuItem newSize
          JMenuItem to see the new file size preferences help.
(package private)  javax.swing.JMenuItem paintBrush
          JMenuItem to see the brush tool help.
(package private)  javax.swing.JMenuItem pasteFile
          JMenuItem to see the file creation on paste to preferences help.
(package private)  javax.swing.JMenuItem pastefrom
          JMenuItem to see the paste help.
(package private)  javax.swing.JMenuItem pasteImport
          JMenuItem to see the paste/import to preferences help.
(package private)  javax.swing.JMenuItem removeCurrent
          JMenuItem to see the remove current layer help.
(package private)  javax.swing.JMenuItem removeLayer
          JMenuItem to see the remove layer by name help.
(package private)  javax.swing.JMenuItem select
          JMenuItem to see the selctall and select tool help.
(package private)  javax.swing.JMenuItem setColors
          JMenuItem to see the colors help.
(package private)  javax.swing.JMenu setPreferences
          JMenu titled Set Preferences.
(package private)  javax.swing.JMenuItem slideshow
          JMenuItem to see the slideshow help.
(package private)  javax.swing.JMenuItem spray
          JMenuItem to see the spray tool help.
(package private)  javax.swing.JMenuItem stretchskew
          JMenuItem to see the stretch/skew fucntion help.
(package private)  javax.swing.JMenu terpPaintHelp
          JMenu titled TerpPaint Help.
(package private)  javax.swing.JMenuItem terpPaintOverview
          JMenuItem to see the terppaint overview.
(package private)  javax.swing.JMenuItem text
          JMenuItem to see the text tool help.
(package private)  javax.swing.JMenuItem transitions
          JMenuItem to see the animation transitions preferences help.
(package private)  javax.swing.JMenuItem undo
          JMenuItem to see the undo level preferences help.
(package private)  javax.swing.JMenu workWithColor
          JMenu titled Work with Color.
(package private)  javax.swing.JMenu workWithLayers
          JMenu titled Work With Layers.
(package private)  javax.swing.JMenu workWithPictures
          JMenu titled Work With Pictures.
(package private)  javax.swing.JMenuItem zoom
          JMenuItem to see the zoom tool click help.
(package private)  javax.swing.JMenuItem zoomDrag
          JMenuItem to see the zoom tool drag help.
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
HelpWindow(javax.swing.JFrame TerpPaintProgram)
          Creates a new instance of HelpWindow, creates JFrame the same size as TerpPaint program There are no OS/Hardware dependencies and no variances.
 
Method Summary
 void HelpMenuActionPerformed(java.awt.event.ActionEvent evt, java.lang.String filen)
          This function creates the HTMLDisplay for the file selected through the menu selection.
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

file

java.io.File file
File that contains the filepath of the html file to be decoded.


file2

java.io.File file2
File that contains the parent path of file to be opened.


menuBar

javax.swing.JMenuBar menuBar
The menubar for helpwindow.


terpPaintHelp

javax.swing.JMenu terpPaintHelp
JMenu titled TerpPaint Help.


terpPaintOverview

javax.swing.JMenuItem terpPaintOverview
JMenuItem to see the terppaint overview.


createPictures

javax.swing.JMenu createPictures
JMenu titled TerpPaint Help.


workWithColor

javax.swing.JMenu workWithColor
JMenu titled Work with Color.


workWithPictures

javax.swing.JMenu workWithPictures
JMenu titled Work With Pictures.


workWithLayers

javax.swing.JMenu workWithLayers
JMenu titled Work With Layers.


setPreferences

javax.swing.JMenu setPreferences
JMenu titled Set Preferences.


drawLine

javax.swing.JMenuItem drawLine
JMenuItem to see the line tool help.


drawPencil

javax.swing.JMenuItem drawPencil
JMenuItem to see the pencil tool help.


drawCurve

javax.swing.JMenuItem drawCurve
JMenuItem to see the curve tool help.


drawEllipse

javax.swing.JMenuItem drawEllipse
JMenuItem to see the ellipse tool help.


drawRect

javax.swing.JMenuItem drawRect
JMenuItem to see the rect tool help.


drawPoly

javax.swing.JMenuItem drawPoly
JMenuItem to see the poly tool help.


text

javax.swing.JMenuItem text
JMenuItem to see the text tool help.


eraser

javax.swing.JMenuItem eraser
JMenuItem to see the eraser tool help.


eraseselect

javax.swing.JMenuItem eraseselect
JMenuItem to see the selection tool help.


eraseimage

javax.swing.JMenuItem eraseimage
JMenuItem to see the selectall function help.


stretchskew

javax.swing.JMenuItem stretchskew
JMenuItem to see the stretch/skew fucntion help.


imagesize

javax.swing.JMenuItem imagesize
JMenuItem to see the resize help.


setColors

javax.swing.JMenuItem setColors
JMenuItem to see the colors help.


fillArea

javax.swing.JMenuItem fillArea
JMenuItem to see the fill tool help.


paintBrush

javax.swing.JMenuItem paintBrush
JMenuItem to see the brush tool help.


spray

javax.swing.JMenuItem spray
JMenuItem to see the spray tool help.


customColors

javax.swing.JMenuItem customColors
JMenuItem to see the edit colors help.


bw

javax.swing.JMenuItem bw
JMenuItem to see the grayscale help.


copyColor

javax.swing.JMenuItem copyColor
JMenuItem to see the medicine tool help.


magicWand

javax.swing.JMenuItem magicWand
JMenuItem to see the magic wand tool help.


pastefrom

javax.swing.JMenuItem pastefrom
JMenuItem to see the paste help.


fliprotate

javax.swing.JMenuItem fliprotate
JMenuItem to see the flip/rotate help.


filter

javax.swing.JMenuItem filter
JMenuItem to see the filter help.


copypaste

javax.swing.JMenuItem copypaste
JMenuItem to see the copy/paste help.


select

javax.swing.JMenuItem select
JMenuItem to see the selctall and select tool help.


move

javax.swing.JMenuItem move
JMenuItem to see the move selection help.


copymove

javax.swing.JMenuItem copymove
JMenuItem to see the copy-move selection help.


zoomDrag

javax.swing.JMenuItem zoomDrag
JMenuItem to see the zoom tool drag help.


zoom

javax.swing.JMenuItem zoom
JMenuItem to see the zoom tool click help.


slideshow

javax.swing.JMenuItem slideshow
JMenuItem to see the slideshow help.


addLayer

javax.swing.JMenuItem addLayer
JMenuItem to see the add layer help.


animate

javax.swing.JMenuItem animate
JMenuItem to see the layer animation help.


changeName

javax.swing.JMenuItem changeName
JMenuItem to see the change layer name help.


removeLayer

javax.swing.JMenuItem removeLayer
JMenuItem to see the remove layer by name help.


removeCurrent

javax.swing.JMenuItem removeCurrent
JMenuItem to see the remove current layer help.


flatten

javax.swing.JMenuItem flatten
JMenuItem to see the flatten layers help.


moveUp

javax.swing.JMenuItem moveUp
JMenuItem to see the move layer up help.


moveDown

javax.swing.JMenuItem moveDown
JMenuItem to see the move layer down help.


moveFront

javax.swing.JMenuItem moveFront
JMenuItem to see the move to front help.


moveBack

javax.swing.JMenuItem moveBack
JMenuItem to see the move to back help.


undo

javax.swing.JMenuItem undo
JMenuItem to see the undo level preferences help.


interval

javax.swing.JMenuItem interval
JMenuItem to see the animation interval preferences help.


language

javax.swing.JMenuItem language
JMenuItem to see the language preferences help.


transitions

javax.swing.JMenuItem transitions
JMenuItem to see the animation transitions preferences help.


loop

javax.swing.JMenuItem loop
JMenuItem to see the animation looping preferences help.


pasteImport

javax.swing.JMenuItem pasteImport
JMenuItem to see the paste/import to preferences help.


pasteFile

javax.swing.JMenuItem pasteFile
JMenuItem to see the file creation on paste to preferences help.


newSize

javax.swing.JMenuItem newSize
JMenuItem to see the new file size preferences help.


fileshown

HTMLDisplay fileshown
HTMLDisplay of the fileshown.

Constructor Detail

HelpWindow

public HelpWindow(javax.swing.JFrame TerpPaintProgram)
Creates a new instance of HelpWindow, creates JFrame the same size as TerpPaint program There are no OS/Hardware dependencies and no variances. There is no need for any security constraints and no references to external specifications.

Parameters:
TerpPaintProgram - TerpPaint
Method Detail

HelpMenuActionPerformed

public void HelpMenuActionPerformed(java.awt.event.ActionEvent evt,
                                    java.lang.String filen)
This function creates the HTMLDisplay for the file selected through the menu selection. There are no OS/Hardware dependencies and no variances. There is no need for any security constraints and no references to external specifications.

Parameters:
evt - ActionEvent obj
filen - filename of the html to display