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
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TComposite
public TComposite()
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 shapeheight
- 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