A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

a - Variable in class TerpPaint
AutoBackup object.
a_count - Variable in class LZWEncoder
Number of characters so far in this 'packet'.
about - Class in <Unnamed>
This object displays the About window.
about() - Constructor for class about
Creates a new instance of about, creates a JOptionPane that is displayed.
About - Variable in class TerpPaint
Java swing GUI depicting the menu item called About.
AboutActionPerformed(ActionEvent) - Method in class TerpPaint
AboutActionPerformed displays a window with info about terppaint It should work with all operating systems and hardware.
accept(File) - Method in class TerpPaintFileFilter
Return true if this file should be shown in the directory pane, false if it shouldn't.
accum - Variable in class LZWEncoder
Define the storage for the packet accumulator.
act - Variable in class GifDecoder
Active color table.
action_list - Variable in class TerpPaint
This is the list indicating action history (actions that can be undone now) for every layer separately.
action_name - Variable in class selectallTool
Action name.
actionPerformed(ActionEvent) - Method in class KeyEventDemo
Handle the button click.
actionPerformed(ActionEvent) - Method in class LogoAnimator
respond to Timer's event There are no OS/Hardware dependencies and no variances.
active - Static variable in class TerpPaint
This is a boolean value that is initialize to true, used in presentation() which is never called.
add - Variable in class AllLayers
GUI button that depicting the add a layer function.
Add - Variable in class TerpPaint
Java swing GUI depicting the JMenuItem called Add.
Add() - Method in class TerpPaintContainer
Adds a new window This method closes Terp Paint main program.
addActionPerformed(ActionEvent) - Method in class AllLayers
This method is called when the add button is pressed on GUI by user.
AddActionPerformed(ActionEvent) - Method in class TerpPaint
This function adds a new layer ActionEvent object as a parameter.
addColorChooser() - Method in class TerpPaint
This method opens up the universal Color Chooser.
addExtension(String) - Method in class TerpPaintFileFilter
Adds a filetype "dot" extension to filter against.
addFamilies() - Method in class Text
Detects and adds all local platform's font families to families JComboBox.
addFrame(BufferedImage) - Method in class AnimatedGifEncoder
Adds next GIF frame.
addLangs() - Method in class preferences
Detects and adds all local platform's Languages to families JComboBox.
addLayer - Variable in class HelpWindow
JMenuItem to see the add layer help.
addLayer() - Method in class main_canvas
This method adds a new layer.
addSizes() - Method in class Text
Adds a group of different Integer sizes to size JComboBox.
addTrans() - Method in class preferences
Detects and adds all transitions to families JComboBox.
airbrushImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage() for cursor.
Alert - Variable in class saveChanges
java swing GUI depicting the Jbutton called Alert.
AlertActionPerformed(ActionEvent) - Method in class saveChanges
This method is executed by mouse event when user clicks Alert button.
alive() - Method in interface TerpOfficeAppInterface
Determines if the application is still alive.
alive() - Method in class TerpPaintContainer
The TerpPaint object, newInstance created in TerpPaintContainer class, calls the isDisplayable function from the TerpPaint class.
all - Variable in class Layer
paint is a TerpPaint value that holds the drawing board.
AllLayers - Class in <Unnamed>
AllLayers is used to create a GUI toolbox to display layers.
AllLayers(Frame, boolean, main_canvas) - Constructor for class AllLayers
This method is called by the TerpPaint class and is used to create the toolbox.
alllayers - Variable in class TerpPaint
This is for the Layer Box.
alphabiasshift - Static variable in class NeuQuant
 
alphadec - Variable in class NeuQuant
 
alpharadbias - Static variable in class NeuQuant
 
alpharadbshift - Static variable in class NeuQuant
 
alterneigh(int, int, int, int, int) - Method in class NeuQuant
 
altersingle(int, int, int, int, int) - Method in class NeuQuant
 
analyzePixels() - Method in class AnimatedGifEncoder
Analyzes image colors and creates color map.
anim - Variable in class preferences
Java swing GUI depicting the JPanel of the animation interval.
Anim - Variable in class prefsState
This is the value for the animation interval.
animate - Variable in class HelpWindow
JMenuItem to see the layer animation help.
AnimatedGifEncoder - Class in <Unnamed>
Class AnimatedGifEncoder - Encodes a GIF file consisting of one or more frames.
AnimatedGifEncoder() - Constructor for class AnimatedGifEncoder
 
Animation - Variable in class TerpPaint
Java swing GUI depicting the menu item called Animation.
AnimationActionPerformed(ActionEvent) - Method in class TerpPaint
This function is called if it wants to display a animation of layers.
animationDelay - Variable in class LogoAnimator
millisecond delay.
animationTimer - Variable in class LogoAnimator
Timer drives animation.
animInterval - Variable in class preferences
Java swing GUI depicting the text field of the animation interval.
animIntervalActionPerformed(ActionEvent) - Method in class preferences
This method is for the animation interval action.
arc_height - Variable in class roundedRectTool
Holds the height of the arc, default set to 10.
arc_length - Variable in class roundedRectTool
Holds the length of the arc, default set to 10.
area - Variable in class AllLayers
TextField that takes in the name of removing layer.
area - Variable in class Layer
JTextField that determines the name of the layer that user types.
attributes - Class in <Unnamed>
This class set the width and height in pixels, cm, and inch.
attributes(Frame, boolean) - Constructor for class attributes
Convert pixels to inch and cm.
Attributes - Variable in class TerpPaint
Java swing GUI depicting the menu item called Attributes.
AttributesActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to execute a maximize or minimize the painting window.
AutoBackup - Class in <Unnamed>
This class does a save in certain iteration automatically.
AutoBackup(TerpPaint) - Constructor for class AutoBackup
This is a copy construction of AutoBackUp object.

B

backupImage - Variable in class curveTool
This is used to store the back up image that we want and then, we are going to modify this as we continue the drawing of the curve.
backupImage - Variable in class ellipseTool
This is used to store the back up image that we want and then, we are going to modify this as we continue the drawing of the ellipse.
backupImage - Variable in class lineTool
BufferedImage object that represents the backup image.
backupImage - Variable in class magicSelectTool
Holds the backupImage, magicSelectedImage, pastedImage.
backupImage - Variable in class polygonTool
a BufferedImage with width set to 200 and height set to 200.
backupImage - Variable in class rectTool
Holds the current image and the saved backup image.
backupImage - Variable in class roundedRectTool
Holds the current image and the saved backup image.
backupImage - Variable in class selectallTool
Holds the current, backup, selected and pasted image.
backupImage - Variable in class selectTool
Holds the backupImage, selectedImage, pastedImage.
backupImage - Variable in class zoomTool
Holds the current, backup, selected and pasted image.
beta - Static variable in class NeuQuant
 
betagamma - Static variable in class NeuQuant
 
betashift - Static variable in class NeuQuant
 
bfOffBits - Variable in class converter
Initialization of bit map off bits by addition of BITMAPFILEHEADER and BITMAPINFOHEADER.
bfReserved1 - Variable in class converter
Initialization of bitmap file reserved1 with the value 0.
bfReserved2 - Variable in class converter
Initialization of bitmap file reserved2 with the value 0.
bfSize - Variable in class converter
Initialization of bitmap file size with the value 0.
bfType - Variable in class converter
Initialization of bfType as an array of type byte with the value B and M casted by byte.
bgColor - Variable in class GifDecoder
Background color.
bgIndex - Variable in class GifDecoder
Background color index.
bias - Variable in class NeuQuant
 
biBitCount - Variable in class converter
Initialization of bitmap info bit count with the size of 24.
biClrImportant - Variable in class converter
Initialization of bitmap info important color indicator with the size of 0.
biClrUsed - Variable in class converter
Initialization of bitmap info color used indicator with the size of 0.
biCompression - Variable in class converter
Initialization of bitmap info compression with the size of 0.
biHeight - Variable in class converter
Initialization of bitmap info height with the size of 0.
bim - Variable in class Fill
BufferImage that is going to be colored.
biPlanes - Variable in class converter
Initialization of bitmap info planes with the size of 1.
biSize - Variable in class converter
Initialization of bitmap info size by BITMAPINFOHEADER_SIZE.
biSizeImage - Variable in class converter
Initialization of bitmap info image size with the size of 0x030000.
bitmap - Variable in class converter
Bipmap integer array that creates an bitmap raw data.
bitmapFileHeader - Variable in class converter
Initialization of bitmap file header as an array of type byte with the size of 14.
BITMAPFILEHEADER_SIZE - Static variable in class converter
A size of bitmap file header to 14 as a final integer.
bitmapInfoHeader - Variable in class converter
Initialization of bitmap info header as an array of type byte with the size of 40.
BITMAPINFOHEADER_SIZE - Static variable in class converter
A size of bipmap info header to 40 as a final integer.
BITS - Static variable in class LZWEncoder
DEFINE BITS AS 12.
biWidth - Variable in class converter
Initialization of bitmap info width with the size of 0.
biXPelsPerMeter - Variable in class converter
Initialization of bitmap info x-pixel per meter with the size of 0x0.
biYPelsPerMeter - Variable in class converter
Initialization of bitmap info y-pixel per meter with the size of 0x0.
black - Variable in class TerpPaint
Java swing GUI depicting the black button.
blackMouseClicked(MouseEvent) - Method in class TerpPaint
Sets black as the active color by mouse click.
blackwhite - Variable in class attributes
This is a JRadioButton variable.
blackwhite - Variable in class canvas_size
This is a JRadioButton variable.
block - Variable in class GifDecoder
Current data block.
blockSize - Variable in class GifDecoder
Block size.
blue - Variable in class TerpPaint
Java swing GUI depicting the blue button.
blueMouseClicked(MouseEvent) - Method in class TerpPaint
Sets blue as the active color by mouse click.
blur - Class in <Unnamed>
A blur object is a dialogue box that allows the user to blur the whole image.
blur(Frame, boolean) - Constructor for class blur
Creates new form blur.
Blur - Variable in class TerpPaint
Java swing GUI depicting the menu item called Blur.
blur_panel - Variable in class blur
Java swing GUI depicting the blur button.
blur_value - Variable in class blur
Java swing GUI depicting the textfield of the blur change ratio value.
blurActionPerformed(ActionEvent) - Method in class blur
This method is for blurring.
BlurActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the blur capabilities of TerpPaint.
BMPbitsPerPixel - Variable in class converter
Number of bits per pixel - 1, 4, 8, or 24 (no color map).
BMPcolorsImportant - Variable in class converter
Number of important colors (appear first in palette) (0 means all are important).
BMPcolorsUsed - Variable in class converter
Number of colors in palette (if 0, calculate).
BMPcompression - Variable in class converter
Compression methods used: 0 (none), 1 (8-bit RLE), or 2 (4-bit RLE).
BMPheadersize - Variable in class converter
Integer value of bitmap header size.
BMPheight - Variable in class converter
Integer value of bitmap height size in pixels.
BMPhorzResolution - Variable in class converter
Horizontal resolution, pixels/meter (may be 0).
BMPimage - Variable in class converter
Bitmap image representation.
BMPimageoffset - Variable in class converter
Integer value of bitmap image offset.
BMPplanes - Variable in class converter
Short value of color planes, always 1.
BMPreserved - Variable in class converter
Integer value of the preserved description of bitmap.
BMPsize - Variable in class converter
Integer value of the size of bitmap that describes the header in bytes.
BMPsizeOfBitmap - Variable in class converter
Size of bitmap in bytes (may be 0: if so, calculate).
BMPvertResolution - Variable in class converter
Vertical resolution, pixels/meter (may be 0).
BMPwidth - Variable in class converter
Integer value of bitmap width size in pixels.
bold - Variable in class OurFont
initializes the public boolean field "bold" to false.
bold - Variable in class Text
java swing GUI depicting the JRadioButton called bold.
boldness - Static variable in class letterTool
Holds the state of the font's boldness.
borderInits() - Method in class TerpPaint
This method basically creates the three dimensional look of the tools.
bottom - Variable in class AllLayers
GUI panel to show the possible layers.
bottom - Variable in class preferences
Java swing GUI depicting the bottom panel.
bottomMost - Variable in class AllLayers
GUI button that depicts moving layer to bottom function.
bottomMostActionPerformed(ActionEvent) - Method in class AllLayers
This method is called by bottomMost button.
brightness - Class in <Unnamed>
A brightness object is a dialogue box that allows the user to change the brightness of the whole image.
brightness(Frame, boolean) - Constructor for class brightness
Creates new form brightness.
Brightness - Variable in class TerpPaint
Java swing GUI depicting the menu item called Brightness.
brightness_panel - Variable in class brightness
Java swing GUI depicting the BRIGHTNESS button.
brightness_value - Variable in class brightness
Java swing GUI depicting the brightness change ratio value.
brightnessActionPerformed(ActionEvent) - Method in class brightness
This method is for brightness changing.
BrightnessActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the brightness change capabilities of TerpPaint.
brightval - Static variable in class brightness
Static int to represent the slider value.
brown - Variable in class TerpPaint
Java swing GUI depicting the brown button.
brownMouseClicked(MouseEvent) - Method in class TerpPaint
Sets brown as the active color by mouse click.
brush - Variable in class main_canvas
Default brush false.
brush - Variable in class TerpPaint
Java swing GUI depicting the button called brush.
brush_properties - Variable in class TerpPaint
Java swing GUI depicting the panel for brush properties.
brushActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes brushTool 1.
brushImage - Variable in class brushTool
this is a BufferedImage variable.
brushImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage() for cursor.
brushTool - Class in <Unnamed>
This class is the Brush Tool.
brushTool() - Constructor for class brushTool
Creates a brushTool with the brushType initialized to DOT1 by calling super() and setBrushType() to initialize brushType.
brushType - Variable in class brushTool
Stores the type of the brush (1-12).
bucketImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage(), for cursor.
bucketTool - Class in <Unnamed>
This class is for the bucket option which is coloring the canvas with a specific color.
bucketTool() - Constructor for class bucketTool
Creates a bucketTool with no parameters.
BufferedImageToFile(FileOutputStream, BufferedImage, int) - Method in class converter
This method sets up the image in the buffer.
buttonsText - Variable in class attributes
This is a JPanel variable.
buttonsText - Variable in class canvas_size
This is a JPanel variable, holds textboxes.
bw - Variable in class HelpWindow
JMenuItem to see the grayscale help.
bytebuffer - Variable in class converter
bytebuffer object that creates byte type array.
bytesPerLine - Variable in class converter
Indicator of bytes per line.

C

CALC - Static variable in interface TerpClipboardInterface
This field models the Terp Calc application which is static at 5.
cancel - Variable in class attributes
This is a JButton variable.
cancel - Variable in class blur
Java swing GUI depicting the CANCEL button.
cancel - Variable in class brightness
Java swing GUI depicting the CANCEL button.
cancel - Variable in class canvas_size
This is a JButton variable cancel.
CANCEL - Static variable in class choice
CANCEL set to 2.
CANCEL - Static variable in class choice2
CANCEL = 1.
cancel - Variable in class edge
Java swing GUI depicting the CANCEL button.
cancel - Variable in class emboss
java swing GUI depicting the Jbutton called cancel.
cancel - Variable in class preferences
Java swing GUI depicting the CANCEL button.
cancel - Variable in class rotate
java swing GUI depicting the Jbutton called cancel.
CANCEL - Variable in class saveChanges
java swing GUI depicting the Jbutton called CANCEL.
cancel - Variable in class sharpen
Java swing GUI depicting the CANCEL button.
cancel - Variable in class stretch
Java swing GUI depicting the CANCEL button.
Cancel - Variable in class Text
java swing GUI depicting the Jbutton called Cancel.
cancelActionPerformed(ActionEvent) - Method in class AllLayers
This method is called by GUI user pressing on cancel It will not store anything and will close Frame.
cancelActionPerformed(ActionEvent) - Method in class attributes
This method performs the action by the user.
cancelActionPerformed(ActionEvent) - Method in class blur
This method executes if the event is a CANCEL button, then it closes the dialog.
cancelActionPerformed(ActionEvent) - Method in class brightness
This method executes if the event is a CANCEL button, then it closes the dialog.
cancelActionPerformed(ActionEvent) - Method in class canvas_size
cancels and closes the dialog box, without changing the size There is no state of transition The argument is an ActionEvent variable.
cancelActionPerformed(ActionEvent) - Method in class emboss
This method cancels rotating the image.
cancelActionPerformed(ActionEvent) - Method in class Layer
This function operates when GUI user clicks on cancel Nothing is saved and the temporary frame for remove is disappeared.
cancelActionPerformed(ActionEvent) - Method in class preferences
This method executes if the event is a CANCEL button, then it closes the dialog.
cancelActionPerformed(ActionEvent) - Method in class rotate
This method cancels rotating the image.
CANCELActionPerformed(ActionEvent) - Method in class saveChanges
This method is performed by mouse event when user clicks CANCEL button to cancel the changes.
cancelActionPerformed(ActionEvent) - Method in class stretch
This method executes if the event is a CANCEL button, then it closes the dialog.
canvas_size - Class in <Unnamed>
This class set the width and height in pixels, cm, and inch for the canvas.
canvas_size(JFrame, boolean) - Constructor for class canvas_size
constructor, shows dialog box for user input of canvas size in units of their choice Paremeter can be either true or false.
canvasMouseMoved(MouseEvent) - Method in class TerpPaint
Prints "CANVAS MOUSE MOVED".
canvasMousePressed(MouseEvent) - Method in class TerpPaint
no code -- may be same as found in centerSetup().
canvasMouseReleased(MouseEvent) - Method in class TerpPaint
no code -- may be same as code found in centerSetup().
canvasScale(int) - Method in class main_canvas
This method returns the coordinate.
center - Variable in class AllLayers
center is a main_canvas value that holds the drawing board.
center - Variable in class blur
Java swing GUI depicting the CENTER button.
center - Variable in class brightness
Java swing GUI depicting the CENTER button.
center - Variable in class edge
Java swing GUI depicting the CENTER button.
center - Variable in class preferences
Java swing GUI depicting the CENTER panel.
center - Variable in class sharpen
Java swing GUI depicting the CENTER button.
center - Variable in class stretch
Java swing GUI depicting the CENTER button.
center - Variable in class TerpPaint
This is a main_canvas value, which holds the painting.
centerSetup() - Method in class TerpPaint
Creates a new canvas, and initializes all settings, namely the scrollable picture and background colors Also there are some methods defined within method: void mousedPressed( MouseEvent ) void mouseReleased( MouseEvent ) void mouseDragged( MouseEvent ) void mouseMoved( MouseEvent ) These methods define the behavior concerning mouse events on the canvas and the currentTool It should work with all operating systems and hardware.
change - Variable in class Layer
JButton that determines the changing of the name of layer.
changeActionPerformed(ActionEvent) - Method in class Layer
This function is called by change button on GUI It changes the name of the single layer It should work with all operating systems and hardware.
changeButtonGray(JButton) - Method in class TerpPaint
This function turns a button gray It has a button object as a parameter, which is to be colored.
CHANGED - Variable in class TerpPaint
This is a boolean value that is initialize to false, never used.
changeLayer(String) - Method in class main_canvas
This method changes to another layer.
changeName - Variable in class HelpWindow
JMenuItem to see the change layer name help.
changeToGray(boolean) - Method in class TerpPaint
This function changes all the colors to the buttons to grayscale if true, to color if false.
char_out(byte, OutputStream) - Method in class LZWEncoder
Add a character to the end of the current packet, and if it is 254 characters, flush the packet to disk.
CHOICE - Variable in class canvas_size
int value to indicate inches.
choice - Class in <Unnamed>
Subclass choice providing YES, NO, or CANCEL when made changes.
choice() - Constructor for class choice
 
CHOICE - Variable in class saveChanges
Integer to signify 'YES', 'NO', and 'CANCEL'.
choice2 - Class in <Unnamed>
simple subclass representing a choice OK or CANCEL.
choice2() - Constructor for class choice2
 
choices - Variable in class emboss
java swing GUI depicting the JPanel called choices.
choices - Variable in class rotate
java swing GUI depicting the JPanel called choices.
cl_block(OutputStream) - Method in class LZWEncoder
Clear out the hash table table clear for block compress.
cl_hash(int) - Method in class LZWEncoder
Reset code table.
clear(main_canvas) - Method in class magicSelectTool
Clears the magicSelected area on the main_canvas.
clear() - Method in class main_canvas
This method sets the main image with the default size and color.
clear(main_canvas) - Method in class selectallTool
clears the selected portion of image.
clear(main_canvas) - Method in class selectTool
Clears the selected area on the main_canvas.
clear_flg - Variable in class LZWEncoder
block compression parameters -- after all codes are used up, and compression rate changes, start over.
ClearCode - Variable in class LZWEncoder
Integer representing the clear code.
ClearImage - Variable in class TerpPaint
Java swing GUI depicting the menu item called ClearImage.
ClearImageActionPerformed(ActionEvent) - Method in class TerpPaint
This method clears the screen and is called by actionPerformed.
clearLine() - Method in class TerpPaint
This method sets all sizes of the line tool to the default color of lightGray.
clearRect() - Method in class TerpPaint
This method initializes the rectangle tool to use the default color of lightGray.
ClearSelection - Variable in class TerpPaint
Java swing GUI depicting the menu item called ClearSelection.
ClearSelectionActionPerformed(ActionEvent) - Method in class TerpPaint
This function is called when the user wants to clear the painting.
clickAction(MouseEvent, main_canvas) - Method in class brushTool
This method controls the colors when you click left or right.
clickAction(MouseEvent, main_canvas) - Method in class bucketTool
Controls what the user clicks as specified by the MouseEvent and main_canvas passed in.
clickAction(MouseEvent, main_canvas) - Method in class curveTool
Allows the user to click on the cavas using the curveTool.
clickAction(MouseEvent, main_canvas) - Method in class ellipseTool
Allows the user to click on the cavas using the ellipseTool.
clickAction(MouseEvent, main_canvas) - Method in class eraserTool
Allows the user to click on the canvas using the eraserTool.
clickAction(MouseEvent, main_canvas) - Method in class letterTool
Allows the user to click the mouse using the letterTool.
clickAction(MouseEvent, main_canvas) - Method in class lineTool
Allows the user to click on the canvas using the lineTool.
clickAction(MouseEvent, main_canvas) - Method in class magicSelectTool
Allows the user to click on the canvas, and begin magicSelecting, as specified by the coordinates passed in by MouseEvent.
clickAction(MouseEvent, main_canvas) - Method in class medicineTool
Presents the mouse event when a mouse button is pressed on a component without moving the mouse cursor.
clickAction(MouseEvent, main_canvas) - Method in interface ourTool
Called whenever the mouse is clicked.
clickAction(MouseEvent, main_canvas) - Method in class pencilTool
Allows the user to click the mouse, using the pencilTool.
clickAction(MouseEvent, main_canvas) - Method in class polygonTool
allows the user to click on the canvas, using the polygonTool.
clickAction(MouseEvent, main_canvas) - Method in class rectTool
Allows the user to click on the canvas, to draw a rectangle.
clickAction(MouseEvent, main_canvas) - Method in class roundedRectTool
This function initializes the starting point for a corner of the rounded rectangle to be drawn.
clickAction(MouseEvent, main_canvas) - Method in class selectallTool
Allows the user to click on the canvas and select all of the image.
clickAction(MouseEvent, main_canvas) - Method in class selectTool
Allows the user to click on the canvas, and begin selecting, as specified by the coordinates passed in by MouseEvent.
clickAction(MouseEvent, main_canvas) - Method in class sprayTool
Allows the user to click on the canvas, using the spray tool.
clickAction(MouseEvent, main_canvas) - Method in class zoomTool
Adjusts the canvas's zooming size by listening for the MouseEvent.
clicks - Variable in class curveTool
This is used as a flag, showing which state are you at.
clipBoardHeight - Variable in class TerpPaint
The height of the image in the clipboard, initialized to 0.
clipBoardWidth - Variable in class TerpPaint
The width of image in the clipboard, initialized to 0.
close() - Method in interface TerpOfficeAppInterface
Closes the application.
Close - Variable in class TerpPaint
Java swing GUI depicting the menu item called Close.
close() - Method in class TerpPaint
This method closes the window.
close() - Method in class TerpPaintContainer
A TerpPaint object created in TerpPaintContainer class calls a dipose function from TerpPaint class.
CloseActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the saving operation 1.
closeDialog(WindowEvent) - Method in class AllLayers
This method closes a dialog window.
closeDialog(WindowEvent) - Method in class attributes
This method performs the action by the user.
closeDialog(WindowEvent) - Method in class blur
Closes the dialog.
closeDialog(WindowEvent) - Method in class brightness
Closes the dialog.
closeDialog(WindowEvent) - Method in class canvas_size
closes the dialog box without changing the size There is no state of transition The argument is an ActionEvent variable.
closeDialog(WindowEvent) - Method in class emboss
Closes the dialog.
closeDialog(WindowEvent) - Method in class preferences
Closes the dialog.
closeDialog(WindowEvent) - Method in class rotate
Closes the dialog.
closeDialog(WindowEvent) - Method in class saveChanges
Closes the dialog.
closeDialog(WindowEvent) - Method in class SlideShow
This closes the slideshow automatically when finishing showing all images at the end.
closeDialog(WindowEvent) - Method in class stretch
Closes the dialog.
closeDialog(WindowEvent) - Method in class Text
Closes the dialog window.
closeDialog(WindowEvent) - Method in class viewBitmap
Not implemented yet.
closeStream - Variable in class AnimatedGifEncoder
boolean that represents closing the stream when finished (False) and not closing the stream (True).
cm - Variable in class attributes
This is a JRadioButton variable.
cm - Variable in class canvas_size
This is a JRadioButton variable cm.
cmActionPerformed(ActionEvent) - Method in class attributes
This method performs the action by the user.
cmActionPerformed(ActionEvent) - Method in class canvas_size
converts the values in th textboxes to cm units There is no state of transition The argument is an ActionEvent variable.
cmHeight - Variable in class attributes
Assigns the height of the cm.
cmHeight - Variable in class canvas_size
Assigns the height in cms.
cmWidth - Variable in class attributes
Assigns the width of the cm.
cmWidth - Variable in class canvas_size
Assigns the width in cms.
codetab - Variable in class LZWEncoder
Integer Array of size HSIZE.
color - Variable in class attributes
This is a JLabel variable.
color - Variable in class canvas_size
This is a JLabel variable.
color1 - Variable in class TerpPaint
Java swing GUI depicting the color1 button.
color1MouseClicked(MouseEvent) - Method in class TerpPaint
Sets color1 as the active color by mouse click.
color2 - Variable in class TerpPaint
Java swing GUI depicting the color2 button.
color2MouseClicked(MouseEvent) - Method in class TerpPaint
Sets color2 as the active color by mouse click.
color3 - Variable in class TerpPaint
Java swing GUI depicting the color3 button.
color3MouseClicked(MouseEvent) - Method in class TerpPaint
Sets color3 as the active color by mouse click.
color4 - Variable in class TerpPaint
Java swing GUI depicting the color4 button.
color4MouseClicked(MouseEvent) - Method in class TerpPaint
Sets color4 as the active color by mouse click.
color5 - Variable in class TerpPaint
Java swing GUI depicting the color5 button.
color5MouseClicked(MouseEvent) - Method in class TerpPaint
Sets color5 as the active color by mouse click.
color6 - Variable in class TerpPaint
Java swing GUI depicting the color6 button.
color6MouseClicked(MouseEvent) - Method in class TerpPaint
Sets color6 as the active color by mouse click.
color7 - Variable in class TerpPaint
Java swing GUI depicting the color7 button.
color7MouseClicked(MouseEvent) - Method in class TerpPaint
Sets color7 as the active color by mouse click.
color_menu - Variable in class TerpPaint
Java swing GUI depicting the panel for the color menu.
ColorBox - Variable in class TerpPaint
Java swing GUI depicting the check box menu item called ColorBox.
ColorBoxActionPerformed(ActionEvent) - Method in class TerpPaint
Displays color_menu panel if not already visibile, closes panel if is visibile.
colorDepth - Variable in class AnimatedGifEncoder
int that represents the number of bit planes.
colorIndex - Variable in class converter
Color index.
colorMap() - Method in class NeuQuant
 
colors - Variable in class attributes
This is a ButtonGroup variable.
colors - Variable in class canvas_size
This is a ButtonGroup variable.
Colors - Variable in class TerpPaint
Java swing GUI depicting the menu called Colors.
colors - Variable in class TerpPaint
Java swing GUI depicting the panel called colors.
colorScale - Variable in class attributes
This is a JRadioButton variable.
colorScale - Variable in class canvas_size
This is a JRadioButton variable.
colorTab - Variable in class AnimatedGifEncoder
byte array that represents the RGB palette.
colorTable - Variable in class converter
Color table array.
colorTable - Variable in class TerpPaint
This vector holds all the current colors in the color toolbox.
compress(int, OutputStream) - Method in class LZWEncoder
Compress code table.
container - Variable in class LogoAnimator
image container.
contest(int, int, int) - Method in class NeuQuant
 
converter - Class in <Unnamed>
This class initialize all the variables including the the integers, pixels and so fourth.
converter() - Constructor for class converter
 
convertImage(Image, int, int) - Method in class converter
convertImage converts the memory image to the bitmap format (BRG).
coords - Class in <Unnamed>
coords subclass included in Fill class.
coords(int, int) - Constructor for class coords
Constructor for class coords.
coords2 - Class in <Unnamed>
coords2 subclass included in Fill class.
coords2(int, int) - Constructor for class coords2
Constructor for class coords2.
copiedFrom() - Method in interface TerpClipboardInterface
This function returns an integer which tells the program which TerpOffice application the copy came from.
Copy - Variable in class TerpPaint
Java swing GUI depicting the menu item called Copy.
CopyActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to copy the drawing that you have.
copyColor - Variable in class HelpWindow
JMenuItem to see the medicine tool help.
copymove - Variable in class HelpWindow
JMenuItem to see the copy-move selection help.
copypaste - Variable in class HelpWindow
JMenuItem to see the copy/paste help.
CopyTo - Variable in class TerpPaint
Java swing GUI depicting the menu item called CopyTo.
cordinates - Variable in class TerpPaint
Java swing GUI depicting the panel for the coordinates.
counter - Variable in class LogoAnimator
counter.
createNew - Variable in class preferences
Java swing GUI depicting the button for the option to create a new file for paste to File.
CreateNew - Variable in class prefsState
This is the boolean state of the new File copy.
createNewActionPerformed(ActionEvent) - Method in class preferences
This method is for the create new action.
createPictures - Variable in class HelpWindow
JMenu titled TerpPaint Help.
cur - Variable in class Fill
The coordinates that is used to move around in the coord array of pixels and keep track which of the coords is not colored.
cur - Variable in class magicSelectTool
The coordinates that is used to move around in the coord array of pixels and keep track which of the coords2 is not colored.
cur_accum - Variable in class LZWEncoder
Integer representing the Current Accumulation.
cur_bits - Variable in class LZWEncoder
Integer representing the Current Bits.
curBrush - Variable in class TerpPaint
The variable for the current selected button for brush.
curButton - Variable in class TerpPaint
This is the currently selected button variable.
curCurve - Variable in class TerpPaint
The variable for the current selected button for curve.
curEllipse - Variable in class TerpPaint
The variable for the current selected button for elipse.
curImage - Variable in class curveTool
This is used to store the current Image that we have.
curImage - Variable in class ellipseTool
Stores the current BufferedImage of the main_canvas.
curImage - Variable in class lineTool
BufferedImage object that represents the current image.
curImage - Variable in class magicSelectTool
Holds the current image.
curImage - Variable in class rectTool
Holds the current image and the saved backup image.
curImage - Variable in class roundedRectTool
Holds the current image and the saved backup image.
curImage - Variable in class selectallTool
Holds the current, backup, selected and pasted image.
curImage - Variable in class selectTool
Holds the current image.
curImage - Variable in class zoomTool
Holds the current, backup, selected and pasted image.
curLabel - Variable in class AllLayers
GUI label stating that category is current.
curLine - Variable in class TerpPaint
The variable for the current selected button for line.
curPixel - Variable in class LZWEncoder
Integer representing current pixel.
curPolygon - Variable in class polygonTool
used within methods clickAction, mouseReleaseAction and deSelect.
curPolygon - Variable in class TerpPaint
The variable for the current selected button for polygon.
current - Variable in class Layer
GUI JRadioButtonMenuItem for current layer.
current_colors - Variable in class TerpPaint
Java swing GUI depicting the panel for the current colors.
CURRENT_FILE - Variable in class TerpPaint
This is a string value that is initialize to "untitled", and is the name used in the title of window.
current_font - Variable in class main_canvas
Font object that represents a current font style.
current_stroke - Variable in class main_canvas
Stroke object that represents the current stroke.
currentActionPerformed(ActionEvent) - Method in class Layer
This function sets the current layer to display It should work with all operating systems and hardware.
currentColor - Variable in class TerpPaint
this Jbutton holds the button of the current right-color.
currentCursor - Variable in class TerpPaint
This is a Cursor value that is initialize defaultCursor.
currentFont - Static variable in class letterTool
Holds the size of the current Font.
currentGroup - Static variable in class AllLayers
currentGroup is a ButtonGroup that holds the grouping of current Layer buttons.
currentImage - Variable in class LogoAnimator
current image index.
currentLayer - Variable in class main_canvas
current layer.
currentSize - Static variable in class letterTool
Holds the state of the font's current size.
currentTool - Variable in class TerpPaint
This creates a new tool from ourTool which holds the current tool.
curRoundRect - Variable in class TerpPaint
The variable for the current selected button for round rectangle.
cursorPolygon - Variable in class magicSelectTool
magicSelected free-hand area, closed polygon.
cursorPolygon - Variable in class selectTool
selected free-hand area, closed polygon.
curSpray - Variable in class TerpPaint
The variable for the current selected button for spray.
curSquare - Variable in class TerpPaint
The variable for the current selected button for square.
curve - Variable in class main_canvas
Default curve false.
curve - Variable in class TerpPaint
Java swing GUI depicting the button called curve.
curveActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and changes current tool to toolCurve.
curveStroke - Variable in class curveTool
This is used as the line attributes for the Graphics2D.
curveTool - Class in <Unnamed>
This is a class for the curve tool which is located at row 6 column 2 of the drawing icon.
curveTool() - Constructor for class curveTool
Creates a curveTool and initializes the curveStroke to 1.
curX - Variable in class magicSelectTool
x coordinate of current mouse position.
curX - Variable in class polygonTool
used in clickAction and mouseReleaseAction.
curX - Variable in class selectTool
x coordinate of current mouse position.
curY - Variable in class magicSelectTool
y coordinate of current mouse position.
curY - Variable in class polygonTool
used in clickAction and mouseReleaseAction.
curY - Variable in class selectTool
y coordinate of current mouse position.
curZoom - Variable in class TerpPaint
The variable for the current selected button for zoom.
Custom - Variable in class TerpPaint
Java swing GUI depicting the menu item called Custom.
CustomActionPerformed(ActionEvent) - Method in class TerpPaint
This function will perform 2 operation.
customColors - Variable in class HelpWindow
JMenuItem to see the edit colors help.
Cut - Variable in class TerpPaint
Java swing GUI depicting the menu item Cut.
CutActionPerformed(ActionEvent) - Method in class TerpPaint
this function allows you to do the cut action.
cutBackground(BufferedImage, Color) - Method in class magicSelectTool
RightColor is painted over magicSelected area to be cut.
cutBackground(BufferedImage, Color) - Method in class selectTool
RightColor is painted over selected area to be cut.
cyan - Variable in class TerpPaint
Java swing GUI depicting the cyan button.
cyanMouseClicked(MouseEvent) - Method in class TerpPaint
Sets cyan as the active color by mouse click.
cycle - Variable in class LogoAnimator
cycle.
cycleNumber - Variable in class preferences
Java swing GUI depicting the text field of the number of cycles used when animating.
CycleNumber - Variable in class prefsState
This is value for the number of loops.
cycleNumberActionPerformed(ActionEvent) - Method in class preferences
This method is for the cycle Number.

D

d - Variable in class converter
DataInputStream object to be used with byte-based file stream.
decodeImageData() - Method in class GifDecoder
Decodes LZW image data into pixel array.
defaultCursor - Variable in class TerpPaint
This is a Cursor value that is created by the constructor.
degrees - Variable in class emboss
java swing GUI depicting the button group called degrees.
degrees - Variable in class rotate
java swing GUI depicting the button group called degrees.
delay - Variable in class AnimatedGifEncoder
int that represents the frame delay in hundredths.
delay - Variable in class GifDecoder
Delay in milliseconds.
delay - Variable in class GifDecoder.GifFrame
An int representing the delay.
description - Variable in class TerpPaintFileFilter
String which is used for the description of the file.
deSelect(main_canvas) - Method in class curveTool
Sets the width of the curved line and will draw the the curved line if the state is not state 1.
deSelect(main_canvas) - Method in class magicSelectTool
Resets canvas to backup image and resets all data members and flags to false.
deSelect(main_canvas) - Method in class polygonTool
Allows for the deselecting of the polygon.
deSelect(main_canvas) - Method in class selectallTool
Resets canvas to backup image and resets all data members and flags to original values.
deSelect(main_canvas) - Method in class selectTool
Resets canvas to backup image and resets all data members and flags to false.
direction - Variable in class AllLayers
GUI panel that groups the movable directions of layers.
displayArea - Variable in class KeyEventDemo
JTextArea object used for debugging.
displayInfo(KeyEvent, String) - Method in class KeyEventDemo
We have to jump through some hoops to avoid trying to print non-printing characters such as Shift.
dispose - Variable in class AnimatedGifEncoder
int that represents the disposal code (-1 = use default).
dispose - Variable in class GifDecoder
Last graphic control extension info.
DOT1 - Variable in class brushTool
this is a int variable.
dot1 - Variable in class TerpPaint
Java swing GUI depicting the brush dot width smallest.
dot1ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the dot size of a brushTool to 1 and is called by actionPerformed.
DOT2 - Variable in class brushTool
this is a int variable.
dot2 - Variable in class TerpPaint
Java swing GUI depicting the brush dot width medium.
dot2ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the dot size of a brushTool to 2 and is called by actionPerformed.
DOT3 - Variable in class brushTool
this is a int variable.
dot3 - Variable in class TerpPaint
Java swing GUI depicting the brush dot width biggest.
dot3ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the dot size of a brushTool to 3 and is called by actionPerformed.
doTransition(BufferedImage) - Method in class LogoAnimator
This method blurs the image to create transition effect.
down - Variable in class AllLayers
GUI button that depicts moving a layer down function.
downActionPerformed(ActionEvent) - Method in class AllLayers
This method is called by down button.
dragAction(MouseEvent, main_canvas) - Method in class brushTool
This method controls the position or location of the brush as it is moved by the user.
dragAction(MouseEvent, main_canvas) - Method in class bucketTool
Should allow the user to drag the bucket as specified by the MouseEvent and main_canvas passed in.
dragAction(MouseEvent, main_canvas) - Method in class curveTool
Allows the user to drag the mouse using the curveTool.
dragAction(MouseEvent, main_canvas) - Method in class ellipseTool
Allows the user to draw an ellipse and drag it to the preferred size.
dragAction(MouseEvent, main_canvas) - Method in class eraserTool
Allows the user to drag the mouse using the eraserTool, and therefore, allows the user to erase until the mouse is released.
dragAction(MouseEvent, main_canvas) - Method in class letterTool
Allows the user to drag the mouse, using the letter Tool.
dragAction(MouseEvent, main_canvas) - Method in class lineTool
Allows the user to drag the mouse using the lineTool, once the mouse has been clicked and clickAction has been called.
dragAction(MouseEvent, main_canvas) - Method in class magicSelectTool
Allows the user to drag the mouse and magicSelect more according to the movement of the mouse.
dragAction(MouseEvent, main_canvas) - Method in class medicineTool
Allows the user to drag the mouse, using the medicineTool.
dragAction(MouseEvent, main_canvas) - Method in interface ourTool
Called for all dragging actions.
dragAction(MouseEvent, main_canvas) - Method in class pencilTool
Allows the user to drag the mouse, using the pencil tool once the mouse has been clicked.
dragAction(MouseEvent, main_canvas) - Method in class polygonTool
Allows the user to drag the mouse on the canvas, using the polygonTool.
dragAction(MouseEvent, main_canvas) - Method in class rectTool
Allows the user to drag the mouse on the canvas and stretch the rectangle.
dragAction(MouseEvent, main_canvas) - Method in class roundedRectTool
Uses the dragging mouse position as the opposite corner of the rectangle, and repaints the rectangle to be painted as the mouse moves.
dragAction(MouseEvent, main_canvas) - Method in class selectallTool
Selects a rectangle according to movement of mouse, as specified by the coordinates of MouseEvent.
dragAction(MouseEvent, main_canvas) - Method in class selectTool
Allows the user to drag the mouse and select more according to the movement of the mouse.
dragAction(MouseEvent, main_canvas) - Method in class sprayTool
Allows the user to drag the spraying action.
dragAction(MouseEvent, main_canvas) - Method in class zoomTool
Allows the user to drag the mouse, but is unnecessary for zooming.
dragged - Variable in class curveTool
This is a boolean used to indicate whether the mouse has been dragged or not.
dragged - Variable in class ellipseTool
Boolean which indicates whether the mouse has been dragged or not, once clicked.
dragged - Variable in class lineTool
The status of the drag event.
dragged - Variable in class magicSelectTool
Used as a flag to determine if the mouse was dragged.
dragged - Variable in class polygonTool
initialized to false, but set to true when dragAction is called.
dragged - Variable in class rectTool
initialized to false and set to false in clickAction because the mouse has not yet moved.
dragged - Variable in class roundedRectTool
Used as a flag detecting if the mouse was dragged.
dragged - Variable in class selectallTool
Used as a flag to determine if the mouse was dragged.
dragged - Variable in class selectTool
Used as a flag to determine if the mouse was dragged.
dragged - Variable in class zoomTool
Whether the user dragged or not.
drawBrush(int, int) - Method in class brushTool
Draws the brush strokes on the canvas according to the width and height of the x and y ints passed in.
drawCurve(MouseEvent, Graphics2D, main_canvas) - Method in class curveTool
Draws a curve once the mouse has been clicked more than once.
drawCurve - Variable in class HelpWindow
JMenuItem to see the curve tool help.
drawEllipse(MouseEvent, Graphics2D, main_canvas) - Method in class ellipseTool
Performs the drawing of the ellipse.
drawEllipse - Variable in class HelpWindow
JMenuItem to see the ellipse tool help.
drawIt(Shape) - Method in class main_canvas
This method creates and draws the graphics and adds to the image list.
drawLine(MouseEvent, Graphics2D, main_canvas) - Method in class curveTool
Draws one straight line once the user clicks on the canvas.
drawLine - Variable in class HelpWindow
JMenuItem to see the line tool help.
drawLine(MouseEvent, Graphics2D, main_canvas) - Method in class lineTool
Draws the line as specified by the parameters passed in.
drawOpaque - Variable in class magicSelectTool
Sets drawOpaque to true.
drawOpaque - Variable in class selectallTool
Flag used to determine if drawOpaque is on or not.
drawOpaque - Variable in class selectTool
Sets drawOpaque to true.
DrawOpaque - Variable in class TerpPaint
Java swing GUI depicting the check box menu item called DrawOpaque.
DrawOpaqueActionPerformed(ActionEvent) - Method in class TerpPaint
This function will draw an Opaque.
drawPencil - Variable in class HelpWindow
JMenuItem to see the pencil tool help.
drawPoly - Variable in class HelpWindow
JMenuItem to see the poly tool help.
drawRect - Variable in class HelpWindow
JMenuItem to see the rect tool help.
drawRectangle(int, int, int, int, MouseEvent, Graphics2D, main_canvas) - Method in class rectTool
Draws the rectangle and sets the color of the border and the fill.
drawRoundRect(int, int, int, int, MouseEvent, Graphics2D, main_canvas) - Method in class roundedRectTool
Updates the current display of canvas.
drawStuff(MouseEvent, int, int, main_canvas) - Method in class brushTool
This method controls all the other methods in order to draw what the user intends to do.
drk_gray - Variable in class TerpPaint
Java swing GUI depicting the dark gray button.
drk_grayMouseClicked(MouseEvent) - Method in class TerpPaint
Sets dark gray as the active color by mouse click.
dropperImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage(), for cursor.

E

east - Variable in class emboss
java swing GUI depicting the JRadioButton called east.
eastBound - Static variable in class Fill
The column number of pixels.
eastBound - Static variable in class magicSelectTool
The column number of pixels.
edge - Class in <Unnamed>
The user can get the edges of the image.
edge(Frame, boolean) - Constructor for class edge
Creates new form edge.
Edge - Variable in class TerpPaint
Java swing GUI depicting the menu item called Edge.
edge_panel - Variable in class edge
Java swing GUI depicting the edge button.
edge_value - Variable in class edge
Java swing GUI depicting the textfield of the edge change ratio value.
EdgeActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the edge detection capabilities of TerpPaint.
Edit - Variable in class TerpPaint
Java swing GUI depicting the menu called Edit.
EditActionPerformed(ActionEvent) - Method in class TerpPaint
There is no code in this one.
EditColors - Variable in class TerpPaint
Java swing GUI depicting the menu item called EditColors.
EditColorsActionPerformed(ActionEvent, JButton) - Method in class TerpPaint
This method resets the background color to that chosen by user and is called by actionPerformed.
elipse - Variable in class main_canvas
Default elipse false.
elipse - Variable in class TerpPaint
Java swing GUI depicting the button called elipse.
elipseActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and changes current tool to toolEllipse.
ellipseTool - Class in <Unnamed>
This is a class for the ellipse tool which is located at row 8 column 1 of the drawing icon.
ellipseTool() - Constructor for class ellipseTool
 
emboss - Class in <Unnamed>
A emboss object is a dialogue box that allows the user to emboss the entire image.
emboss(Frame, boolean) - Constructor for class emboss
Constructor initializes the emboss dialog box and displays it and waits for user input.
Emboss - Variable in class TerpPaint
Java swing GUI depicting the menu item called Emboss.
EmbossActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the emboss capabilities of TerpPaint.
encode(OutputStream) - Method in class LZWEncoder
This method does the encoding and sends to an output stream.
endX - Variable in class magicSelectTool
x coord of release of click.
endX - Variable in class selectallTool
Holds the starting X,Y and ending X,Y.
endX - Variable in class selectTool
x coord of release of click.
endY - Variable in class magicSelectTool
y coord of release of click.
endY - Variable in class selectallTool
Holds the starting X,Y and ending X,Y.
endY - Variable in class selectTool
y coord of release of click.
EOF - Static variable in class LZWEncoder
Integer representing End Of File value.
EOFCode - Variable in class LZWEncoder
Integer representing the EOF code.
eraseImage - Variable in class eraserTool
Holds the BufferedImage that we use to create the graphic to do the erasing.
eraseimage - Variable in class HelpWindow
JMenuItem to see the selectall function help.
eraser - Variable in class HelpWindow
JMenuItem to see the eraser tool help.
eraser - Variable in class main_canvas
Default eraser false.
eraser - Variable in class TerpPaint
Java swing GUI depicting the button called eraser.
eraserActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and changes current tool to tool Changes current cursor to eraserCursor and changes current button to eraser button.
eraserImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage(), for cursor.
eraserImg2 - Variable in class TerpPaint
This is an Image value that is initialize by getImage(), for cursor.
eraserImg3 - Variable in class TerpPaint
This is an Image value that is initialize by getImage(), for cursor.
eraserImg4 - Variable in class TerpPaint
This is an Image value that is initialize by getImage(), for cursor.
eraserNormalImg - Variable in class TerpPaint
image of eraser cursor in normal zoom.
eraserSize - Variable in class eraserTool
Holds the size of the eraser.
eraserTool - Class in <Unnamed>
This is a class for the eraser tool which is located at row 2 column 1 of the drawing icon.
eraserTool() - Constructor for class eraserTool
Creates an eraserTool and initializes its size to 6.
eraseselect - Variable in class HelpWindow
JMenuItem to see the selection tool help.
err() - Method in class GifDecoder
Returns true if an error was encountered during reading/decoding.
Exit - Variable in class TerpPaint
Java swing GUI depicting the menu item called Exit.
exit() - Method in class TerpPaint
This method exits the program.
ExitActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the saving operation 1.
exitForm(WindowEvent) - Method in class TerpPaint
This method exits the Application entirely.
Export - Variable in class TerpPaint
Java swing GUI depicting the menu item called Export.
ExportActionPerformed(ActionEvent) - Method in class TerpPaint
ExportActionPerformed performs "Copy To" It should work with all operating systems and hardware.

F

families - Variable in class Text
java swing GUI depicting the JComboBox families.
familiesActionPerformed(ActionEvent) - Method in class Text
Sets the current font as the selected font when a font among the family of fonts is selected.
family_list - Variable in class Text
Array of families.
file - Variable in class HelpWindow
File that contains the filepath of the html file to be decoded.
File1 - Variable in class TerpPaint
Java swing GUI depicting the menu called File1.
File1ActionPerformed(ActionEvent) - Method in class TerpPaint
no codehere.
file2 - Variable in class HelpWindow
File that contains the parent path of file to be opened.
fileName - Variable in class saveChanges
Creates new form saveChanges.
filename - Variable in class SlideShow
Describes the file name.
filename - Variable in class TerpPaint
String for filename of current open file.
FileName1 - Variable in class TerpPaint
The JMenuItem that corresponds to opening the first recent file.
FileName2 - Variable in class TerpPaint
The JMenuItem that corresponds to opening the second recent file.
FileName3 - Variable in class TerpPaint
The JMenuItem that corresponds to opening the third recent file.
FileName4 - Variable in class TerpPaint
The JMenuItem that corresponds to opening the fourth recent file.
FileNameActionPerformed(ActionEvent, int) - Method in class TerpPaint
This function opens the appropriate recentfile, according to the param passed It should work with all operating systems and hardware.
filePrefs - Variable in class preferences
Java swing GUI depicting the File panel.
files_in_directory - Variable in class SlideShow
This is of class File which contains the files in the current directory to show a slide show on.
fileshown - Variable in class HelpWindow
HTMLDisplay of the fileshown.
FileToBufferedImage(FileInputStream) - Method in class converter
This method sets up the image in the buffer.
Fill - Class in <Unnamed>
Fill class is used to fill a color to the whole area of the main canvas.
Fill(BufferedImage, int, int, int) - Constructor for class Fill
Constructor for the fill class.
fill - Static variable in class Fill
The new color to fill the pixel with the colors wanted.
fillArea - Variable in class HelpWindow
JMenuItem to see the fill tool help.
fillIt() - Method in class Fill
fillIt does the coloring.
fillType - Variable in class ellipseTool
Represents which of the 3 ways the ellipse will be drawn: a left color border with white background, left color border with left background or a left color border with right color background.
fillType - Variable in class magicSelectTool
Used to set the fill type, ranging from 1-3.
fillType - Variable in class polygonTool
Initialized to 1 as default.
fillType - Variable in class rectTool
initializes fillType to 1.
fillType - Variable in class roundedRectTool
Holds the fill type ranging from 1-3.
fillType - Variable in class selectallTool
1 = border left_color, 2 = fill with right_color, 3 = solid left_color.
fillType - Variable in class selectTool
Used to set the fill type, ranging from 1-3.
filter - Variable in class HelpWindow
JMenuItem to see the filter help.
Filter - Variable in class TerpPaint
Java swing GUI depicting the menu called Filter.
filters - Variable in class TerpPaintFileFilter
Hashtable which is used to store the filters.
findClosest(Color) - Method in class AnimatedGifEncoder
Returns index of palette color closest to c.
finish() - Method in class AnimatedGifEncoder
Flushes any pending data and closes output file.
firstFrame - Variable in class AnimatedGifEncoder
boolean that represents animation is on the first frame(True) and not on the first frame (False).
firstX - Variable in class curveTool
This is used to store the x coordinate of the place where the mouse is clicked.
firstY - Variable in class curveTool
This is used to store the y coordinate of the place where the mouse is clicked.
fixedSize - Variable in class preferences
Java swing GUI depicting the button for the option to use specified size for new files.
FixedSize - Variable in class prefsState
This is the boolean state of the new File creation.
fixedSizeActionPerformed(ActionEvent) - Method in class preferences
This method is for the fixed size action.
flatten - Variable in class AllLayers
GUI button that depicts the flatten a layer function.
flatten - Variable in class HelpWindow
JMenuItem to see the flatten layers help.
Flatten - Variable in class TerpPaint
Java swing GUI depicting the JMenuItem called Flatten.
flattenActionPerformed(ActionEvent) - Method in class AllLayers
This method is called by flatten button.
FlattenActionPerformed(ActionEvent) - Method in class TerpPaint
This function flatten all layers ActionEvent object as a parameter.
flattenLayer() - Method in class AllLayers
This method is called by the flattenActionPerformed.
flattenLayer(JDialog) - Method in class main_canvas
This method flattens all layers into one.
flavors - Static variable in class UMClipObj
Array containing the supported DataFlavors.
flip90(BufferedImage) - Method in class rotate
This method flips the image with 90 degrees.
flipHorizontal - Variable in class rotate
java swing GUI depicting the JRadioButton called flipHorizontal.
flipHorizontalActionPerformed(ActionEvent) - Method in class rotate
This method flips the image horizontally.
flipInt(byte[]) - Method in class converter
Reads byte array object and converts it to short value.
flipLong(byte[]) - Method in class converter
Reads byte array object and converts it to int value.
fliprotate - Variable in class HelpWindow
JMenuItem to see the flip/rotate help.
FlipRotate - Variable in class TerpPaint
Java swing GUI depicting the menu item FlipRotate.
FlipRotateActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to flip and rotate your drawing.
flipVertical - Variable in class rotate
java swing GUI depicting the JRadioButton called flipVertical.
flipVerticalActionPerformed(ActionEvent) - Method in class rotate
This methods flips the image vertically.
flush_char(OutputStream) - Method in class LZWEncoder
Flush the packet to disk, and reset the accumulator.
fo - Variable in class converter
FileOutputStream object that performs byte-based output stream.
font - Variable in class OurFont
initializes the String "font" to be empty.
font_list - Variable in class Text
Array of fonts.
fontIndex - Static variable in class Text
holds the index of the font, initialized to 0.
formKeyPressed(KeyEvent) - Method in class SlideShow
This method is used to exit slideshow screen anytime the user wants to finish it by hitting escape key.
formMouseClicked(MouseEvent) - Method in class SlideShow
This method figures out which mouse event was clicked and then shows the appropriate image in the queue.
formMouseClicked(MouseEvent) - Method in class splash
This method listens to the user's mouse.
formMouseClicked(MouseEvent) - Method in class viewBitmap
Makes image in full screen mode by disposing GUI components.
frameCount - Variable in class GifDecoder
Frame Count.
frames - Variable in class GifDecoder
Frames read from current file.
free_ent - Variable in class LZWEncoder
first unused entry.
freq - Variable in class NeuQuant
 
front - Variable in class AllLayers
GUI button that depicts moving a layer to the front function.
frontActionPerformed(ActionEvent) - Method in class AllLayers
This method is called by front button.
fullDescription - Variable in class TerpPaintFileFilter
String for the full description of the file.
function - Variable in class AllLayers
GUI panel that groups the functions of layers.

G

g2D - Variable in class brushTool
this is a Graphics2D variable.
g2D - Variable in class curveTool
This is a 2D graphic which is used to draw the line.
g2D - Variable in class eraserTool
Holds the graphic that is actually used to erase.
g2D - Variable in class magicSelectTool
Holds the Graphics2D.
g2D - Variable in class pencilTool
holds a Graphics2D.
g2D - Variable in class rectTool
holds a Graphics2D used in the following methods.
g2D - Variable in class selectallTool
Holds a Graphics2D.
g2D - Variable in class selectTool
Holds the Graphics2D.
g2D - Variable in class zoomTool
Holds a Graphics2D.
g2D_temp - Variable in class selectallTool
Holds a Graphics2D.
g_init_bits - Variable in class LZWEncoder
Integer.
gamma - Static variable in class NeuQuant
 
gammashift - Static variable in class NeuQuant
 
GarbageCollect - Class in <Unnamed>
This class does a save in certain iteration automatically.
GarbageCollect() - Constructor for class GarbageCollect
 
gc - Variable in class TerpPaint
garbage collection thread.
gct - Variable in class GifDecoder
Global color table.
gctFlag - Variable in class GifDecoder
Global color table used.
gctSize - Variable in class GifDecoder
Size of global color table.
gd - Variable in class main_canvas
Graphics2D object which represents the canvas.
getBold() - Method in class Text
Changes texts to a bold style.
getBrown() - Method in class TerpPaint
returns JButton brown It should work with all operating systems and hardware.
getBrushType() - Method in class brushTool
This method returns the brushType as an int.
getBufferedImage() - Method in class Fill
Returns the BufferedImage.
getBufferedImage(String, Component) - Static method in class ImageUtilities
Returns BufferedImage object that we look for.
getBufferedImage() - Method in class main_canvas
Returns the main image.
getClicks() - Method in class curveTool
Returns the number of clicks, between 1 and 3.
getCopy(BufferedImage) - Method in class main_canvas
Returns a copy of main image object.
getCopyImage(main_canvas) - Method in class magicSelectTool
Copies the magicSelected portion of the canvas, but does not alter canvas.
getCopyImage(main_canvas) - Method in class selectallTool
Returns the selected rectangle.
getCopyImage(main_canvas) - Method in class selectTool
Copies the selected portion of the canvas, but does not alter canvas.
getCurrentColor() - Method in class TerpPaint
Returns left button background color.
getCurveStroke() - Method in class curveTool
Returns the curveStroke of the current curveTool.
getCutImage(main_canvas) - Method in class magicSelectTool
Cuts magicSelected portion of image from the canvas.
getCutImage(main_canvas) - Method in class selectallTool
Copies selected image to be cut, and removes.
getCutImage(main_canvas) - Method in class selectTool
Cuts selected portion of image from the canvas.
getDelay(int) - Method in class GifDecoder
Gets display duration for specified frame.
getDescription() - Method in class TerpPaintFileFilter
This function returns a String of the human readable description of this filter.
getDragged() - Method in class curveTool
This function returns the current state of the flag dragged.
getDragged() - Method in class ellipseTool
Returns a boolean reflecting the current state of the private data member dragged.
getDragged() - Method in class lineTool
Returns a boolean reflecting the state of the flag, dragged.
getDragged() - Method in class magicSelectTool
Returns the current state of the flag dragged.
getDragged() - Method in class polygonTool
Returns the current state of the flag dragged.
getDragged() - Method in class rectTool
Returns the current state of the flag dragged.
getDragged() - Method in class roundedRectTool
This function returns the state of the flag, dragged.
getDragged() - Method in class selectallTool
This function returns the current state of the flag dragged.
getDragged() - Method in class selectTool
Returns the current state of the flag dragged.
getEraserShape(int, int) - Method in class eraserTool
Returns the Shape of the eraserTool, as specified by the x and y values passed in.
getEraserSize() - Method in class eraserTool
Returns the size of the eraser as an int.
getExtension(File) - Method in class TerpPaintFileFilter
This method returns a String object of the extension portion of the file's name.
getFamiliesSize() - Method in class Text
Returns the size of one of the different font types which is chosen by user.
getFillType() - Method in class ellipseTool
Returns the fillType of the ellipseTool as an int.
getFillType() - Method in class polygonTool
Returns the fill type, which should range from 1-3.
getFillType() - Method in class rectTool
Returns the fill type of the rectangle as an int.
getFillType() - Method in class roundedRectTool
This function returns the fill type value (1-3).
getfirstX() - Method in class curveTool
This function returns the value for firstX.
getfirstY() - Method in class curveTool
This function returns the value for firstY.
getFrame(int) - Method in class GifDecoder
Gets the image contents of frame n.
getFrameCount() - Method in class GifDecoder
Gets the number of frames read from file.
getFrameSize() - Method in class GifDecoder
Gets image size.
getG2dColor() - Method in class brushTool
This method returns the Color of g2d.
getG2dColor() - Method in class curveTool
Returns the Color of the Graphics2D, g2d.
getG2dColor() - Method in class eraserTool
This function returns the color set to the private data member g2d.
getG2dColor() - Method in class magicSelectTool
Returns the Color of the g2d.
getG2dColor() - Method in class polygonTool
Returns a Color corresponding to the private Graphics2D.
getG2dColor() - Method in class rectTool
Returns the Color corresponding to the Graphics2D g2D.
getG2dColor() - Method in class selectallTool
This function returns the Color of the g2d.
getG2dColor() - Method in class selectTool
Returns the Color of the g2d.
getGrayscale() - Method in class main_canvas
Returns the grayscale or colorscale There are no OS/Hardware dependencies and no variances.
getIcon(File) - Static method in class TerpPaint
This method is used to interact with TerpManager, It takes a File object which is an image and returns it in BufferedImage form.
GetIconTest - Class in <Unnamed>
 
GetIconTest() - Constructor for class GetIconTest
 
getImage() - Method in class GifDecoder
Gets the first (or only) image read.
getImage() - Method in class SlideShow
This function returns the main image which is of type BufferedImage.
getImage() - Method in interface TerpClipboardInterface
This BufferedImage is used to get an image from the clipboard.
getImagePixels() - Method in class AnimatedGifEncoder
Extracts image pixels into byte array "pixels".
getItalics() - Method in class Text
Changes the texts to italics.
getLine1() - Method in class TerpPaint
returns jbutton line1, width 1 It should work with all operating systems and hardware.
getLine2() - Method in class TerpPaint
returns jbutton line2, width 2 It should work with all operating systems and hardware.
getLine3() - Method in class TerpPaint
returns jbutton line3, width 3 It should work with all operating systems and hardware.
getLine4() - Method in class TerpPaint
returns jbutton line4, width 4 It should work with all operating systems and hardware.
getLine5() - Method in class TerpPaint
returns jbutton line5, width 5 It should work with all operating systems and hardware.
getLineProperties() - Method in class TerpPaint
returns lineproperties jpanel It should work with all operating systems and hardware.
getLineStroke() - Method in class lineTool
Returns the Stroke of the line.
getLoopCount() - Method in class GifDecoder
Gets the "Netscape" iteration count, if any.
getMaxUnitIncrement() - Method in class ScrollablePicture
Returns the value of maxUnitIncrement.
getMinimumSize() - Method in class LogoAnimator
return minimum size of animation There are no OS/Hardware dependencies and no variances.
getMyColor() - Method in class medicineTool
Returns the Color of medicineTool.
getMyFont() - Method in class Text
Returns the current font type.
getMyFontSize() - Method in class Text
Returns the size of the current font type.
getOk() - Method in class Text
This is performed when all work or user request is done by clicking ok option by the user.
getOldZoom() - Method in class main_canvas
Returns the size of the old zoom factor.
getOne() - Method in class TerpPaint
returns JButton one, for rectangle drawing mode 1 It should work with all operating systems and hardware.
getOpaque() - Method in class magicSelectTool
Returns true if it is set to opaque, false otherwise.
getOpaque() - Method in class selectallTool
This function returns true if it is set to opaque, false otherwise.
getOpaque() - Method in class selectTool
Returns true if it is set to opaque, false otherwise.
getPaintProperties() - Method in class TerpPaint
returns the paintproperties JPanel It should work with all operating systems and hardware.
getPasted() - Method in class magicSelectTool
Returns the current state of the flag pasted.
getPasted() - Method in class selectallTool
This function returns the current state of the flag pasted.
getPasted() - Method in class selectTool
Returns the current state of the flag pasted.
getPreferredScrollableViewportSize() - Method in class ScrollablePicture
Returns the default preferred size as determined by the layout manager.
getPreferredSize() - Method in class LogoAnimator
return preferred dimension of animation There are no OS/Hardware dependencies and no variances.
getPrefs() - Method in class TerpPaint
returns the current state of the preferences It should work with all operating systems and hardware.
getPrevX() - Method in class pencilTool
Returns the value of the data member prevX.
getPrevY() - Method in class pencilTool
Returns the value of the data member prevY.
getRed() - Method in class TerpPaint
returns red JButton It should work with all operating systems and hardware.
getRight() - Method in class TerpPaint
return right button Color It should work with all operating systems and hardware.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class ScrollablePicture
Returns the width-maxUnitIncrement or height-maxUnitIncrement according to orientation.
getScrollableTracksViewportHeight() - Method in class ScrollablePicture
Returns false any time this method is called.
getScrollableTracksViewportWidth() - Method in class ScrollablePicture
Returns false any time this method is called.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class ScrollablePicture
Returns the amount by which the picture can be scrolled in pixels, given direction.
getScrollPane() - Method in class HTMLDisplay
returns scrollpane There are no OS/Hardware dependencies and no variances.
getSecondX() - Method in class curveTool
This function returns the value for secondX.
getSecondY() - Method in class curveTool
This function returns the value for secondY.
getSelected() - Method in class magicSelectTool
Returns the current state of the flag magicSelected.
getSelected() - Method in class selectallTool
This function returns the current state of the flag selected.
getSelected() - Method in class selectTool
Returns the current state of the flag selected.
getSizeIndex(int) - Method in class Text
This returns the size at index i.
getSprayType() - Method in class sprayTool
Returns the spray type of the can as an int.
getStartX() - Method in class curveTool
This function returns the value for startX.
getStartX() - Method in class magicSelectTool
This function returns the current X-position of subimage selected.
getStartX() - Method in class selectallTool
This function returns the current X-position of subimage selected.
getStartX() - Method in class selectTool
This function returns the current X-position of subimage selected.
getStartY() - Method in class curveTool
This function returns the value for startY.
getStartY() - Method in class magicSelectTool
This function returns the current Y-position of subimage selected.
getStartY() - Method in class selectallTool
This function returns the current Y-position of subimage selected.
getStartY() - Method in class selectTool
This function returns the current Y-position of subimage selected.
getString() - Method in interface TerpClipboardInterface
This string is used to get a string from whichever application.
getStroke() - Method in class pencilTool
Returns the Stroke of g2d.
getThree() - Method in class TerpPaint
returns JButton three, for rectangle drawing mode 3 It should work with all operating systems and hardware.
getTransferData(DataFlavor) - Method in class UMClipObj
Returns the clipboard data depending on which DataFlavor is requested.
getTransferDataFlavors() - Method in class UMClipObj
Returns copy of supported DataFlavors array.
getTwo() - Method in class TerpPaint
returns JButton two, for rectangle drawing mode 2 It should work with all operating systems and hardware.
getUnderline() - Method in class Text
This adds the underline under the text.
getZoom() - Method in class main_canvas
Returns the size of the zoom factor.
getZoom() - Method in class zoomTool
Returns the value of theZoom, the state recorded by zoomTool, as an int.
GifDecoder - Class in <Unnamed>
Class GifDecoder - Decodes a GIF file into one or more frames.
GifDecoder() - Constructor for class GifDecoder
 
GifDecoder.GifFrame - Class in <Unnamed>
This is a private subclass to represent the frame for the GIF.
GifDecoder.GifFrame(BufferedImage, int) - Constructor for class GifDecoder.GifFrame
This is the constructor for the GifFrame class.
gray - Variable in class TerpPaint
Java swing GUI depicting the gray button.
grayMouseClicked(MouseEvent) - Method in class TerpPaint
Sets gray as the active color by mouse click.
grayscale - Variable in class main_canvas
Color scale or gray scale.
grayscaleFlag - Static variable in class TerpPaint
this is a int value that is initialize to 0, is 1 when grayscale is selected.
green - Variable in class TerpPaint
Java swing GUI depicting the green button.
greenMouseClicked(MouseEvent) - Method in class TerpPaint
Sets green as the active color by mouse click.
greg - Variable in class Text
java swing GUI depicting the JList called greg.
groupLayer - Variable in class AllLayers
GUI panel to group singleLayer into groups.

H

h - Variable in class attributes
takes in any string variable.
h - Variable in class canvas_size
String of numbers for height.
halfTurn - Variable in class rotate
java swing GUI depicting the JRadioButton called halfTurn.
heig - Variable in class main_canvas
height of canvas.
height - Variable in class AnimatedGifEncoder
int that represents the height of the image size.
Height - Variable in class attributes
This is a JLabel variable.
Height - Variable in class canvas_size
This is a JLabel variable to signify height textbox name.
height - Variable in class GifDecoder
Full image height.
height - Variable in class LogoAnimator
image height.
height - Variable in class preferences
Java swing GUI depicting the text field of the height of new images.
Height - Variable in class prefsState
This is value for the height of a fixed size image.
heightActionPerformed(ActionEvent) - Method in class preferences
This method is for the height action.
heightPanel - Variable in class preferences
Java swing GUI depicting the JPanel of the height.
heightText - Variable in class attributes
This is a JTextField variable.
heightText - Variable in class canvas_size
This is a JTextField variable height.
Help - Variable in class TerpPaint
Java swing GUI depicting the menu called Help.
HelpMenuActionPerformed(ActionEvent, String) - Method in class HelpWindow
This function creates the HTMLDisplay for the file selected through the menu selection.
HelpTopics - Variable in class TerpPaint
Java swing GUI depicting the menu item called HelpTopics.
HelpTopicsActionPerformed(ActionEvent) - Method in class TerpPaint
HelpTopicsActionPerformed displays Help window It should work with all operating systems and hardware.
HelpWindow - Class in <Unnamed>
This class is the JFrame that allow navigation through help menus.
HelpWindow(JFrame) - Constructor for class HelpWindow
Creates a new instance of HelpWindow, creates JFrame the same size as TerpPaint program There are no OS/Hardware dependencies and no variances.
HIDDEN_FILE - Static variable in class TerpPaintFileFilter
String representing hidden file.
holder - Variable in class AllLayers
Vector to hold the individual layers together.
horizontal - Variable in class SplashWindow
This is a variable of type int which will be the horizontal resolution of the current desktop.
horizontal_skew - Variable in class stretch
Java swing GUI depicting the textfield of the horizontal skew.
horizontal_skewActionPerformed(ActionEvent) - Method in class stretch
This method is for stretching horizontally.
horizontal_stretch - Variable in class stretch
Java swing GUI depicting the text field of the horizontal stretch.
horizontal_stretchActionPerformed(ActionEvent) - Method in class stretch
This method is for skewing horizontally.
HSIZE - Static variable in class LZWEncoder
DEFINE HSIZE AS 5003.
hsize - Variable in class LZWEncoder
for dynamic table sizing.
htab - Variable in class LZWEncoder
Integer Array of size HSIZE.
HTMLDisplay - Class in <Unnamed>
This class extends JFrame, and takes an html document and makes a JFrame from it, with the text and images in the html document.
HTMLDisplay(String, String) - Constructor for class HTMLDisplay
Constructor that takes the file name and the title There are no OS/Hardware dependencies and no variances.

I

i - Variable in class converter
Integer value to be used as an index.
i - Variable in class SlideShow
A counter variable for which picture in the slide show array.
ih - Variable in class GifDecoder
Current image rectangle.
im - Variable in class attributes
is a bufferedImage variable.
im - Variable in class canvas_size
is a bufferedImage variable.
image - Variable in class AnimatedGifEncoder
BufferedImage object that represents the current frame.
image - Variable in class GifDecoder.GifFrame
A BufferedImage object.
image - Variable in class GifDecoder
Current frame.
image - Variable in class printer
Contains the image to be printed.
Image - Variable in class TerpPaint
Java swing GUI depicting the menu called Image.
imageAttrib - Variable in class preferences
Java swing GUI depicting the image size panel.
imageAttrib2 - Variable in class preferences
Java swing GUI depicting the JPanel of image size for new files.
imageFlavorValue - Variable in class UMClipObj
String to store the image flavor value.
images - Variable in class LogoAnimator
series of layers to be displayed as part of the animation.
imagesize - Variable in class HelpWindow
JMenuItem to see the resize help.
imageSizes - Variable in class preferences
Java swing GUI depicting the button group for size creation.
ImageUtilities - Class in <Unnamed>
The ImageUtilities class provides the buffered images for the graphics.
ImageUtilities() - Constructor for class ImageUtilities
Constructs an ImageUtilities object.
img - Variable in class myCursors
This creates a variable of class Image called img.
imgH - Variable in class LZWEncoder
Integer representing image Height.
imgHeight - Variable in class bucketTool
These variable are ints that stores in the width and height.
imgW - Variable in class LZWEncoder
Integer representing image Width.
imgWidth - Variable in class bucketTool
These variable are ints that stores in the width and height.
Import - Variable in class TerpPaint
Java swing GUI depicting the menu item called Import.
ImportActionPerformed(ActionEvent) - Method in class TerpPaint
ImportActionPerformed performs "Paste From" It should work with all operating systems and hardware.
in - Variable in class GifDecoder
BufferedInputStream for reading input.
INCH - Static variable in class attributes
takes in an INT from the screen resolution.
INCH - Static variable in class canvas_size
takes in an INT from the screen resolution.
inches - Variable in class attributes
This is a JRadioButton variable.
inches - Variable in class canvas_size
This is a JRadioButton variable inches.
inchesActionPerformed(ActionEvent) - Method in class attributes
This method performs the action by the user.
inchesActionPerformed(ActionEvent) - Method in class canvas_size
converts the values in the textboxes into inches units There is no state of transition The argument is an ActionEvent variable.
inchHeight - Variable in class attributes
Assigns the height of the inch.
inchHeight - Variable in class canvas_size
Assigns the height in inches.
inchWidth - Variable in class attributes
Assigns the width of the inch.
inchWidth - Variable in class canvas_size
Assigns the width in inches.
index - Static variable in class Fill
The current position in the array.
index - Static variable in class magicSelectTool
The current position in the array.
indexedPixels - Variable in class AnimatedGifEncoder
byte array to hold converted frame indexed to palette.
init() - Method in class GifDecoder
Initializes or re-initializes reader.
init() - Method in class KeyEventDemo
 
initalpha - Static variable in class NeuQuant
 
initCodeSize - Variable in class LZWEncoder
Integer representing initial Code Size.
initComponents() - Method in class AllLayers
This method is called by the AllLayers constructor.
initComponents() - Method in class attributes
This method is called from within the constructor to initialize the form.
initComponents() - Method in class blur
This method is called from within the constructor to initialize the form.
initComponents() - Method in class brightness
This method is called from within the constructor to initialize the form.
initComponents() - Method in class canvas_size
This method is called from within the constructor to initialize the form.
initComponents() - Method in class edge
This method is called from within the constructor to initialize the form.
initComponents() - Method in class emboss
This method is called from within the constructor to initialize the form.
initComponents() - Method in class Layer
This function initializes the GUI components of the Layer class and is only called by the Layer constructor It should work with all operating systems and hardware.
initComponents() - Method in class preferences
This method is called from within the constructor to initialize the form.
initComponents() - Method in class rotate
This method is called from within the constructor to initialize the form.
initComponents() - Method in class saveChanges
This method is called from within the constructor to initialize the form.
initComponents() - Method in class sharpen
This method is called from within the constructor to initialize the form.
initComponents() - Method in class SlideShow
This method is called in SlideShow constructor to initialize the slideshow.
initComponents() - Method in class splash
This method is called from within the constructor to initialize the form.
initComponents() - Method in class stretch
This method is called from within the constructor to initialize the form.
initComponents() - Method in class TerpPaint
This method is called from within the constructor to initialize the form.
initComponents() - Method in class Text
Initalizes all the components constructing Text's GUI and registers event handling methods to relating components Called from within the constructor to initialize the form.
initComponents() - Method in class viewBitmap
This method is called from within the constructor to initialize the form.
initrad - Static variable in class NeuQuant
 
initradius - Static variable in class NeuQuant
 
Instances - Variable in class TerpPaintContainer
A TerpPaint object array to hold multiple instances of TerpPaint.
intbias - Static variable in class NeuQuant
 
intbiasshift - Static variable in class NeuQuant
 
INTEGRATOR - Static variable in interface TerpClipboardInterface
This field models the Terp Manager application which is static at 6.
interlace - Variable in class GifDecoder
Interlace flag.
interval - Variable in class HelpWindow
JMenuItem to see the animation interval preferences help.
intToDWord(int) - Method in class converter
intToDWord converts an int to a double word, where the return value is stored in a 4-byte array.
intToWord(int) - Method in class converter
intToWord converts an int to a word, where the return value is stored in a 2-byte array.
invertColors() - Method in class main_canvas
This method inverts the colors for drawing with the graphics context.
InvertColors - Variable in class TerpPaint
Java swing GUI depicting the menu item called InvertColors.
InvertColorsActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the inverting colors operation.
inxbuild() - Method in class NeuQuant
 
isDataFlavorSupported(DataFlavor) - Method in class UMClipObj
 
isExtensionListInDescription() - Method in class TerpPaintFileFilter
This function returns whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
isSelected() - Method in class magicSelectTool
Returns the current state of the flag magicSelected.
isSelected() - Method in class selectallTool
This function the state of anything being selected.
isSelected() - Method in class selectTool
Returns the current state of the flag selected.
italicness - Static variable in class letterTool
Holds the state of the font's italicness.
italics - Variable in class OurFont
initializes the public boolean "italics" to false.
italics - Variable in class Text
java swing GUI depicting the JRadioButton called italics.
itemStateChanged(ItemEvent) - Method in class main_canvas
This method responds to checkbox events.
iw - Variable in class GifDecoder
Current image rectangle.
ix - Variable in class GifDecoder
Current image rectangle.
iy - Variable in class GifDecoder
Current image rectangle.

J

j - Variable in class converter
Integer value to be used as an index.
jLabel0 - Variable in class preferences
Java swing GUI depicting the Label 0.
jLabel1 - Variable in class preferences
Java swing GUI depicting the Label 1.
jLabel1 - Variable in class saveChanges
java swing GUI depicting the JLabel called jLabell.
jLabel1 - Variable in class stretch
Java swing GUI depicting the Label 1.
jLabel2 - Variable in class preferences
Java swing GUI depicting the Label 2.
jLabel2 - Variable in class stretch
Java swing GUI depicting the Label 2.
jLabel3 - Variable in class preferences
Java swing GUI depicting the Label 3.
jLabel3 - Variable in class stretch
Java swing GUI depicting the Label 3.
jLabel4 - Variable in class blur
Java swing GUI depicting the Label 4.
jLabel4 - Variable in class brightness
Java swing GUI depicting the Label 4.
jLabel4 - Variable in class edge
Java swing GUI depicting the Label 4.
jLabel4 - Variable in class sharpen
Java swing GUI depicting the Label 4.
jLabel4 - Variable in class stretch
Java swing GUI depicting the Label 4.
jLabel5 - Variable in class stretch
Java swing GUI depicting the Label 5.
jLabel6 - Variable in class stretch
Java swing GUI depicting the Label 6.
jLabel7 - Variable in class blur
Java swing GUI depicting the Label 7.
jLabel7 - Variable in class brightness
Java swing GUI depicting the Label 7.
jLabel7 - Variable in class edge
Java swing GUI depicting the Label 7.
jLabel7 - Variable in class sharpen
Java swing GUI depicting the Label 7.
jLabel7 - Variable in class stretch
Java swing GUI depicting the Label 7.
jLabel8 - Variable in class stretch
Java swing GUI depicting the Label 8.
jLabelCycle - Variable in class preferences
Java swing GUI depicting the cycle number label.
jLabelCycle2 - Variable in class preferences
Java swing GUI depicting the cycle number parameter definition.
jSeparator1 - Variable in class TerpPaint
Java swing GUI depicting the separator called jSeparator1.
jSeparator2 - Variable in class TerpPaint
Java swing GUI depicting the separator called jSeparator2.
jSeparator3 - Variable in class TerpPaint
Java swing GUI depicting the separator called jSeparator3.
jSeparator4 - Variable in class TerpPaint
Java swing GUI depicting the separator called jSeparator4.
jSeparator5 - Variable in class TerpPaint
Java swing GUI depicting the separator called jSeparator5.
jSeparator6 - Variable in class TerpPaint
Another separator in GUI.
jSeparator7 - Variable in class TerpPaint
Java swing GUI depicting the separator called jSeparator7.
jSeparator8 - Variable in class TerpPaint
Java swing GUI depicting the separator called jSeparator8.
jSeparator9 - Variable in class TerpPaint
Java swing GUI depicting a JSeperator.

K

KeyEventDemo - Class in <Unnamed>
Class KeyEventDemo is a debugging class used to show Key Events There are no OS/Hardware dependencies and no variances.
KeyEventDemo() - Constructor for class KeyEventDemo
 
keyPressed(KeyEvent) - Method in class KeyEventDemo
Handle the key pressed event from the text field.
keyReleased(KeyEvent) - Method in class KeyEventDemo
Handle the key released event from the text field.
keyTyped(KeyEvent) - Method in class KeyEventDemo
Handle the key typed event from the text field.

L

lang - Variable in class preferences
Java swing GUI depicting the langauges panel.
lang_list - Variable in class preferences
Array of languages.
langandtran - Variable in class preferences
Java swing GUI depicting the JPanel of languages and transitions.
langs - Variable in class preferences
Java swing GUI depicting the JComboBox of the languages.
language - Variable in class HelpWindow
JMenuItem to see the language preferences help.
Large - Variable in class TerpPaint
Java swing GUI depicting the menu item called Large.
LargeActionPerformed(ActionEvent) - Method in class TerpPaint
This function will zoom you to the second largest available view and then set the background to light gray.
lassoImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage() for cursor.
lastBgColor - Variable in class GifDecoder
Previous bg color.
lastDispose - Variable in class GifDecoder
0=no action; 1=leave in place; 2=restore to bg; 3=restore to prev.
lastImage - Variable in class GifDecoder
Previous frame.
lastRect - Variable in class GifDecoder
Last image rect.
lastSelected - Variable in class attributes
any int number can be use.
lastSelected - Variable in class canvas_size
the last CHOICE value that was used.
lastSize - Variable in class preferences
Java swing GUI depicting the button for the option to use last size for new files.
LastSize - Variable in class prefsState
This is the boolean state of the new File creation.
lastSizeActionPerformed(ActionEvent) - Method in class preferences
This method is for the last size action.
lastX - Variable in class polygonTool
used in clickAction and mouseReleaseAction.
lastY - Variable in class polygonTool
used in clickAction and mouseReleaseAction.
launch(File) - Method in interface TerpOfficeAppInterface
Launches the specified file.
launch(File) - Method in class TerpPaintContainer
This function launches the program and sets a new main canvase image to the newInstance object, which is from the TerpPaint class.
launchFixed(File) - Method in class TerpPaintContainer
This function launches the program and sets a new main canvase image to the newInstance object, which is from the TerpPaint class.
launchPrompt(File) - Method in class TerpPaintContainer
This function launches the program and sets a new main canvase image to the newInstance object, which is from the TerpPaint class.
Layer - Class in <Unnamed>
Layer is used to create a new main canvas to draw upon The OS is windows.
Layer(main_canvas) - Constructor for class Layer
The Layer constructor is called by the AllLayer class when pressing the add button It should work with all operating systems and hardware.
Layer - Variable in class TerpPaint
Java swing GUI depicting the menu item called Layer.
LayerBox - Variable in class TerpPaint
Java swing GUI depicting the Layer box menu item called LayerBox.
LayerBoxActionPerformed(ActionEvent) - Method in class TerpPaint
If the layer box is visible, it makes it invisible.
layerCanvas - Variable in class Layer
layerCanvas is the main_canvas object for which each layer can draw.
layeredPane - Variable in class main_canvas
JLayeredPane object.
layerGUI() - Method in class AllLayers
This method is called to createlayer box.
layerList - Variable in class main_canvas
LinkedList object that contains the layers.
layout - Variable in class AllLayers
GUI panel to group the layout of the toolbox.
lct - Variable in class GifDecoder
Local color table.
lctFlag - Variable in class GifDecoder
Local color table flag.
lctSize - Variable in class GifDecoder
Local color table size.
learn() - Method in class NeuQuant
 
left - Variable in class TerpPaint
Java swing GUI depicting the current left colorh.
LEFT1 - Variable in class brushTool
this is a int variable.
left1 - Variable in class TerpPaint
Java swing GUI depicting the brush left-hand width smallest.
left1ActionPerformed(ActionEvent) - Method in class TerpPaint
This function will execute if you click on the brush icon and then another icon which is at row 4 column 1 at the style icon which is right above the color icon.
LEFT2 - Variable in class brushTool
this is a int variable.
left2 - Variable in class TerpPaint
Java swing GUI depicting the brush left-hand width medium.
left2ActionPerformed(ActionEvent) - Method in class TerpPaint
This function will execute if you click on the brush icon and then another icon which is at row 4 column 2 at the style icon which is right above the color icon.
LEFT3 - Variable in class brushTool
this is a int variable.
left3 - Variable in class TerpPaint
Java swing GUI depicting the brush left-hand width largest.
left3ActionPerformed(ActionEvent) - Method in class TerpPaint
This method is called by actionPerformed.
left_color - Variable in class main_canvas
Color object that represents left mouse click event color.
lengthcount - Variable in class NeuQuant
 
letter - Variable in class main_canvas
Default letter false.
letter - Variable in class TerpPaint
Java swing GUI depicting the button called letter.
letterActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes textwriting 1.
letterTool - Class in <Unnamed>
The letterTool class represents letter tools.
letterTool(Frame) - Constructor for class letterTool
Creates a letterTool and initializes a newly created java.awt.Frame object so that it represents a copy of the argument java.awt.Frame There are no OS/Hardware dependencies and no variances.
lgt_gray - Variable in class TerpPaint
Java swing GUI depicting the light gray button.
lgt_grayActionPerformed(ActionEvent) - Method in class TerpPaint
This method is called by actionPerformed.
lgt_grayMouseClicked(MouseEvent) - Method in class TerpPaint
Sets light gray as the active color by mouse click.
line - Variable in class main_canvas
Default line false.
line - Variable in class TerpPaint
Java swing GUI depicting the button called line.
line1 - Variable in class TerpPaint
Java swing GUI depicting the button for line1 width.
line1ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the lineStroke of a lineTool to size of 1 and is called by actionPerformed.
line2 - Variable in class TerpPaint
Java swing GUI depicting the button for line2 width.
line2ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the lineStroke of a lineTool to size of 2 and is called by actionPerformed.
line3 - Variable in class TerpPaint
Java swing GUI depicting the button for line3 width.
line3ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the lineStroke of a lineTool to size of 3 and is called by actionPerformed.
line4 - Variable in class TerpPaint
Java swing GUI depicting the button for line4 width.
line4ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the lineStroke of a lineTool to size of 4 and is called by actionPerformed.
line5 - Variable in class TerpPaint
Java swing GUI depicting the button for line5 width.
line5ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the lineStroke of a lineTool to size of 5 and is called by actionPerformed.
line_properties - Variable in class TerpPaint
Java swing GUI depicting the panel called line properties.
lineActionPerformed(ActionEvent) - Method in class TerpPaint
This method basically executes code when the user clicks on the LINE tool.
lineEndX - Variable in class curveTool
This is used to store the end of the line for the x coordinate.
lineEndY - Variable in class curveTool
This is used to store the end of the line for the y coordinate.
lineStroke - Variable in class lineTool
Stroke object that represents the the width of the line to be filled.
lineTool - Class in <Unnamed>
The class lineTool represents the mouse events for drawing lines, setting the line stroke.
lineTool() - Constructor for class lineTool
Creates a lineTool and initializes the lineStroke to 1.f to represent a basic Stroke.
list - Variable in class main_canvas
LinkedList object that contains the LinkedLists of BufferedImages for layers separately.
list - Variable in class SlideShow
This string array creates a new string of size zero to store the list of all files in the chosen directory.
list2 - Variable in class SlideShow
This vector only contains all images of the chosen directory.
locationHeight - Variable in class TerpPaint
The y displacement of initial window opening, where 0 is the topmost of screen.
locationWidth - Variable in class TerpPaint
The x displacement of initial window opening, where 0 is the left most of screen.
LogoAnimator - Class in <Unnamed>
The class LogoAnimator displays a series of images to create animation.
LogoAnimator() - Constructor for class LogoAnimator
initialize LogoAnimator There are no OS/Hardware dependencies and no variances.
loop - Variable in class HelpWindow
JMenuItem to see the animation looping preferences help.
loopCount - Variable in class GifDecoder
Number of Iterations; 0 = repeat forever.
lostOwnership(Clipboard, Transferable) - Method in class UMClipObj
 
LZWEncoder - Class in <Unnamed>
Adapted from Jef Poskanzer's Java port by way of J.
LZWEncoder(int, int, byte[], int) - Constructor for class LZWEncoder
This is the constructor for the LZWEncoder class.

M

MacFlag - Variable in class TerpPaint
This is a int value that is initialize to 0, = 1 when a mac computer.
madeChanges() - Method in class main_canvas
Returns true if any changes occur more than once; otherwise false.
magenta - Variable in class TerpPaint
Java swing GUI depicting the magenta button.
magentaMouseClicked(MouseEvent) - Method in class TerpPaint
Sets magenta as the active color by mouse click.
magicSelect - Variable in class TerpPaint
Java swing GUI depicting the button called magicSelect.
magicSelectActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes magicSelectTool (magic wand selection tool) 1.
magicSelected - Variable in class magicSelectTool
Used as a flag to determine if it was magicSelected.
magicSelectedImage - Variable in class magicSelectTool
Holds the backupImage, magicSelectedImage, pastedImage.
magicSelectStroke - Variable in class magicSelectTool
Holds the stroke that is magicSelected.
magicSelectStrokeW - Variable in class magicSelectTool
Holds the stroke that is magicSelected in white.
magicSelectTool - Class in <Unnamed>
This magicSelectTool uses the ourTool interface.
magicSelectTool() - Constructor for class magicSelectTool
Creates a magicSelectTool and sets the Stroke.
magicWand - Variable in class HelpWindow
JMenuItem to see the magic wand tool help.
main(String[]) - Static method in class AllLayers
This method is the initializer.
main(String[]) - Static method in class attributes
This is the method which creates a new attribute Set the args variable with strings.
main(String[]) - Static method in class blur
This method basically creates a new blur object and applies the image into it.
main(String[]) - Static method in class brightness
This method basically creates a new brightness object and applies the image into it.
main(String[]) - Static method in class canvas_size
This is the method which creates a new cnavas_size, never called Set the args variable with strings.
main(String[]) - Static method in class converter
This method is the main function that calls all the other ones There is no state transition.
main(String[]) - Static method in class edge
This method basically creates a new edge object and applies the image into it.
main(String[]) - Static method in class emboss
Creates a new emboss object.
main(String[]) - Static method in class GetIconTest
 
main(String[]) - Static method in class Layer
This is the main and does initializing.
main(String[]) - Static method in class main_canvas
Creates the main drawing frame.
main(String[]) - Static method in class preferences
This method basically creates a new STRETCH object and applies the image into it.
main(String[]) - Static method in class rotate
Creates a new rotate object.
main(String[]) - Static method in class saveChanges
Creates new saveChanges object.
main(String[]) - Static method in class sharpen
This method basically creates a new sharpen object and applies the image into it.
main(String[]) - Static method in class SlideShow
This is the main which should create an array of pictures in the presentation.
main(String[]) - Static method in class splash
This is the main.
main(String[]) - Static method in class stretch
This method basically creates a new STRETCH object and applies the image into it.
main(String[]) - Static method in class TerpPaint
This method officially launches the Paint program.
main() - Method in class UMClipObj
This function has no purpose.
main(String[]) - Static method in class viewBitmap
For debugging.
main_canvas - Class in <Unnamed>
The class main_canvas represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.
main_canvas() - Constructor for class main_canvas
Starts loading the image icons.
main_canvas(int, int) - Constructor for class main_canvas
main_canvas constructor that creates a canvas of the size according to params.
main_icon - Variable in class main_canvas
Shows all image icons on TerpPaint.
main_image - Variable in class main_canvas
BufferedImage object that represents main image.
main_image - Variable in class SlideShow
This field is of type BufferedImage which includes the main image.
main_image - Variable in class splash
This field is of type BufferedImage and contains an buffer of the current image.
main_image - Variable in class viewBitmap
Main image (never used).
map(int, int, int) - Method in class NeuQuant
 
masks - Variable in class LZWEncoder
An array of hex masks.
max_list_len - Variable in class main_canvas
max_list_len that indicates the max list length.
maxbits - Variable in class LZWEncoder
user settable max # bits/code.
maxcode - Variable in class LZWEncoder
maximum code, given n_bits.
MAXCODE(int) - Method in class LZWEncoder
This method returns the Max Code given the number of bits.
maxmaxcode - Variable in class LZWEncoder
should NEVER generate this code.
maxnetpos - Static variable in class NeuQuant
 
maxSize - Variable in class TerpPaintContainer
Integer representing the Maximum size.
MaxStackSize - Static variable in class GifDecoder
Max decoder pixel stack size.
MaxUndo - Static variable in class preferences
the maximum depth to which a person can undo.
maxUnitIncrement - Variable in class ScrollablePicture
The size of scrolling increment There are no OS/Hardware dependencies and no variances.
medicine - Variable in class main_canvas
Default medicine false.
medicine - Variable in class TerpPaint
Java swing GUI depicting the button called medicine.
medicineActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes medicineTool 1.
medicineTool - Class in <Unnamed>
The medicineTool class handles the image with the mouse events and color.
medicineTool() - Constructor for class medicineTool
Creates a medinceTool object.
menu_container - Variable in class TerpPaint
Java swing GUI depicting the menu bar called menu_container.
menuBar - Variable in class HelpWindow
The menubar for helpwindow.
minpicturebytes - Static variable in class NeuQuant
 
mouseReleaseAction(MouseEvent, main_canvas) - Method in class brushTool
Depending on where the user releases the mouse, this method stores the position or location of the brush.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class bucketTool
Should allow the user to release the mouse on the bucket as specified by the MouseEvent and main_canvas passed in.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class curveTool
Allows the user to release the mouse using curveTool.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class ellipseTool
Allows the user to release the mouse, once it has been clicked by the user, to stop enlarging or shrinking the ellipse.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class eraserTool
Allows the user to release the mouse, and therefore stop the erasing process.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class letterTool
Allows the user to release the mouse, using the letter Tool.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class lineTool
Allows the user to release the mouse and stop drawing the line, once the mouse has been clicked and clickAction has been called.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class magicSelectTool
Allows the user to release the mouse and therefore stop magicSelecting.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class medicineTool
Allows the user to release the mouse, using the medicineTool.
mouseReleaseAction(MouseEvent, main_canvas) - Method in interface ourTool
Called for all mouse releasing actions.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class pencilTool
Allows the user to release the mouse, using the pencilTool, once the mouse has been clicked on and clickAction has been called.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class polygonTool
Allows the user to release the mouse, and the method dragAction was called (and therefore dragged was set to true), it sets the curX and curY and adds a point to curPolygon with those coordinates.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class rectTool
Allows the user to release the mouse and stop drawing the rectangle, which was created by dragging the mouse.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class roundedRectTool
This fuction draws the rounded rectangle onto the canvas upon release of the mouse button.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class selectallTool
Allows the user to release the mouse and stop selecting.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class selectTool
Allows the user to release the mouse and therefore stop selecting.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class sprayTool
Allows the user to release the mouse, and therefore stop spraying.
mouseReleaseAction(MouseEvent, main_canvas) - Method in class zoomTool
Allows the user to release the mouse, but is unnecessary for zooming.
move - Variable in class HelpWindow
JMenuItem to see the move selection help.
moveBack - Variable in class HelpWindow
JMenuItem to see the move to back help.
moveBottom(int) - Method in class main_canvas
This method used to move a layer to the bottom of the layer stack.
moved - Variable in class magicSelectTool
Used as a flag to determine if the mouse was moved.
moved - Variable in class selectallTool
Flag to determine is it has moved.
moved - Variable in class selectTool
Used as a flag to determine if the mouse was moved.
moveDown - Variable in class HelpWindow
JMenuItem to see the move layer down help.
moveDown(int) - Method in class main_canvas
This method used to move a layer down in the layer stack.
moveFront - Variable in class HelpWindow
JMenuItem to see the move to front help.
moveFront(int) - Method in class main_canvas
This method used to move a layer to the top of the layer stack.
moveUp - Variable in class HelpWindow
JMenuItem to see the move layer up help.
moveUp(int) - Method in class main_canvas
This method used to move a layer up in the layer stack.
moving - Variable in class magicSelectTool
Used as a flag to determine if it was moving.
moving - Variable in class selectallTool
Flag to determine if it is moving.
moving - Variable in class selectTool
Used as a flag to determine if it was moving ======= private boolean pasted = false; /** Used as a flag to determine if it was moving.
mt - Static variable in class TerpPaint
This is a MediaTracker value, used in presentation() which is never called.
myColor - Variable in class medicineTool
The Color object that represents the image with the specified color.
myContainer - Variable in class TerpPaint
This is the TerpPaintContainer that contains this TerpPaint object.
myCursors - Class in <Unnamed>
This method basically uses a customized mouse pointer for use in PAINT.
myCursors() - Constructor for class myCursors
 
myDrawImage(Color) - Method in class magicSelectTool
To paste an image into the magicSelected rectangle but does not update canvas -- see setPastedImage 2 cases, if it is opaque or not.
myDrawImage(Color) - Method in class selectallTool
Pastes image into selected area but does not update canvas -- see setPastedImage.
myDrawImage(Color) - Method in class selectTool
To paste an image into the selected rectangle but does not update canvas -- see setPastedImage 2 cases, if it is opaque or not.
myFont - Variable in class Text
Current font.
MyPreferences - Variable in class TerpPaint
Java swing GUI depicting the menu item Preferenes.
myPrefs - Static variable in class TerpPaint
This is the current state of preferences.

N

n_bits - Variable in class LZWEncoder
number of bits/code.
Name - Variable in class AllLayers
String function to store name.
Name - Variable in class Layer
String to store the name of the layer.
nameLab - Variable in class AllLayers
GUI label to show category for name.
nameLab - Variable in class Layer
nameLab is JLabel that labels the name of the layer.
NameLabel - Variable in class AllLayers
GUI label stating that category is for Name of layers.
nameList - Variable in class main_canvas
Vector object holding the Layer names.
ncycles - Static variable in class NeuQuant
 
netbiasshift - Static variable in class NeuQuant
 
netindex - Variable in class NeuQuant
 
netsize - Static variable in class NeuQuant
 
network - Variable in class NeuQuant
 
NeuQuant - Class in <Unnamed>
NeuQuant Neural-Net Quantization Algorithm ------------------------------------------ Copyright (c) 1994 Anthony Dekker NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994.
NeuQuant(byte[], int, int) - Constructor for class NeuQuant
 
New - Variable in class TerpPaint
Java swing GUI depicting the menu item called New.
NewActionPerformed(ActionEvent) - Method in class TerpPaint
This method creates a new workarea.
newFiles - Variable in class preferences
Java swing GUI depicting the button group for new Files inpasting.
newInstance - Variable in class TerpPaintContainer
This is the TerpPaint object which is used to store a TerpPaint object that is passed from the constructor.
newLayer() - Method in class AllLayers
This method is called by addActionPerformed.
newline - Static variable in class KeyEventDemo
String object holding the newline char.
newSize - Variable in class HelpWindow
JMenuItem to see the new file size preferences help.
nextImage() - Method in class SlideShow
Shows the next image continuously by mouse clicking.
nextPixel() - Method in class LZWEncoder
Return the next pixel from the image.
NO - Static variable in class choice
NO set to 1.
NO - Variable in class saveChanges
java swing GUI depicting the Jbutton called NO.
NOActionPerformed(ActionEvent) - Method in class saveChanges
This method is performed by mouse event when user clicks NO button not to save the changes.
noChanges() - Method in class main_canvas
This method sets linked list to size 0, so that undo and redo are disabled.
none - Variable in class TerpPaint
Java swing GUI depicting the panel called none blank space, filler.
nonEmptyClipboard - Variable in class TerpPaint
This boolean is true when some thing has been copied into the clipboard.
Normal - Variable in class TerpPaint
Java swing GUI depicting the menu item called Normal.
NormalActionPerformed(ActionEvent) - Method in class TerpPaint
This function will zoom you to the smallest available view and then set the background to light gray.
north - Variable in class emboss
java swing GUI depicting the JRadioButton called north.
north_east - Variable in class emboss
java swing GUI depicting the JRadioButton called north_east.
north_west - Variable in class emboss
java swing GUI depicting the JRadioButton called north_west.
NOTEPAD - Static variable in interface TerpClipboardInterface
This field models the Terp Pad application which is static at 2.
nothing - Variable in class TerpPaint
Java swing GUI depicting the button called nothing for blank spavce, filler.
number - Static variable in class Layer
number to store the position within the gridbagconstraints.

O

ok - Variable in class attributes
This is a JButton variable.
ok - Variable in class blur
Java swing GUI depicting the OK button.
ok - Variable in class brightness
Java swing GUI depicting the OK button.
ok - Variable in class canvas_size
This is a JButton variable ok.
OK - Static variable in class choice2
YES = 0.
ok - Variable in class edge
Java swing GUI depicting the OK button.
ok - Variable in class emboss
java swing GUI depicting the Jbutton called ok.
ok - Variable in class preferences
Java swing GUI depicting the OK button.
ok - Variable in class rotate
java swing GUI depicting the Jbutton called ok.
ok - Variable in class sharpen
Java swing GUI depicting the OK button.
ok - Variable in class stretch
Java swing GUI depicting the OK button.
Ok - Variable in class Text
java swing GUI depicting the Jbutton called Ok.
ok_action - Variable in class attributes
The dialog is closed by OK.
ok_action - Variable in class letterTool
The dialog is closed by OK.
ok_action - Variable in class stretch
The dialog is closed by OK.
ok_action - Variable in class Text
The dialog is closed by OK.
ok_cancel - Variable in class blur
Java swing GUI depicting the OK and CANCEL panel.
ok_cancel - Variable in class brightness
Java swing GUI depicting the OK and CANCEL panel.
ok_cancel - Variable in class edge
Java swing GUI depicting the OK and CANCEL panel.
ok_cancel - Variable in class emboss
java swing GUI depicting the JPanel called ok_cancel.
ok_cancel - Variable in class preferences
Java swing GUI depicting the OK and CANCEL panel.
ok_cancel - Variable in class rotate
java swing GUI depicting the JPanel called ok_cancel.
ok_cancel - Variable in class sharpen
Java swing GUI depicting the OK and CANCEL panel.
ok_cancel - Variable in class stretch
Java swing GUI depicting the OK and CANCEL panel.
okActionPerformed(ActionEvent) - Method in class AllLayers
This method is called by the GUI user pressing on ok in the remove frame.
okActionPerformed(ActionEvent) - Method in class attributes
This method performs the action by the user.
okActionPerformed(ActionEvent) - Method in class blur
This method executes if the event is a OK button.
okActionPerformed(ActionEvent) - Method in class brightness
This method executes if the event is a OK button.
okActionPerformed(ActionEvent) - Method in class canvas_size
This method performs the action by the user, and resizes cnavas There is no state of transition The argument is an ActionEvent variable.
okActionPerformed(ActionEvent) - Method in class emboss
This method is done by mouse event to emboss the image.
okActionPerformed(ActionEvent) - Method in class Layer
This function operates when GUI user clicks on ok The function stores new name of the layer and changes the label to correct name It should work with all operating systems and hardware.
okActionPerformed(ActionEvent) - Method in class preferences
This method executes if the event is a OK button.
okActionPerformed(ActionEvent) - Method in class rotate
This method is done by mouse event to rotate the image.
okActionPerformed(ActionEvent) - Method in class stretch
This method executes if the event is a OK button.
OkActionPerformed(ActionEvent) - Method in class Text
Collects all the options specified the user once ok option is chosen and draws text string onto the canvas image.
okCancel - Variable in class attributes
This is a JRadioButton variable.
okCancel - Variable in class canvas_size
This is a JRadioButton variable holds ok and cancel jbuttons.
okPanel - Variable in class Text
java swing GUI depicting the JPanel called okPanel.
old - Static variable in class Fill
The original color that you want to change.
oldZoomFactor - Static variable in class main_canvas
Sets oldZoomFactor default 1.0.
onCanvasFlag - Variable in class magicSelectTool
Determines if it is on the canvas.
onCanvasFlag - Variable in class selectallTool
Determines if it is on the canvas.
onCanvasFlag - Variable in class selectTool
Determines if it is on the canvas.
one - Variable in class TerpPaint
Java swing GUI depicting the rectangle button type one.
oneActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the fill type to one, which sets the border and is called by actionPerformed.
onlyIfExists - Variable in class preferences
Java swing GUI depicting the button for the option to only pasteTo exiting files.
OnlyIfExists - Variable in class prefsState
This is the boolean state of the new File copy.
onlyIfExistsActionPerformed(ActionEvent) - Method in class preferences
This method is for the only if exists action.
OOD - Static variable in interface TerpClipboardInterface
This field models the Terp Present application which is static at 3.
Open - Variable in class TerpPaint
Java swing GUI depicting the menu item called Open.
OpenActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the saving operation 1.
optionsPanel - Variable in class Text
java swing GUI depicting the JPanel called optionsPanel.
orange - Variable in class TerpPaint
Java swing GUI depicting the orange button.
orangeMouseClicked(MouseEvent) - Method in class TerpPaint
Sets orange as the active color by mouse click.
OurFont - Class in <Unnamed>
initializes the font and holds 6 public variables.
OurFont() - Constructor for class OurFont
 
ourPrinter - Variable in class TerpPaint
printer object used for printing.
ourTool - Interface in <Unnamed>
Interface for all tools so that functionality can be abstracted.
out - Variable in class AnimatedGifEncoder
OutputStream object for printing.
output(int, OutputStream) - Method in class LZWEncoder
This method produces the output.
outterButtons - Variable in class emboss
java swing GUI depicting the button group called outterButtons.
outterButtons - Variable in class rotate
java swing GUI depicting the button group called outterButtons.

P

p - Variable in class canvas_size
main_canvas.
pageFormat - Variable in class printer
Indicates the type of page format to be printed.
pageSetup() - Method in class printer
Provides the preferred size and source to be printed.
PageSetup - Variable in class TerpPaint
Java swing GUI depicting the menu item called PageSetup.
PageSetupActionPerformed(ActionEvent) - Method in class TerpPaint
PageSetupActionPerformed shows page setup window through use of printer object It should work with all operating systems and hardware.
paint - Variable in class AllLayers
paint is a TerpPaint value that holds the drawing board.
paint - Variable in class main_canvas
Default paint false.
paint(Graphics) - Method in class main_canvas
This method sets the main image scale and draw image if the main image is not null.
paint(Graphics) - Method in class SlideShow
This method diplays image files at the center of the a slide show screen.
paint(Graphics) - Method in class splash
This method paints the splash image on the screen.
paint(Graphics) - Method in class SplashWindow
This method will actually "paint" the splash image into the window which was opened for the splash screen.
PAINT - Static variable in interface TerpClipboardInterface
This field models the Terp Paint application which is static at 4.
paint - Variable in class TerpPaint
Java swing GUI depicting the button called paint.
paint(Graphics) - Method in class viewBitmap
Paints the image.
paint1 - Variable in class TerpPaint
Java swing GUI depicting the paint brush width 1.
paint2 - Variable in class TerpPaint
Java swing GUI depicting the paint brush width 2.
paint3 - Variable in class TerpPaint
Java swing GUI depicting the paint brush width 3.
paint4 - Variable in class TerpPaint
Java swing GUI depicting the paint brush width 4.
paint_properties - Variable in class TerpPaint
Java swing GUI depicting the panel paint properties.
paintActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and sets current tool to toolBucket.
paintBrush - Variable in class HelpWindow
JMenuItem to see the brush tool help.
paintComponent(Graphics) - Method in class LogoAnimator
display current image There are no OS/Hardware dependencies and no variances.
palSize - Variable in class AnimatedGifEncoder
int that represents the color table size (bits-1).
parent - Variable in class printer
TerpPaint object used to print functionality.
Parent - Variable in class SlideShow
This methods creates TerpPaint object to show all images that are created by features in TerpPaint class.
Parent - Variable in class splash
This field creates a parent of type Frame.
Parent - Variable in class viewBitmap
Underlying TerpPaint object.
parentFrame - Variable in class letterTool
A main frame that generates the letter tool frame.
parseit() - Method in class converter
This method calls the parseit function and initialize it to 0 There is no state transition.
parseit(int) - Method in class converter
This method prints out the results of the image There is no state transition.
Paste - Variable in class TerpPaint
Java swing GUI depicting the menu item called Paste.
PasteActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to do the pasting action.
pasteBackground(BufferedImage, Color) - Method in class magicSelectTool
RightColor is painted over magicSelected area to be cut.
pasteBackground(BufferedImage, Color) - Method in class selectTool
RightColor is painted over selected area to be cut.
pasted - Variable in class magicSelectTool
Used as a flag to determine if it was pasted.
pasted - Variable in class selectallTool
Flag to determine is it has been pasted.
pasted - Variable in class selectTool
Used as a flag to determine if it was pasted ======= private boolean selected = false; /** Used as a flag to determine if it was pasted.
pastedImage - Variable in class magicSelectTool
Holds the backupImage, magicSelectedImage, pastedImage.
pastedImage - Variable in class selectallTool
Holds the current, backup, selected and pasted image.
pastedImage - Variable in class selectTool
Holds the backupImage, selectedImage, pastedImage.
pasteFile - Variable in class HelpWindow
JMenuItem to see the file creation on paste to preferences help.
pastefrom - Variable in class HelpWindow
JMenuItem to see the paste help.
PasteFrom - Variable in class TerpPaint
Java swing GUI depicting the menu item called PasteFrom.
pasteImport - Variable in class HelpWindow
JMenuItem to see the paste/import to preferences help.
pasteOrImportTo - Variable in class preferences
Java swing GUI depicting the button group for where to paste.
pastePrefs - Variable in class preferences
Java swing GUI depicting the Paste/Import To panel.
pasteX - Variable in class magicSelectTool
Holds the pasted X.
pasteX - Variable in class selectallTool
x coord of where to be pasted.
pasteX - Variable in class selectTool
Holds the pasted X.
pasteY - Variable in class magicSelectTool
Holds the pasted Y.
pasteY - Variable in class selectallTool
y of where to be pasted.
pasteY - Variable in class selectTool
Holds the pasted Y.
pencil - Variable in class main_canvas
Default pencil false.
pencil - Variable in class TerpPaint
Java swing GUI depicting the button called pencil.
pencilActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes pencilTool 1.
pencilCursor - Variable in class myCursors
This field is a creation of a custom cursor to be used in PAINT.
pencilImage - Variable in class pencilTool
holds a BufferedImage.
pencilImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage(), for cursor.
pencilTool - Class in <Unnamed>
A pencilTool implements the operations performed by a pencil.
pencilTool() - Constructor for class pencilTool
Creates a pencilTool object.
picture - Variable in class main_canvas
Image that can be scrolled by setting either the horizontal scroll bar or the vertical scroll bar.
pictureScrollPane - Variable in class main_canvas
Provides scrolling functionality for the image.
pink - Variable in class TerpPaint
Java swing GUI depicting the pink button.
pinkMouseClicked(MouseEvent) - Method in class TerpPaint
Sets pink as the active color by mouse click.
pixAry - Variable in class LZWEncoder
Byte array representing the pixel color values.
pixelAspect - Variable in class GifDecoder
Pixel aspect ratio.
pixelHeight - Variable in class attributes
Assigns the height of the pixel.
pixelHeight - Variable in class canvas_size
Assigns the height in pixels.
pixels - Variable in class AnimatedGifEncoder
byte array to hold RGB values from frame.
pixels - Variable in class attributes
This is a JRadioButton variable.
pixels - Variable in class canvas_size
This is a JRadioButton variable pixels.
pixels - Variable in class converter
Array of pixels.
pixels - Variable in class Fill
A coordinate array of the pixels used to keep track which part of the BufferedImage bim is not colored.
pixels - Variable in class GifDecoder
LZW decoder working array.
pixels - Variable in class magicSelectTool
A coordinate array of the pixels used to keep track which part of the BufferedImage curImage is not colored.
pixelsActionPerformed(ActionEvent) - Method in class attributes
This method controls the pixels performed by the user.
pixelsActionPerformed(ActionEvent) - Method in class canvas_size
shows values in the textfields in pixel units There is no state of transition The argument is an ActionEvent variable.
pixelStack - Variable in class GifDecoder
LZW decoder working array.
pixelWidth - Variable in class attributes
Assigns the width of the pixel.
pixelWidth - Variable in class canvas_size
Assigns the width in pixels.
place_list - Variable in class main_canvas
Place[i] is the spot in the BufferedImage linked list for the ith layer.
plainTextFlavorValue - Variable in class UMClipObj
String to store the plain text flavor value.
play() - Method in class SlideShow
This method creates a delay for each picture while it scrolls through the entire presentation.
polyG2D - Variable in class polygonTool
used to create a polygon.
polygon - Variable in class main_canvas
Default polygon false.
polygon - Variable in class TerpPaint
Java swing GUI depicting the button called polygon.
polygonActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and changes current tool to toolPolygon.
polygonTool - Class in <Unnamed>
A polygonTool implements the operations performed by a polygon.
polygonTool() - Constructor for class polygonTool
Creates a polygonTool object.
polyImage - Variable in class polygonTool
a BufferedImage with width set to 200 and height set to 200.
popUp - Variable in class Layer
popUp is frame so for the remove function so that the name can be typed.
position - Variable in class AllLayers
position is an int that tells of location in GridBagConstraints.
position - Variable in class TerpPaint
Java swing GUI depicting the panel for position.
pour(BufferedImage, int, int, int, int) - Method in class bucketTool
Pours the paint onto the canvas as specified by the BufferedImage, and size passed in.
preferences - Class in <Unnamed>
preferences class is used set up the user preferences There are two states of this class.
preferences(Frame, boolean) - Constructor for class preferences
Creates new form preferences.
PreferencesActionPerformed(ActionEvent) - Method in class TerpPaint
This function opens the preferences dialog box.
prefix - Variable in class GifDecoder
LZW decoder working array.
prefs - Variable in class preferences
Java swing GUI depicting the main panel.
prefsState - Class in <Unnamed>
This class provides the preferences settings.
prefsState() - Constructor for class prefsState
The constructor.
presentation(int, boolean) - Method in class TerpPaint
This method is code to display a presentation of the features of this PAINT program.
preview() - Method in class printer
Shows the previewed image before printing.
previousImage() - Method in class SlideShow
Shows the previous image by mouse clicking.
prevX - Variable in class brushTool
Stores the previous x.
prevX - Variable in class ellipseTool
This int holds the value of the Previous X coordinate.
prevX - Variable in class eraserTool
used to initialize the start of the x and y values.
prevX - Variable in class lineTool
Stores the previous x coord.
prevX - Variable in class pencilTool
used to initialize the start of the x and y values.
prevX - Variable in class rectTool
Integer representing the previous x coordinate.
prevX - Variable in class roundedRectTool
Integer representing the previous x coordinate.
prevY - Variable in class brushTool
Stores the previous y.
prevY - Variable in class ellipseTool
This int holds the value of the Previous Y coordinate.
prevY - Variable in class eraserTool
used to initialize the start of the x and y values.
prevY - Variable in class lineTool
Stores the previous y coord.
prevY - Variable in class pencilTool
used to initialize the start of the x and y values.
prevY - Variable in class rectTool
Integer representing the previous y coordinate.
prevY - Variable in class roundedRectTool
Integer representing the previous y coordinate.
prime1 - Static variable in class NeuQuant
 
prime2 - Static variable in class NeuQuant
 
prime3 - Static variable in class NeuQuant
 
prime4 - Static variable in class NeuQuant
 
print(Graphics, PageFormat, int) - Method in class printer
Prints the images if the param is passed in as 0.
Print - Variable in class TerpPaint
Java swing GUI depicting the menu item called Print.
PrintActionPerformed(ActionEvent) - Method in class TerpPaint
This method prints to the printer and is called by actionPerformed.
printer - Class in <Unnamed>
Print class provides functionalities of printing the images.
printer(Frame) - Constructor for class printer
Constructs the BufferedImage that is passed in to image.
printerJob - Variable in class printer
Describes the printer job.
PrintPreview - Variable in class TerpPaint
Java swing GUI depicting the menu item called PrintPreview.
PrintPreviewActionPerformed(ActionEvent) - Method in class TerpPaint
PrintPreviewActionPerformed shows print preview in new window It should work with all operating systems and hardware.
printTo() - Method in class printer
Prints the selected image.
process() - Method in class NeuQuant
 
promptSize - Variable in class preferences
Java swing GUI depicting the button for the option to prompt for size of new files.
PromptSize - Variable in class prefsState
This is the boolean state of the new File creation.
promptSizeActionPerformed(ActionEvent) - Method in class preferences
This method is for the prompt size action.
propColor - Variable in class TerpPaint
The variable for the color that is used to highlight the tool property.
properties - Variable in class TerpPaint
Java swing GUI depicting the panel called properties.

Q

quarterTurn - Variable in class rotate
java swing GUI depicting the JRadioButton called quarterTurn.

R

radbias - Static variable in class NeuQuant
 
radbiasshift - Static variable in class NeuQuant
 
radiusbias - Static variable in class NeuQuant
 
radiusbiasshift - Static variable in class NeuQuant
 
radiusdec - Static variable in class NeuQuant
 
radpower - Variable in class NeuQuant
 
read(BufferedInputStream) - Method in class GifDecoder
Reads GIF image from stream.
read(InputStream) - Method in class GifDecoder
Reads GIF image from stream.
read(String) - Method in class GifDecoder
Reads GIF file from specified file/URL source (URL assumed if name contains ":/" or "file:").
read() - Method in class GifDecoder
Reads a single byte from the input stream.
readBlock() - Method in class GifDecoder
Reads next variable length block from input.
readColorTable(int) - Method in class GifDecoder
Reads color table as 256 RGB integer values.
readContents() - Method in class GifDecoder
Main file parser.
readGraphicControlExt() - Method in class GifDecoder
Reads Graphics Control Extension values.
readHeader() - Method in class GifDecoder
Reads GIF file header information.
readImage() - Method in class GifDecoder
Reads next frame image.
readInt(DataInputStream) - Method in class converter
Reads DataInputStream and converts it to long value.
readLong(DataInputStream) - Method in class converter
Reads DataInputStream and converts it to int value.
readLSD() - Method in class GifDecoder
Reads Logical Screen Descriptor.
readNetscapeExt() - Method in class GifDecoder
Reads Netscape extenstion to obtain iteration count.
readShort() - Method in class GifDecoder
Reads next 16-bit value, LSB first.
Recent - Variable in class TerpPaint
Java swing GUI depicting the menu item called Recent File.
recentFiles - Variable in class TerpPaint
This is a vector containing the 4 most recent Files.
rect_properties - Variable in class TerpPaint
Java swing GUI depicting the panel for rectangle properties.
rectTool - Class in <Unnamed>
A rectTool implements the operations performed by a rectangle.
rectTool() - Constructor for class rectTool
 
red - Variable in class TerpPaint
Java swing GUI depicting the red button.
redMouseClicked(MouseEvent) - Method in class TerpPaint
Sets red as the active color by mouse click.
redo() - Method in class main_canvas
This method repeats the last drawing action.
redo_list - Variable in class TerpPaint
This is the list indicating current undone history (actions that can be redone now) for every layer separately.
remaining - Variable in class LZWEncoder
Integer representing remaining pixels.
remove - Variable in class AllLayers
GUI button that depicts the remove a layer function.
Remove - Variable in class TerpPaint
Java swing GUI depicting the JMenuItem called Remove.
Remove(TerpPaint) - Method in class TerpPaintContainer
removes a TerpPaint object and returns true if there is only one left also if you remove the last one creates a new one and again returns true This method closes Terp Paint main program.
removeActionPerformed(ActionEvent) - Method in class AllLayers
This method is called when the remove button is pressed on GUI by user.
RemoveActionPerformed(ActionEvent) - Method in class TerpPaint
This function removes a layer ActionEvent object as a parameter.
removeCurrent - Variable in class AllLayers
GUI button that depicts the remove current layer function.
removeCurrent - Variable in class HelpWindow
JMenuItem to see the remove current layer help.
removeCurrentActionPerformed(ActionEvent) - Method in class AllLayers
This method is called when the remove current layer is pressed on GUI by user.
removeLayer(int) - Method in class AllLayers
This method is called by removeActionPerformed.
removeLayer - Variable in class HelpWindow
JMenuItem to see the remove layer by name help.
removeLayer() - Method in class Layer
This function sets popUp frame to be not visible.
removeLayer(int) - Method in class main_canvas
This method removes a layer.
repeat - Variable in class AnimatedGifEncoder
int that represents the number of times to repeat the animation, DEFALUT is -1 (no repeat).
Repeat - Variable in class TerpPaint
Java swing GUI depicting the menu item called Repeat.
RepeatActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the 'Edit -> Redo' capabilities of TerpPaint.
resetFrame() - Method in class GifDecoder
Resets frame state for reading next image.
resetLayer() - Method in class main_canvas
This method resets the layer.
resize - Variable in class TerpPaint
This is a boolean value that is initialize to false, indicates whether cursor is in the resize area and should change to resizing arrows.
resizeImage(int, int) - Method in class main_canvas
This method resizes the image.
right - Variable in class TerpPaint
Java swing GUI depicting the current right color.
RIGHT1 - Variable in class brushTool
this is a int variable.
right1 - Variable in class TerpPaint
Java swing GUI depicting the brush right-hand width smallest.
right1ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the brushTool onto the icon at row 3 column1 and is called by actionPerformed.
RIGHT2 - Variable in class brushTool
this is a int variable.
right2 - Variable in class TerpPaint
Java swing GUI depicting the brush right-hand width medium.
right2ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the brushTool onto the icon at row 3 column2 and is called by actionPerformed.
RIGHT3 - Variable in class brushTool
this is a int variable.
right3 - Variable in class TerpPaint
Java swing GUI depicting the brush right-hand width largest.
right3ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the brushTool onto the icon at row 3 column3 and is called by actionPerformed.
right_color - Variable in class main_canvas
Color object that represents right mouse click event color.
rotate - Class in <Unnamed>
A rotate object is a dialogue box that allows the user to rotate and flip the entire image about its very center.
rotate(Frame, boolean) - Constructor for class rotate
Constructor initializes the rotate dialog box and displays it and waits for user input.
rotate - Variable in class rotate
java swing GUI depicting the JRadioButton called rotate.
rotateActionPerformed(ActionEvent) - Method in class rotate
This method displays the rotated the image on main canvas by mouse clicking.
rounded_rectangle - Variable in class main_canvas
Default rouned_rectangle false.
rounded_rectangle - Variable in class TerpPaint
Java swing GUI depicting the button called rounded rectangle.
rounded_rectangleActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and changes current button to rounded-rectangle button.
roundedRectTool - Class in <Unnamed>
roundedRectTool implements the interface ourTool.
roundedRectTool() - Constructor for class roundedRectTool
 
run() - Method in class AutoBackup
This method tests out the class.
run() - Method in class GarbageCollect
 
runAnimation(Frame, LinkedList, int, String, int) - Method in class LogoAnimator
run animation by first loading LinkedList of images There are no OS/Hardware dependencies and no variances.

S

sample - Variable in class AnimatedGifEncoder
int that represents the default sample interval for quantizer (10).
samplefac - Variable in class NeuQuant
 
save(Image, int, int) - Method in class converter
The saveMethod is the main method of the process.
Save - Variable in class TerpPaint
Java swing GUI depicting the menu item called Save.
save() - Method in class TerpPaint
This is a big method which saves the current image in the main canvas into a file.
SaveActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to save the painting that you have created.
SaveAs - Variable in class TerpPaint
Java swing GUI depicting the menu item called SaveAs.
SaveAsActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the saving operation 1.
saveChanges - Class in <Unnamed>
saveChanges provides the user to choose to save or not all changes made on main canvas.
saveChanges(Frame, boolean, String) - Constructor for class saveChanges
Constructor initializes the dialog box to proper size.
saveFast() - Method in class TerpPaint
Allows saving without the dialog box, only called when a currently existing file is open.
saveImage(BufferedImage) - Method in class TerpPaint
Called by save().
scanline - Variable in class converter
Byte type array of scan line.
ScrollablePicture - Class in <Unnamed>
ScrollablePicture extends JLabel and uses the Scrollable interface.
ScrollablePicture(ImageIcon, int) - Constructor for class ScrollablePicture
Constructor that initializes the image icon and the maximum unit number of scrolling increment.
scrollPane - Variable in class HTMLDisplay
scrollPane holds the contents of the document in display.
secondX - Variable in class curveTool
This is used as a backup for the integer firstX during state 2.
secondY - Variable in class curveTool
This is used as a backup for the integer firstY during state 2.
select - Variable in class HelpWindow
JMenuItem to see the selctall and select tool help.
select - Static variable in class magicSelectTool
The new color to select the pixel with the colors wanted.
select - Variable in class main_canvas
Default select false.
select - Variable in class TerpPaint
Java swing GUI depicting the button called select.
selectActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes selectTool (polygonal selection tool) 1.
selectall - Variable in class main_canvas
Default selectall false.
selectAll(main_canvas) - Method in class selectallTool
Allows the user to select the entire main_canvas.
SelectAll - Variable in class TerpPaint
Java swing GUI depicting the menu item called SelectAll.
selectall - Variable in class TerpPaint
Java swing GUI depicting the button called selectall.
selectallActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and changes current tool to toolSelectall.
selectallTool - Class in <Unnamed>
The class selectallTool uses the ourTool interface.
selectallTool() - Constructor for class selectallTool
Creates a selectallTool and sets the Stroke.
selected - Variable in class selectallTool
Flag to determine is it has been selected.
selected - Variable in class selectTool
Used as a flag to determine if it was selected.
selectedImage - Variable in class selectallTool
Holds the current, backup, selected and pasted image.
selectedImage - Variable in class selectTool
Holds the backupImage, selectedImage, pastedImage.
SelectionAllActionPerformed(ActionEvent) - Method in class TerpPaint
This function selects the entire canvas.
selectIt() - Method in class magicSelectTool
selectIt does the coloring.
selectStroke - Variable in class selectallTool
Holds the stroke that is selected.
selectStroke - Variable in class selectTool
Holds the stroke that is selected ======= private boolean moving = false; /** Holds the stroke that is selected.
selectStroke - Variable in class zoomTool
Holds the stroke that is selected.
selectStrokeW - Variable in class selectallTool
Holds the stroke that is selected for the white part.
selectStrokeW - Variable in class selectTool
Holds the stroke that is selected.
selectTool - Class in <Unnamed>
This selectTool uses the ourTool interface.
selectTool() - Constructor for class selectTool
Creates a selectTool and sets the Stroke.
setActiveColors(MouseEvent, JButton) - Method in class TerpPaint
Sets current active color.
setBold() - Method in class Text
Sets the text to bold and disables all other options.
setBrushType(int) - Method in class brushTool
This method sets the brushtype as specified by the int, type, that is passed in.
setBufferedImage(BufferedImage) - Method in class main_canvas
This method sets the main image.
setCanvasSize() - Method in class TerpPaint
This function creates the canvas_size dialog box, to set the size when requesting a new canvas It should work with all operating systems and hardware.
setClicks(int) - Method in class curveTool
Sets the number of clicks, between 1 and 3.
setColors - Variable in class HelpWindow
JMenuItem to see the colors help.
setCursorPolygon() - Method in class magicSelectTool
setCursorPolygon determines the boundary of all the pixels.
setCurveStroke(int) - Method in class curveTool
Sets the width of the curveStroke as specified by the int, size, passed in.
setDelay(int) - Method in class AnimatedGifEncoder
Sets the delay time between each frame, or changes it for subsequent frames (applies to last frame added).
setDescription(String) - Method in class TerpPaintFileFilter
Sets the human readable description of this filter.
setDispose(int) - Method in class AnimatedGifEncoder
Sets the GIF frame disposal code for the last added frame and any subsequent frames.
setDragged(boolean) - Method in class lineTool
This is a mutator to set the state of variable 'dragged' to true or false.
setEraserSize(int) - Method in class eraserTool
Sets the size of the eraser, as specified by the int parameter passed in.
setExtensionListInDescription(boolean) - Method in class TerpPaintFileFilter
This function determines whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
setFillType(int) - Method in class ellipseTool
Sets the fillType of ellipse, specified by the int passed in: a left color border with white background, a left color border with left background or a left color border with right color background.
setFillType(int) - Method in class polygonTool
Sets fillType to the int passed in.
setFillType(int) - Method in class rectTool
Sets the fillType to the int passed in.
setFillType(int) - Method in class roundedRectTool
This funtion determines if the rounded rectangle is shaded or not.
setFont(Font) - Method in class main_canvas
This method sets a current font style.
setFrameRate(float) - Method in class AnimatedGifEncoder
Sets frame rate in frames per second.
setImage(BufferedImage) - Method in class printer
Sets the buffered image to be printed.
setItalics() - Method in class Text
Sets the text italics.
setLeftColor(Color) - Method in class main_canvas
This method sets the left mouse button color.
setLineStroke(int) - Method in class lineTool
Sets the size of the lineStroke as specified by the int passed in.
setMaxUnitIncrement(int) - Method in class ScrollablePicture
Sets maxUnitIncrement to the paramater passed.
setOk() - Method in class Text
Takes ok action and disables all other options.
setOldZoom(double) - Method in class main_canvas
This method sets the size of the old zoom factor.
setOpaque(boolean) - Method in class magicSelectTool
Sets the opaque value to the boolean passed in.
setOpaque(boolean) - Method in class selectallTool
sets the opaque flag.
setOpaque(boolean) - Method in class selectTool
Sets the opaque value to the boolean passed in.
setPastedImage(BufferedImage, main_canvas, int, int) - Method in class magicSelectTool
Pastes image to canvas at appropriate x and y.
setPastedImage(BufferedImage, main_canvas, int, int) - Method in class selectallTool
updates canvas with pasted image.
setPastedImage(BufferedImage, main_canvas, int, int) - Method in class selectTool
Pastes image to canvas at appropriate x and y.
setPixels() - Method in class GifDecoder
Creates new frame image from current data (and previous frames as specified by their disposition codes).
setPreferences - Variable in class HelpWindow
JMenu titled Set Preferences.
setQuality(int) - Method in class AnimatedGifEncoder
Sets quality of color quantization (conversion of images to the maximum 256 colors allowed by the GIF specification).
setRepeat(int) - Method in class AnimatedGifEncoder
Sets the number of times the set of GIF frames should be played.
setRightColor(Color) - Method in class main_canvas
This method sets the right mouse button color.
setSize(int, int) - Method in class AnimatedGifEncoder
Sets the GIF frame size.
setSprayType(int) - Method in class sprayTool
Sets the diameter of the spray can to the int passed in.
setStroke(int) - Method in class main_canvas
This method sets the characteristics of the rectangle's border or the lines for any other shape.
setTransparent(Color) - Method in class AnimatedGifEncoder
Sets the transparent color for the last added frame and any subsequent frames.
setUnderline() - Method in class Text
Sets the text with underline and disables all other options.
setZoom(double) - Method in class main_canvas
This method sets the zoomFactor.
shapes - Variable in class TerpPaint
Java swing GUI depicting the panel called shapes.
sharpen - Class in <Unnamed>
The user can sharpen the image.
sharpen(Frame, boolean) - Constructor for class sharpen
Creates new form sharpen.
Sharpen - Variable in class TerpPaint
Java swing GUI depicting the menu item called Sharpen.
sharpen_panel - Variable in class sharpen
Java swing GUI depicting the sharpen button.
sharpen_value - Variable in class sharpen
Java swing GUI depicting the textfield of the sharpen change ratio value.
SharpenActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the sharpen capabilities of TerpPaint.
ShowGrid - Variable in class TerpPaint
Java swing GUI depicting the menu item called ShowGrid.
ShowThumbnail - Variable in class TerpPaint
Java swing GUI depicting the menu item called ShowThumbnail.
singleLayer - Variable in class AllLayers
GUI panel to group the different aspects of layer: name, current,change.
size - Static variable in class magicSelectTool
The current size of the array.
size - Variable in class OurFont
initializes the int "size" to be 8 for the font.
size - Variable in class TerpPaintContainer
An integer that represents the number of instances in 'Instances'.
size - Variable in class Text
java swing GUI depicting the JComboBox size.
sizeActionPerformed(ActionEvent) - Method in class Text
Sets the current font size as the selected size when the size option is selected.
sizeHeight - Variable in class TerpPaint
The height of the TerpPaint window.
sizeImage(int, int) - Method in class main_canvas
This method resizes the image.
sizeSet - Variable in class AnimatedGifEncoder
boolean that represents getting size from first frame (False) do not get size from first frame (True).
sizeWidth - Variable in class TerpPaint
The width of the TerpPaint window.
skew - Variable in class stretch
Java swing GUI depicting the SKEW button.
skip() - Method in class GifDecoder
Skips variable length blocks up to and including next zero length block.
slideshow - Variable in class HelpWindow
JMenuItem to see the slideshow help.
SlideShow - Class in <Unnamed>
This class supposively displays a slide show of different bitmaps or jpegs.
SlideShow(Frame, boolean) - Constructor for class SlideShow
Constructs a SlidShow object.
SlideShow - Variable in class TerpPaint
Java swing GUI depicting the menu item called SlideShow.
SlideShowActionPerformed(ActionEvent) - Method in class TerpPaint
This function is called if it wants to display a slide show of different bitmaps or jpegs.
south - Variable in class emboss
java swing GUI depicting the JRadioButton called south.
south - Variable in class TerpPaint
Java swing GUI depicting the panel called south.
south_east - Variable in class emboss
java swing GUI depicting the JRadioButton called south_east.
south_west - Variable in class emboss
java swing GUI depicting the JRadioButton called south_west.
southBound - Static variable in class Fill
The row number of pixels.
southBound - Static variable in class magicSelectTool
The row number of pixels.
southMouseMoved(MouseEvent) - Method in class TerpPaint
no code here.
southMousePressed(MouseEvent) - Method in class TerpPaint
no code here.
splash - Class in <Unnamed>
This class creates the splash screen which is displayed in the very beginning of executing the Paint program.
splash(Frame, boolean) - Constructor for class splash
Creates new form splash.
splash(Frame, boolean, boolean) - Constructor for class splash
Yet another constructor which takes in three arguments instead of the previous two.
splash() - Method in class TerpPaint
This method displays the beginning SPLASH screen image.
splashIm - Variable in class SplashWindow
This field is the splash screen image named splashIm of class type Image.
splashIm - Static variable in class TerpPaint
This is a Image value.
splashImBuff - Static variable in class TerpPaint
This is a BufferedImage used for the splash screen in presentation() which is never called.
SplashWindow - Class in <Unnamed>
This class basically is an extention of the Window class.
SplashWindow(Frame, Image, int, int) - Constructor for class SplashWindow
This method is inside of another class.
spray - Variable in class HelpWindow
JMenuItem to see the spray tool help.
spray - Variable in class main_canvas
Default spray false.
spray - Variable in class TerpPaint
Java swing GUI depicting the button called spray.
spray1 - Variable in class TerpPaint
Java swing GUI depicting the spray width 1.
spray1ActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to spray like a can.
spray2 - Variable in class TerpPaint
Java swing GUI depicting the spray width 3.
spray2ActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes sprayTool upon event It should work with all operating systems and hardware.
spray3 - Variable in class TerpPaint
Java swing GUI depicting the width 3.
spray3ActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to spray like a can.
spray_properties - Variable in class TerpPaint
Java swing GUI depicting the panel for spray properties.
sprayActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes sprayTool 1.
sprayImage - Variable in class sprayTool
This is a BufferedImage.
sprayTool - Class in <Unnamed>
sprayTool is basically a tool which acts like a spraycan to spray onto the image the selected color.
sprayTool() - Constructor for class sprayTool
Creates a sprayTool object.
sprayType - Variable in class sprayTool
This integer is initially set at 8.
SPREADSHEET - Static variable in interface TerpClipboardInterface
This field models the Terp SpreadSheet application which is static at 1.
square - Variable in class main_canvas
Default square false.
square - Variable in class TerpPaint
Java swing GUI depicting the button called square.
SQUARE1 - Variable in class brushTool
this is a int variable.
square1 - Variable in class TerpPaint
Java swing GUI depicting the brush square width smallest.
square1ActionPerformed(ActionEvent) - Method in class TerpPaint
This method is called by actionPerformed.
SQUARE2 - Variable in class brushTool
this is a int variable.
square2 - Variable in class TerpPaint
Java swing GUI depicting the brush square width medium.
square2ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the square size of a brushTool to 2 and is called by actionPerformed.
SQUARE3 - Variable in class brushTool
this is a int variable.
square3 - Variable in class TerpPaint
Java swing GUI depicting the brush square width largest.
square3ActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the square size of a brushTool to 3 and is called by actionPerformed.
squareActionPerformed(ActionEvent) - Method in class TerpPaint
Deselects other tools and changes current tool to toolRect.
standalone - Variable in class TerpPaintContainer
This is a boolean which is used to store a boolean value which is passed from the constructor.
start(OutputStream) - Method in class AnimatedGifEncoder
Initiates GIF file creation on the given stream.
start(String) - Method in class AnimatedGifEncoder
Initiates writing of a GIF file with the specified name.
startAnimation() - Method in class LogoAnimator
start or restart animation There are no OS/Hardware dependencies and no variances.
started - Variable in class AnimatedGifEncoder
boolean that represents whether or not it is ready to output frames.
startX - Variable in class curveTool
This is used to store the starting location of the curve line for the x coordinate.
startX - Variable in class ellipseTool
Stores the starting x coordinate of the location where the mouse is clicked.
startX - Variable in class lineTool
The x-coordinate of the starting point of the line.
startX - Variable in class magicSelectTool
x coord of initial click.
startX - Variable in class rectTool
initialized in clickAction by calling the function getX() and getY() on the MouseEvent mevt.
startX - Variable in class roundedRectTool
Holds the starting x value.
startX - Variable in class selectallTool
Holds the starting X,Y and ending X,Y.
startX - Variable in class selectTool
x coord of initial click.
startY - Variable in class curveTool
This is used to store the starting location of the curve line for the y coordinate.
startY - Variable in class ellipseTool
Stores the starting y coordinate of the location where the mouse is clicked.
startY - Variable in class lineTool
The y-coordinate of the starting point of the line.
startY - Variable in class magicSelectTool
y coord of initial click.
startY - Variable in class rectTool
initialized in clickAction by calling the function getX() and getY() on the MouseEvent mevt.
startY - Variable in class roundedRectTool
Holds the starting y value.
startY - Variable in class selectallTool
Holds the starting X,Y and ending X,Y.
startY - Variable in class selectTool
y coord of initial click.
status - Variable in class GifDecoder
An int representing the status.
status - Variable in class TerpPaint
Java swing GUI depicting the panel for status.
STATUS_FORMAT_ERROR - Static variable in class GifDecoder
File read status: Error decoding file (may be partially decoded).
STATUS_OK - Static variable in class GifDecoder
File read status: No errors.
STATUS_OPEN_ERROR - Static variable in class GifDecoder
File read status: Unable to open source.
StatusBox - Variable in class TerpPaint
Java swing GUI depicting the check box menu item called StatusBox.
StatusBoxActionPerformed(ActionEvent) - Method in class TerpPaint
If the status of the box is visible, it makes it invisible.
stopAnimation() - Method in class LogoAnimator
stop animation timer There are no OS/Hardware dependencies and no variances.
stretch - Class in <Unnamed>
Stretch class is used to either stretch out the image without affecting the size of the canvas (the image might disappear over the borders) or you can stretch the image out by prolonging the borders.
stretch(Frame, boolean) - Constructor for class stretch
Creates new form stretch.
stretch - Variable in class stretch
Java swing GUI depicting the STRETCH panel.
stretchskew - Variable in class HelpWindow
JMenuItem to see the stretch/skew fucntion help.
StretchSkew - Variable in class TerpPaint
Java swing GUI depicting the menu item called StretchSkew.
StretchSkewActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the stretching/skewing capabilities of TerpPaint.
stringFlavorValue - Variable in class UMClipObj
String to store the string flavor value.
suffix - Variable in class GifDecoder
LZW decoder working array.
sw - Static variable in class TerpPaint
This is a SplashWindow value for the splashscreen.

T

t - Variable in class main_canvas
AffineTransform object for various transformations.
temp - Variable in class AllLayers
GUI Frame to display for remove function.
temp - Variable in class Layer
JFrame that opens the temp for remove function.
temp_x - Variable in class main_canvas
BufferedImage object that is for temporary storage.
tempImage - Variable in class selectallTool
Holds the temp image.
TerpClipboardInterface - Interface in <Unnamed>
This class is the clipboard interface for Terp Paint.
TerpOfficeAppInterface - Interface in <Unnamed>
TerpOffice application interface, specifies three methods to be implemented.
TerpPaint - Variable in class AutoBackup
TerpPaint object creation.
TerpPaint - Class in <Unnamed>
This class basically controls every aspect of TerpPaint.
TerpPaint(boolean, TerpPaintContainer) - Constructor for class TerpPaint
This is the constructor of the TerpPaint class.
TerpPaintContainer - Class in <Unnamed>
TerpPaintContainer is used to hold a TerpPaint class object.
TerpPaintContainer(boolean) - Constructor for class TerpPaintContainer
Constructor of the TerpPaintContainer.
TerpPaintFileFilter - Class in <Unnamed>
TerpPaintFileFilter class creates a file filter.
TerpPaintFileFilter() - Constructor for class TerpPaintFileFilter
Constructor of TerpPaintFileFilter.
TerpPaintFileFilter(String) - Constructor for class TerpPaintFileFilter
This function creates a file filter that accepts files with the given extension.
TerpPaintFileFilter(String, String) - Constructor for class TerpPaintFileFilter
This function creates a file filter that accepts the given file type.
TerpPaintFileFilter(String[]) - Constructor for class TerpPaintFileFilter
This function creates a file filter from the given string array.
TerpPaintFileFilter(String[], String) - Constructor for class TerpPaintFileFilter
This function creates a file filter from the given string array and description.
terpPaintHelp - Variable in class HelpWindow
JMenu titled TerpPaint Help.
terpPaintOverview - Variable in class HelpWindow
JMenuItem to see the terppaint overview.
text - Variable in class HelpWindow
JMenuItem to see the text tool help.
text - Variable in class OurFont
initializes the String text.
Text - Class in <Unnamed>
Initializes the GUI components of a text editor window and provides text field, underline, bold, or italics options and font styles and size.
Text(Frame, boolean, int, int) - Constructor for class Text
Creates new Text form of 375 X 50.
text - Variable in class Text
java swing GUI depicting the JTextField text.
textPanel - Variable in class Text
java swing GUI depicting the JPanel called textPanel.
TextToolBox - Variable in class TerpPaint
Java swing GUI depicting the menu item called TextToolBox.
theColor - Variable in class sprayTool
This is of class type Color.
thepicture - Variable in class NeuQuant
 
theSound - Variable in class TerpPaint
This is a AudioClip value, not used.
theZoom - Variable in class zoomTool
The current zooming size of the canvas.
three - Variable in class TerpPaint
Java swing GUI depicting the rectangle button type three.
threeActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the fill type to three, which sets the fill and is called by actionPerformed.
threeQuarters - Variable in class rotate
java swing GUI depicting the JRadioButton called threeQuarters.
tk - Variable in class myCursors
This is the class type Toolkit.
tk - Variable in class TerpPaint
This is a Toolkit value that is initialize by the function getDefaultToolkit().
toCurrentLayer - Variable in class preferences
Java swing GUI depicting the button for the option to paste to the current layer of current file.
ToCurrentLayer - Variable in class prefsState
This is the boolean state of copying to the current layer.
toCurrentLayerActionPerformed(ActionEvent) - Method in class preferences
This method is for when current layer is chosen.
toggleProperties() - Method in class TerpPaint
Hides all JDialog dialog boxes It should work with all operating systems and hardware.
toNewFile - Variable in class preferences
Java swing GUI depicting the button for the option to paste to a new file.
ToNewFile - Variable in class prefsState
This is the boolean state of copying to a new file.
toNewFileActionPerformed(ActionEvent) - Method in class preferences
This method is for when to new File is chosen.
toNewFileAndOpen - Variable in class preferences
Java swing GUI depicting the button for the option to paste to a new window.
toNewFileAndOpenActionPerformed(ActionEvent) - Method in class preferences
This method is for when to new File and open is chosen.
ToNewFileAndWindow - Variable in class prefsState
This is the boolean state of copying to a new file and window.
toNewLayer - Variable in class preferences
Java swing GUI depicting the button for the option to paste to a new layer of current file.
ToNewLayer - Variable in class prefsState
This is the boolean state of copying to a new layer.
toNewLayerActionPerformed(ActionEvent) - Method in class preferences
This method is for when new layer is chosen.
ToolBox - Variable in class TerpPaint
Java swing GUI depicting the check box menu item called ToolBox.
ToolBoxActionPerformed(ActionEvent) - Method in class TerpPaint
Displays toolbox panel if not already visibile, closes panel if is visibile.
toolBrush - Variable in class TerpPaint
Instantiates the tool brush.
toolBucket - Variable in class TerpPaint
Instantiates the tool bucket.
toolCurve - Variable in class TerpPaint
Instantiates the tool curve.
toolEllipse - Variable in class TerpPaint
Instantiates the tool elipse.
toolEraser - Variable in class TerpPaint
Instantiates the tool eraser.
toolInits() - Method in class TerpPaint
This method instantiates all the tools and sets the default values of each tool.
toolLetter - Variable in class TerpPaint
Instantiates the tool letter.
toolLine - Variable in class TerpPaint
Instantiates the tool line.
toolMagicSelect - Variable in class TerpPaint
Instantiates the tool magicSelect.
toolMedicine - Variable in class TerpPaint
Instantiates the tool medicine.
toolPencil - Variable in class TerpPaint
Instantiates the tool pencil.
toolPolygon - Variable in class TerpPaint
Instantiates the tool polygon.
toolRect - Variable in class TerpPaint
Instantiates the tool rectangle.
toolRoundedRect - Variable in class TerpPaint
Creates a rounded rectangle instantiation.
toolSelect - Variable in class TerpPaint
Instantiates the tool select.
toolSelectall - Variable in class TerpPaint
Instantiates the tool selectall.
toolSpray - Variable in class TerpPaint
Instantiates the tool spray.
toolZoom - Variable in class TerpPaint
Instantiates the tool zoom.
top - Variable in class preferences
Java swing GUI depicting the top panel.
topLabels - Variable in class AllLayers
GUI panel to name the labels of each category for layers.
totalImages - Variable in class LogoAnimator
number of images.
tran - Variable in class preferences
Java swing GUI depicting the transitions panel.
trans - Variable in class preferences
Java swing GUI depicting the JComboBox of the transitions.
transIndex - Variable in class AnimatedGifEncoder
int that represents the transparent index in the color table.
transIndex - Variable in class GifDecoder
Transparent color index.
transition - Variable in class LogoAnimator
transition type.
Transition - Variable in class prefsState
This is value for the transition.
transitions - Variable in class HelpWindow
JMenuItem to see the animation transitions preferences help.
transitions - Variable in class preferences
Array of availiable transitions.
transparency - Variable in class GifDecoder
Use transparent color.
transparent - Variable in class AnimatedGifEncoder
Color object that represents the transparent color.
two - Variable in class TerpPaint
Java swing GUI depicting the rectangle button type two.
twoActionPerformed(ActionEvent) - Method in class TerpPaint
This method sets the fill type to two, which sets the border and the fill and is called by actionPerformed.
type - Variable in class converter
Bitmap type with integer value.
TYPE_UNKNOWN - Static variable in class TerpPaintFileFilter
String representing unknown file type.
typingArea - Variable in class KeyEventDemo
JTextField object used for debugging.

U

UMClipObj - Class in <Unnamed>
UMClipObj.java is used to implement clipboard functions.
UMClipObj() - Constructor for class UMClipObj
Constructor.
UMClipObj(String, String) - Constructor for class UMClipObj
A constructor taking 2 strings.
UMClipObj(Image) - Constructor for class UMClipObj
Constructs a UMClipObj object.
unbiasnet() - Method in class NeuQuant
 
underline - Variable in class OurFont
initializes the public boolean "underline" to false.
underline - Variable in class Text
java swing GUI depicting the JRadioButton called underline.
underlineness - Static variable in class letterTool
Holds the state of the font's underlineness.
undo - Variable in class HelpWindow
JMenuItem to see the undo level preferences help.
undo() - Method in class main_canvas
This method cancels the last drawing action.
undo - Variable in class preferences
Java swing GUI depicting the undo panel.
Undo - Variable in class TerpPaint
Java swing GUI depicting the menu item called Undo.
UndoActionPerformed(ActionEvent) - Method in class TerpPaint
This function performs the 'Edit -> Undo' capabilities of TerpPaint.
undoLevel - Variable in class preferences
Java swing GUI depicting the textfield of the undo level.
UndoLevel - Variable in class prefsState
This is value for the undo level.
undoLevelActionPerformed(ActionEvent) - Method in class preferences
This method is for the undo level.
UndoList - Variable in class TerpPaint
Java swing GUI depicting the Undolist menu.
UndoList_items - Variable in class TerpPaint
Linked List of items in undolist.
UndoListActionPerformed(ActionEvent, int) - Method in class TerpPaint
This function performs the 'Edit -> UndoList->xxx' capabilities of TerpPaint.
units - Variable in class attributes
This is a JPanel variable.
units - Variable in class canvas_size
This is a JPanel variable holds units radio buttons.
unitsButtons - Variable in class attributes
This is a ButtonGroup variable.
unitsButtons - Variable in class canvas_size
This is a ButtonGroup variable holds units radio buttons.
up - Variable in class AllLayers
GUI button that depicts the moving a layer up function.
upActionPerformed(ActionEvent) - Method in class AllLayers
This method is called by up button.
updateBox() - Method in class AllLayers
This method is called by several functions to set gridbagconstraints.
updateFileMenu() - Method in class TerpPaint
This function is called to update the recentfiles in the 'file menu' It should work with all operating systems and hardware.
updateUndoList() - Method in class TerpPaint
This Method is called whenever an action is performed, it updates the Undo List with a new action.
usedEntry - Variable in class AnimatedGifEncoder
boolean array to represent active palette entries.
useExtensionsInDescription - Variable in class TerpPaintFileFilter
True if the description contains a extension and is false if the description does not contain an extension.

V

vertical - Variable in class SplashWindow
This is a variable of type int which will be the vertical resolution of the current desktop.
vertical_skew - Variable in class stretch
Java swing GUI depicting the text field of the vertical skew.
vertical_skewActionPerformed(ActionEvent) - Method in class stretch
This method is for skewing vertically.
vertical_stretch - Variable in class stretch
Java swing GUI depicting the text field of the vertical stretch.
vertical_stretchActionPerformed(ActionEvent) - Method in class stretch
This method is for stretching vertically.
view - Variable in class printer
Print preview frame.
View - Variable in class TerpPaint
Java swing GUI depicting the menu View.
ViewBitmap - Variable in class TerpPaint
Java swing GUI depicting the menu item called ViewBitmap.
viewBitmap - Class in <Unnamed>
This class enables image to be viewed in full screen mode.
viewBitmap(Frame, boolean) - Constructor for class viewBitmap
Creates new form viewBitmap, initializes components, set screen size.
ViewBitmapActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to see the drawing you have as a wallpaper on your computer.
visible - Variable in class Layer
JCheckBox that determines visibility.
visLabel - Variable in class AllLayers
GUI label stating that category is for visible layers.

W

w - Variable in class attributes
takes in any string variable.
w - Variable in class canvas_size
String of numbers for width.
waitForImage(Image, Component) - Static method in class ImageUtilities
Waits for the image.
west - Variable in class emboss
java swing GUI depicting the JRadioButton called west.
west - Variable in class TerpPaint
Java swing GUI depicting the panel called west.
white - Variable in class TerpPaint
Java swing GUI depicting the white button.
whiteMouseClicked(MouseEvent) - Method in class TerpPaint
Sets white as the active color by mouse click.
widt - Variable in class main_canvas
width of the canvas.
width - Variable in class AnimatedGifEncoder
int that represents the width of the image size.
Width - Variable in class attributes
This is a JLabel variable.
Width - Variable in class canvas_size
This is a JLabel variable to signify width textbox name.
width - Variable in class GifDecoder
Full image width.
width - Variable in class LogoAnimator
image width.
width - Variable in class preferences
Java swing GUI depicting the text field of the width of new images.
Width - Variable in class prefsState
This is value for the width of a fixed size image.
widthActionPerformed(ActionEvent) - Method in class preferences
This method is for the width action.
widthHeight - Variable in class attributes
This is a JPanel variable.
widthHeight - Variable in class canvas_size
This is a JPanel variable holds the textboxes for width and height.
widthPanel - Variable in class preferences
Java swing GUI depicting the JPanel of the width.
widthText - Variable in class attributes
This is a JTextField variable.
widthText - Variable in class canvas_size
This is a JTextField variable width.
win2Color(int) - Method in class converter
Sets windows RGB color value.
windowInt - Variable in class converter
windowInt short value to be used when converting occurs between long and integer.
windowLong - Variable in class converter
windowLong integer value to be used when converting occurs between long and integer.
workWithColor - Variable in class HelpWindow
JMenu titled Work with Color.
workWithLayers - Variable in class HelpWindow
JMenu titled Work With Layers.
workWithPictures - Variable in class HelpWindow
JMenu titled Work With Pictures.
writeBitmap() - Method in class converter
writeBitmap converts the image returned from the pixel grabber to the format required.
writeBitmapFileHeader() - Method in class converter
writeBitmapFileHeader writes the bitmap file header to the file.
writeBitmapInfoHeader() - Method in class converter
writeBitmapInfoHeader writes the bitmap information header to the file.
writeGraphicCtrlExt() - Method in class AnimatedGifEncoder
Writes Graphic Control Extension.
writeImageDesc() - Method in class AnimatedGifEncoder
Writes Image Descriptor.
writeLSD() - Method in class AnimatedGifEncoder
Writes Logical Screen Descriptor.
writeNetscapeExt() - Method in class AnimatedGifEncoder
Writes Netscape application extension to define repeat count.
writePalette() - Method in class AnimatedGifEncoder
Writes color table.
writePixels() - Method in class AnimatedGifEncoder
Encodes and writes pixel data.
writeShort(int) - Method in class AnimatedGifEncoder
Write 16-bit value to output stream, LSB first.
writeString(String) - Method in class AnimatedGifEncoder
Writes string to output stream.

X

x - Variable in class coords
X coordinate.
x - Variable in class coords2
X coordinate.
x - Static variable in class Text
X coordinate specifying where the text string to be drawn.
x - Variable in class zoomTool
The x of a mouse click.

Y

y - Variable in class coords
Y coordinate.
y - Variable in class coords2
Y coordinate.
y - Static variable in class Text
Y coordinate specifying where the text string to be drawn.
y - Variable in class zoomTool
The y of a mouse click.
yellow - Variable in class TerpPaint
Java swing GUI depicting the yellow button.
yellowMouseClicked(MouseEvent) - Method in class TerpPaint
Sets yellow as the active color by mouse click.
YES - Static variable in class choice
YES set to 0.
YES - Variable in class saveChanges
java swing GUI depicting the Jbutton called YES.
YESActionPerformed(ActionEvent) - Method in class saveChanges
This method is performed when a user clicks YES button to save the changes.

Z

zoom - Variable in class HelpWindow
JMenuItem to see the zoom tool click help.
zoom - Variable in class main_canvas
Default zoom false.
Zoom - Variable in class TerpPaint
Java swing GUI depicting the menu called Zoom.
zoom - Variable in class TerpPaint
Java swing GUI depicting the button called zoom.
zoom1 - Variable in class TerpPaint
Java swing GUI depicting the zoom level 1.
zoom1ActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to zoom at 1X which is the normal rate.
zoom2 - Variable in class TerpPaint
Java swing GUI depicting the zoom level 2.
zoom2ActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to zoom at 2X.
zoom3 - Variable in class TerpPaint
Java swing GUI depicting the level 3 zoom.
zoom3ActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to zoom at 4X.
zoom4 - Variable in class TerpPaint
Java swing GUI depicting the level 4 zoom.
zoom4ActionPerformed(ActionEvent) - Method in class TerpPaint
This function allows you to zoom at 8X.
zoom_properties - Variable in class TerpPaint
Java swing GUI depicting the panel zoom properties.
zoomActionPerformed(ActionEvent) - Method in class TerpPaint
Initializes zoomTool 1.
zoomDrag - Variable in class HelpWindow
JMenuItem to see the zoom tool drag help.
zoomFactor - Variable in class main_canvas
Sets zoomFactor default 1.0.
zoomImg - Variable in class TerpPaint
This is an Image value that is initialize by getImage() for cursor.
zoomTool - Class in <Unnamed>
The zoomTool is used to control and adjust the canvas's zooming size.
zoomTool() - Constructor for class zoomTool
Creates a zoomTool object and sets the zoom to 1.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z