tapestry.support.swing
Class TComposite

java.lang.Object
  |
  +--tapestry.support.swing.TAnimator
        |
        +--tapestry.support.swing.TDrawable
              |
              +--tapestry.support.swing.TComposite

public class TComposite
extends TDrawable


Fields inherited from class tapestry.support.swing.TAnimator
DEFAULT_DELAY
 
Constructor Summary
TComposite()
           
 
Method Summary
 void act()
           
 void addDrawable(TDrawable elt)
           
 void drawFeature(java.awt.Graphics g, boolean isFilled)
           
 void fill()
           
 java.awt.Dimension getSize()
          Returns the shape's size.
 void hide()
           
 void move(int dx, int dy)
           
 void outline()
           
 void removeDrawable(TDrawable elt)
           
 void setColor(java.awt.Color color)
           
 void setLineWidth(double width)
           
 void setSize(int width, int height)
          Sets the shape's size.
 void show()
           
 
Methods inherited from class tapestry.support.swing.TDrawable
draw, getCenter, getColor, setCenter, setCenter, setContainer
 
Methods inherited from class tapestry.support.swing.TAnimator
actionPerformed, dispose, getContainer, getCount, getDelay, init, isRunning, setDelay, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TComposite

public TComposite()
Method Detail

getSize

public java.awt.Dimension getSize()
Returns the shape's size.
Returns:
width and height of shape
Overrides:
getSize in class TDrawable

setSize

public void setSize(int width,
                    int height)
Sets the shape's size.
Parameters:
width - new width of shape
height - new height of shape
Overrides:
setSize in class TDrawable

addDrawable

public void addDrawable(TDrawable elt)

removeDrawable

public void removeDrawable(TDrawable elt)

fill

public void fill()
Overrides:
fill in class TDrawable

outline

public void outline()
Overrides:
outline in class TDrawable

setColor

public void setColor(java.awt.Color color)
Overrides:
setColor in class TDrawable

setLineWidth

public void setLineWidth(double width)
Overrides:
setLineWidth in class TDrawable

move

public void move(int dx,
                 int dy)
Overrides:
move in class TDrawable

drawFeature

public void drawFeature(java.awt.Graphics g,
                        boolean isFilled)
Overrides:
drawFeature in class TDrawable

act

public void act()
Overrides:
act in class TDrawable

show

public void show()
Overrides:
show in class TDrawable

hide

public void hide()
Overrides:
hide in class TDrawable