A C D F G H I K M O P R S T

A

act() - Method in class tapestry.support.swing.TAnimator
 
act() - Method in class tapestry.support.swing.TComposite
 
act() - Method in class tapestry.support.swing.TDrawable
By default, shapes do nothing.
act() - Method in class tapestry.support.swing.TPainter
 
actionPerformed(ActionEvent) - Method in class tapestry.support.swing.TAnimator
 
add(Component) - Method in class tapestry.support.swing.TApplet
Adds the specified component to this container replacing the current component within it.
add(Component) - Method in class tapestry.support.swing.TFrame
 
addDrawable(TDrawable) - Method in class tapestry.support.swing.TCanvas
 
addDrawable(TDrawable) - Method in class tapestry.support.swing.TComposite
 
appendLine(String) - Method in class tapestry.support.swing.TTextArea
 

C

ColorDice - class tapestry.support.util.ColorDice.
A class for simulating a die with colors on its sides instead of standard numbers, i.e., an object "rolled" to generate a random color.
ColorDice() - Constructor for class tapestry.support.util.ColorDice
Creates a single die for creating random colors.

D

DEFAULT_DELAY - Static variable in class tapestry.support.swing.TAnimator
 
Dice - class tapestry.support.util.Dice.
A class for simulating a die, i.e., an object "rolled" to generate a random number between 1 and the number of sides.
Dice(int) - Constructor for class tapestry.support.util.Dice
Creates a single die with the number of sides specified by numSides (e.g., 2 is a coin, 6 is a cubed die).
dispose() - Method in class tapestry.support.swing.TAnimator
 
draw(Graphics) - Method in class tapestry.support.swing.TDrawable
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TArc
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TComposite
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TDrawable
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TImage
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TLine
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TOval
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TRectangle
 
drawFeature(Graphics, boolean) - Method in class tapestry.support.swing.TText
 

F

fill() - Method in class tapestry.support.swing.TComposite
 
fill() - Method in class tapestry.support.swing.TDrawable
Display the shape as filled in when drawn.

G

getBounds() - Method in class tapestry.support.swing.TApplet
Returns the applet's boundaries as a rectangle, i.e., upper-left corner (x, y) and dimensions (width, height).
getBounds() - Method in class tapestry.support.swing.TCanvas
Returns the canvas's boundaries as a rectangle, i.e., upper-left corner (x, y) and dimensions (width, height).
getCanvas() - Method in class tapestry.support.swing.TApplet
Gets the TCanvas within this container.
getCenter() - Method in class tapestry.support.swing.TDrawable
Returns the shape's center.
getColor() - Method in class tapestry.support.swing.TDrawable
Get the color of the shape when drawn.
getContainer() - Method in class tapestry.support.swing.TAnimator
 
getCount() - Method in class tapestry.support.swing.TAnimator
 
getDelay() - Method in class tapestry.support.swing.TAnimator
 
getHeight() - Method in class tapestry.support.swing.TDimension
 
getImage() - Method in class tapestry.support.swing.TImage
Returns the shape's image.
getInstance() - Static method in class tapestry.support.swing.TApplet
Returns the single instance of the TApplet.
getNumRolls() - Method in class tapestry.support.util.ColorDice
Returns the number of times roll() has been called for a specific dice.
getNumRolls() - Method in class tapestry.support.util.Dice
Returns the number of times roll() has been called for a specific dice.
getNumRolls() - Method in class tapestry.support.util.PointDice
Returns the number of times roll() has been called for a specific dice.
getNumRolls() - Method in class tapestry.support.util.StringDice
Returns the number of times roll() has been called for a specific dice.
getNumSides() - Method in class tapestry.support.util.ColorDice
Returns the number of sides for a specific dice.
getNumSides() - Method in class tapestry.support.util.Dice
Returns the number of sides for a specific dice.
getNumSides() - Method in class tapestry.support.util.PointDice
Returns the number of sides for a specific dice.
getNumSides() - Method in class tapestry.support.util.StringDice
Returns the number of sides for a specific dice.
getSize() - Method in class tapestry.support.swing.TArc
Returns the shape's size.
getSize() - Method in class tapestry.support.swing.TComposite
Returns the shape's size.
getSize() - Method in class tapestry.support.swing.TDrawable
Returns the shape's size.
getSize() - Method in class tapestry.support.swing.TImage
Returns the shape's size.
getSize() - Method in class tapestry.support.swing.TLine
Returns the shape's size.
getSize() - Method in class tapestry.support.swing.TOval
Returns the shape's size.
getSize() - Method in class tapestry.support.swing.TRectangle
Returns the shape's size.
getSize() - Method in class tapestry.support.swing.TText
Returns the shape's size.
getText() - Method in class tapestry.support.swing.TText
Returns the shape's text.
getWidth() - Method in class tapestry.support.swing.TDimension
 

H

hide() - Method in class tapestry.support.swing.TComposite
 
hide() - Method in class tapestry.support.swing.TDrawable
 

I

init() - Method in class tapestry.support.swing.TAnimator
 
init() - Method in class tapestry.support.swing.TApplet
 
init() - Method in class tapestry.support.swing.TFrame
 
isFocusTraversable() - Method in class tapestry.support.swing.TCanvas
 
isRunning() - Method in class tapestry.support.swing.TAnimator
 

K

keyPressed(String) - Method in class tapestry.support.swing.TCanvas
 
keyReleased(String) - Method in class tapestry.support.swing.TCanvas
 
keyTyped(String) - Method in class tapestry.support.swing.TCanvas
 

M

mouseClicked(Point) - Method in class tapestry.support.swing.TCanvas
 
mouseDragged(Point) - Method in class tapestry.support.swing.TCanvas
 
mouseEntered(Point) - Method in class tapestry.support.swing.TCanvas
 
mouseExited(Point) - Method in class tapestry.support.swing.TCanvas
 
mouseMoved(Point) - Method in class tapestry.support.swing.TCanvas
 
mousePressed(Point) - Method in class tapestry.support.swing.TCanvas
 
mouseReleased(Point) - Method in class tapestry.support.swing.TCanvas
 
move(int, int) - Method in class tapestry.support.swing.TComposite
 
move(int, int) - Method in class tapestry.support.swing.TDrawable
Moves the shape's center point by specified amnount.
MovePointAlong(Point) - Method in class tapestry.support.util.Orientation
 

O

Orientation - class tapestry.support.util.Orientation.
 
Orientation() - Constructor for class tapestry.support.util.Orientation
 
Orientation(double, double, double) - Constructor for class tapestry.support.util.Orientation
 
OrientTowards(Point, Point) - Method in class tapestry.support.util.Orientation
 
outline() - Method in class tapestry.support.swing.TComposite
 
outline() - Method in class tapestry.support.swing.TDrawable
Display the shape as outlined when drawn.

P

paintComponent(Graphics) - Method in class tapestry.support.swing.TCanvas
 
PointDice - class tapestry.support.util.PointDice.
A class for simulating a die with points within a given bounds on its sides instead of standard numbers, i.e., an object "rolled" to generate a random position.
PointDice(Rectangle) - Constructor for class tapestry.support.util.PointDice
Creates a single die for creating random points.

R

remove(Component) - Method in class tapestry.support.swing.TApplet
Removes the specified component from this container.
remove(Component) - Method in class tapestry.support.swing.TFrame
 
removeDrawable(TDrawable) - Method in class tapestry.support.swing.TCanvas
 
removeDrawable(TDrawable) - Method in class tapestry.support.swing.TComposite
 
roll() - Method in class tapestry.support.util.ColorDice
Returns the random "roll" of the die, a uniformly distributed random color between 1 and number of possible colors.
roll() - Method in class tapestry.support.util.Dice
Returns the random "roll" of the die, a uniformly distributed random number between 1 and numSides.
roll() - Method in class tapestry.support.util.PointDice
Returns the random "roll" of the die, a uniformly distributed point within the given bounds.
roll() - Method in class tapestry.support.util.StringDice
Returns the random "roll" of the die, a uniformly distributed random string of length myLength.

S

setCenter(int, int) - Method in class tapestry.support.swing.TDrawable
Sets the shape's center to the given point.
setCenter(Point) - Method in class tapestry.support.swing.TDrawable
Sets the shape's center to the given point.
setColor(Color) - Method in class tapestry.support.swing.TComposite
 
setColor(Color) - Method in class tapestry.support.swing.TDrawable
Display the shape in specified color when drawn.
setContainer(TCanvas) - Method in class tapestry.support.swing.TDrawable
 
setDelay(double) - Method in class tapestry.support.swing.TAnimator
 
setFont(Font) - Method in class tapestry.support.swing.TText
Sets the font of the text.
setImage(String) - Method in class tapestry.support.swing.TImage
Sets the shape's image to new image from specified url.
setLayout(LayoutManager) - Method in class tapestry.support.swing.TApplet
Sets the layout manager for this container, i.e., how components are arranged within this container.
setLayout(LayoutManager) - Method in class tapestry.support.swing.TFrame
 
setLineWidth(double) - Method in class tapestry.support.swing.TComposite
 
setLineWidth(double) - Method in class tapestry.support.swing.TDrawable
 
setSize(Dimension2D) - Method in class tapestry.support.swing.TDimension
 
setSize(double, double) - Method in class tapestry.support.swing.TDimension
 
setSize(int, int) - Method in class tapestry.support.swing.TArc
Sets the shape's size.
setSize(int, int) - Method in class tapestry.support.swing.TComposite
Sets the shape's size.
setSize(int, int) - Method in class tapestry.support.swing.TDrawable
Sets the shape's size.
setSize(int, int) - Method in class tapestry.support.swing.TImage
Sets the image's size.
setSize(int, int) - Method in class tapestry.support.swing.TLine
Sets the shape's size.
setSize(int, int) - Method in class tapestry.support.swing.TOval
Sets the shape's size.
setSize(int, int) - Method in class tapestry.support.swing.TRectangle
Sets the shape's size.
setSize(int, int) - Method in class tapestry.support.swing.TText
Sets the shape's size.
setText(String) - Method in class tapestry.support.swing.TText
Sets the shape's text.
show() - Method in class tapestry.support.swing.TComposite
 
show() - Method in class tapestry.support.swing.TDrawable
 
start() - Method in class tapestry.support.swing.TAnimator
 
stop() - Method in class tapestry.support.swing.TAnimator
 
StringDice - class tapestry.support.util.StringDice.
A class for simulating a die with strings on its sides instead of standard numbers, i.e., an object "rolled" to generate a random string.
StringDice() - Constructor for class tapestry.support.util.StringDice
Creates a single die for creating random strings.
StringDice(int) - Constructor for class tapestry.support.util.StringDice
Creates a single die for creating random strings.

T

TAnimator - class tapestry.support.swing.TAnimator.
 
TAnimator() - Constructor for class tapestry.support.swing.TAnimator
 
TAnimator(double) - Constructor for class tapestry.support.swing.TAnimator
 
TAnimator(double, TCanvas) - Constructor for class tapestry.support.swing.TAnimator
 
TApplet - class tapestry.support.swing.TApplet.
An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application.
TApplet() - Constructor for class tapestry.support.swing.TApplet
Creates a tapestry applet instance.
TArc - class tapestry.support.swing.TArc.
A TArc class is a 2D arc defined by a bounding rectangle, start angle, and angular extent (length of the arc).
TArc(int, int, int, int, int, int) - Constructor for class tapestry.support.swing.TArc
Creates a new TArc centered at position (cx, cy) with specified width and height, whose curve starts at start and continues for extent degrees.
TArc(Point, Dimension, int, int) - Constructor for class tapestry.support.swing.TArc
Creates a new TArc centered at position center with specified size, whose curve starts at start and continues for extent degrees.
TCanvas - class tapestry.support.swing.TCanvas.
A class that represents a blank rectangular area of the screen onto which TShapes can be drawn and user events (i.e., mouse and keyboard presses) can be accessed.
TCanvas() - Constructor for class tapestry.support.swing.TCanvas
Creates a new blank canvas.
TComposite - class tapestry.support.swing.TComposite.
 
TComposite() - Constructor for class tapestry.support.swing.TComposite
 
TDimension - class tapestry.support.swing.TDimension.
 
TDimension() - Constructor for class tapestry.support.swing.TDimension
 
TDimension(Dimension2D) - Constructor for class tapestry.support.swing.TDimension
 
TDimension(double, double) - Constructor for class tapestry.support.swing.TDimension
 
TDrawable - class tapestry.support.swing.TDrawable.
An abstract class that represents any shape that can be drawn.
TDrawable(Point) - Constructor for class tapestry.support.swing.TDrawable
Creates a drawable shape centered at point center contained in the applet's canvas.
TDrawable(Point, TCanvas) - Constructor for class tapestry.support.swing.TDrawable
Creates a drawable shape centered at point center contained in canvas.
TFrame - class tapestry.support.swing.TFrame.
A very simple frame.
TFrame() - Constructor for class tapestry.support.swing.TFrame
 
TImage - class tapestry.support.swing.TImage.
A class that is an image defined by a center location (x, y) and dimension (w x h).
TImage(int, int, String) - Constructor for class tapestry.support.swing.TImage
Creates a new TImage centered at position (cx, cy) with specified image from specified URL.
TImage(Point, String) - Constructor for class tapestry.support.swing.TImage
Creates a new TImage centered at specified point with specified text.
TLine - class tapestry.support.swing.TLine.
A class that is a line segment.
TLine(int, int, int, int) - Constructor for class tapestry.support.swing.TLine
Creates a new TLine segment from position (x1, y1) to position (x2, y2).
TLine(Point, Dimension) - Constructor for class tapestry.support.swing.TLine
Creates a new TLine segment centered at center with size size.
TLine(Point, int) - Constructor for class tapestry.support.swing.TLine
Creates a new TLine segment centered at center with size size.
TLine(Point, Point) - Constructor for class tapestry.support.swing.TLine
Creates a new TLine segment from point start to point end.
TOval - class tapestry.support.swing.TOval.
A class that is an ellipse defined by a bounding rectangle.
TOval(int, int, int) - Constructor for class tapestry.support.swing.TOval
Creates a new TOval centered at position (cx, cy) with specified diameter (i.e., a circle).
TOval(int, int, int, int) - Constructor for class tapestry.support.swing.TOval
Creates a new TOval centered at position (cx, cy) with specified width and height.
TOval(Point, Dimension) - Constructor for class tapestry.support.swing.TOval
Creates a new TOval centered at position center with specified size.
TPainter - class tapestry.support.swing.TPainter.
 
TPainter() - Constructor for class tapestry.support.swing.TPainter
 
TPainter(TCanvas) - Constructor for class tapestry.support.swing.TPainter
 
TRectangle - class tapestry.support.swing.TRectangle.
A class that is a rectangle defined by a center location (x, y) and dimension (w x h).
TRectangle(int, int, int) - Constructor for class tapestry.support.swing.TRectangle
Creates a new TRectangle centered at position (cx, cy) with specified size (i.e., a square).
TRectangle(int, int, int, int) - Constructor for class tapestry.support.swing.TRectangle
Creates a new TRectangle centered at position (cx, cy) with specified width and height.
TRectangle(Point, Dimension) - Constructor for class tapestry.support.swing.TRectangle
Creates a new TRectangle centered at specified point with specified size.
TText - class tapestry.support.swing.TText.
A class that displays text centered at location (x, y).
TText(int, int, String) - Constructor for class tapestry.support.swing.TText
Creates a new TText centered at position (cx, cy) with specified text.
TText(Point, String) - Constructor for class tapestry.support.swing.TText
Creates a new TText centered at specified point with specified text.
TTextArea - class tapestry.support.swing.TTextArea.
A very simple text area.
TTextArea() - Constructor for class tapestry.support.swing.TTextArea
 
TTextArea(Container) - Constructor for class tapestry.support.swing.TTextArea
 

A C D F G H I K M O P R S T