A B C F G H I J L M O P R S U X Y

A

addEnvironmentWord(String) - Method in class HighlightingStyledDocument
Method: addEnvironmentWord Adds an environment word to the Vector of environment words.
addKeyword(String) - Method in class HighlightingStyledDocument
Method: addKeyword Adds a keyword to the Vector of keywords.

B

bimg - Variable in class JavaPicture
 
bimg2D - Variable in class JavaPicture
 

C

canvas - Variable in class JavaPicture
 
changedUpdate(DocumentEvent) - Method in class JESGutter
Method: changedUpdate Gives notification that an attribute or set of attributes changed.
close() - Static method in class JavaMusic
 
createNewImage(int, int) - Method in class JavaPicture
Creates a new Image of height and width
createZoom(int, int, int) - Method in class PictureViewer
Enlarges each pixel to give the affect of zoom

F

filename - Variable in class JavaPicture
 
fireRemoveUpdate(DocumentEvent) - Method in class HighlightingStyledDocument
fireRemoveUpdate Overrides the default method from DefaultStyledDocument.

G

getAlpha() - Method in class JavaPixel
Returns the alpha value of the pixel.
getBasicPixel(int, int) - Method in class JavaPicture
Returns a pixel
getBlue() - Method in class JavaPixel
Returns the blue value of the pixel.
getCanvas() - Method in class JavaPicture
Makes the image on the JPanel
getChannel() - Static method in class JavaMusic
 
getFileName() - Method in class JavaPicture
Gets the file name
getGreen() - Method in class JavaPixel
Returns the green value of the pixel.
getHeight() - Method in class JavaPicture
accessor height
getPixel(int, int) - Method in class JavaPicture
Returns a JavaPixel
getRed() - Method in class JavaPixel
Returns the red value of the pixel.
getURL(String) - Method in class JavaPicture
Returns an updated file name with the proper start
getWidth() - Method in class JavaPicture
accessor width

H

HighlightingStyledDocument - class HighlightingStyledDocument.
Highlights jython syntax in a Document Created for the Jython Environment for Students (JES) Hilghights keywords and environment words that are defined for it.
HighlightingStyledDocument() - Constructor for class HighlightingStyledDocument
 

I

img - Variable in class JavaPicture
 
insertString(int, String, AttributeSet) - Method in class HighlightingStyledDocument
insertString Overrides the default method from DefaultStyledDocument.
insertUpdate(DocumentEvent) - Method in class JESGutter
Method: insertUpdate Gives notification that there was text inserted into the document.

J

JavaMusic - class JavaMusic.
 
JavaMusic() - Constructor for class JavaMusic
 
JavaPicture - class JavaPicture.
 
JavaPicture() - Constructor for class JavaPicture
Public constructor
JavaPixel - class JavaPixel.
* class JavaPixel * a class representing a pixel in a picture * * @author Mark Guzdial * @version 2
JavaPixel(JavaPicture, int, int) - Constructor for class JavaPixel
* * @param pic the JavaPicture object for each the JavaPixel is a pixel for * @param px the x coordinate of the pixel in pic * @param py the y coordinate of the pixel in pic
JESGutter - class JESGutter.
The JES Gutter Created for the Jython Environment for Students The JES Gutter is a side bar that shows useful contextual information about the document being currently edited.
JESGutter(JEditorPane, Font) - Constructor for class JESGutter
Class constructor Creates a Gutter object with a given TextComponent.

L

loadImage(String) - Method in class JavaPicture
Returns 1 of success 0 for failure

M

main(String[]) - Static method in class JavaMusic
 
main(String[]) - Static method in class JavaPicture
Test Main
main(String[]) - Static method in class PictureViewer
Test Main
mouseDragged(MouseEvent) - Method in class PictureViewer
 
mouseMoved(MouseEvent) - Method in class PictureViewer
 

O

open() - Static method in class JavaMusic
 

P

paint(Graphics) - Method in class JESGutter
paint Paints gutter information to the graphics object
PictureViewer - class PictureViewer.
 
PictureViewer(JavaPicture) - Constructor for class PictureViewer
Public constructor
pixels - Variable in class JavaPicture
 
playNote(int, int) - Static method in class JavaMusic
 
playNote(int, int, int) - Static method in class JavaMusic
 

R

removeUpdate(DocumentEvent) - Method in class JESGutter
Method: removeUpdate Gives notifications that text was removed from the document.

S

saveImage(String) - Method in class JavaPicture
Saves the image to file
setBasicPixel(int, int, int) - Method in class JavaPicture
Sets a pixel
setBlue(int) - Method in class JavaPixel
Sets the blue value of the pixel.
setCommentStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setCommentStyle Sets the style of text to use for comments
setDefaultStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setDefaultStyle Sets the default style of text to use
setDocument(Document) - Method in class JESGutter
setDocument Sets the document for the gutter to listen for changes in.
setEnvironmentWords(String[]) - Method in class HighlightingStyledDocument
Method: setEnvironmentWords Sets a collection of environment words to highlight.
setEnvironmentWordStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setEnvironmentWordStyle Sets the style of text to use for environment words
setFilename(String) - Method in class JavaPicture
Sets the filename and the title of the window
setGreen(int) - Method in class JavaPixel
Sets the green value of the pixel.
setKeywords(String[]) - Method in class HighlightingStyledDocument
Method: setKeywords Sets a collection of keywords to highlight.
setKeywordStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setKeywordStyle Sets the style of text to use for keywords
setLine(int, int, int) - Method in class JESGutter
setLine Adds a line to the gutter.
setPixel() - Method in class JavaPixel
actually sets the integer (or basic) value of the pixel once the separate * red, green, blue and alpha values are set *
setRed(int) - Method in class JavaPixel
Sets the red value of the pixel.
setStringStyle(SimpleAttributeSet) - Method in class HighlightingStyledDocument
Method: setStringStyle Sets the style of text to use for strings
setTextComponent(JEditorPane) - Method in class JESGutter
setTextComponent() Sets th etext component the gutter models itself after
show() - Method in class JavaPicture
Shows the image in a window

U

updateHighlightingInRange(int, int) - Method in class HighlightingStyledDocument
Method: updateHighlightingInRange Looks at a given range of text in a document and highlights it according to keywords, environment, strings, and comments.
updateLines() - Method in class JESGutter
updateLines Recounts the number of lines in the Document, and updates the lines list to have the new last few lines.

X

x - Variable in class JavaPixel
 

Y

y - Variable in class JavaPixel
 

A B C F G H I J L M O P R S U X Y