Class jotsa.JotsaCanvas
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jotsa.JotsaCanvas

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----jotsa.JotsaCanvas

public class JotsaCanvas
extends Canvas

Variable Index

 o BackGC
 o ClearBackGC
 o TempGC

Constructor Index

 o JotsaCanvas(JotsaAnimationApplet)

Method Index

 o action(Event, Object)
 o DrawAll(long)
 o DrawAllScaled(long, double, int, int)
 o DrawBackground()
 o DrawImage()
 o DrawImage(Graphics)
 o DrawScaledBackground(double, int, int)
 o GetClosestObject(long, int, int)
 o GetName()
 o GetPopup()
 o GetRelatedInfo()
 o GetSizeX()
 o GetSizeY()
 o GetSleepTime()
 o handleEvent(Event)
 o InitImages()
 o InsertIntoBackground(JotsaAnimationObject)
 o InsertObject(JotsaAnimationObject)
 o MoveAllIntoBackground()
 o MoveIntoBackground(JotsaAnimationObject)
 o NumObjects()
 o paint(Graphics)
 o PaintEnd()
 o PaintNorm(Graphics)
 o PaintScaled(Graphics)
 o PaintStart()
 o PaintTime()
 o RecreateBackground()
 o RemoveAllObjects()
 o RemoveObject(int)
 o RemoveObject(JotsaAnimationObject)
 o ResetSize()
 o ResetSize(int, int)
 o SetBackground(Color)
 o SetBackgroundSkipObjects(int)
 o SetEventDestination(JotsaScaledWindow)
 o SetName(String)
 o SetPopup(JotsaPopupWindow)
 o SetRelatedInfo(JotsaAnimationObject)
 o SetScaledWindow(JotsaScaledWindow)
 o update(Graphics)
 o Update(long)
 o UpdateNorm(long)
 o UpdateScaled(long)
 o WriteBackgroundLine(int, int, int, int, Color)
 o WriteBackgroundString(String, int, int, Color)

Variables

 o BackGC
  public Graphics BackGC
 o TempGC
  public Graphics TempGC
 o ClearBackGC
  public Graphics ClearBackGC

Constructors

 o JotsaCanvas
  public JotsaCanvas(JotsaAnimationApplet ap)

Methods

 o SetBackground
  public void SetBackground(Color c)
 o SetName
  public void SetName(String str)
 o SetScaledWindow
  public void SetScaledWindow(JotsaScaledWindow swin)
 o SetPopup
  public void SetPopup(JotsaPopupWindow pop)
 o SetEventDestination
  public void SetEventDestination(JotsaScaledWindow ed)
 o GetPopup
  public JotsaPopupWindow GetPopup()
 o GetName
  public String GetName()
 o SetRelatedInfo
  public void SetRelatedInfo(JotsaAnimationObject ob)
 o GetRelatedInfo
  public JotsaAnimationObject GetRelatedInfo()
 o InitImages
  public void InitImages()
 o ResetSize
  public void ResetSize()
 o ResetSize
  public void ResetSize(int width,
                        int height)
 o GetSizeX
  public int GetSizeX()
 o GetSizeY
  public int GetSizeY()
 o InsertObject
  public void InsertObject(JotsaAnimationObject ani)
 o PaintStart
  public void PaintStart()
 o PaintEnd
  public void PaintEnd()
 o PaintTime
  public long PaintTime()
 o DrawBackground
  public void DrawBackground()
 o DrawAll
  public void DrawAll(long timenow)
 o DrawAllScaled
  public void DrawAllScaled(long timenow,
                            double scale,
                            int xoff,
                            int yoff)
 o DrawScaledBackground
  public void DrawScaledBackground(double scale,
                                   int xoff,
                                   int yoff)
 o DrawImage
  public boolean DrawImage()
 o DrawImage
  public void DrawImage(Graphics g)
 o RecreateBackground
  public void RecreateBackground()
 o update
  public void update(Graphics g)
Overrides:
update in class Component
 o paint
  public void paint(Graphics g)
Overrides:
paint in class Canvas
 o PaintNorm
  public void PaintNorm(Graphics g)
 o Update
  public void Update(long timenow)
 o UpdateNorm
  public synchronized void UpdateNorm(long timenow)
 o PaintScaled
  public void PaintScaled(Graphics g)
 o UpdateScaled
  public void UpdateScaled(long timenow)
 o GetSleepTime
  public int GetSleepTime()
 o handleEvent
  public boolean handleEvent(Event e)
Overrides:
handleEvent in class Component
 o action
  public boolean action(Event e,
                        Object arg)
Overrides:
action in class Component
 o WriteBackgroundString
  public JotsaAnimationObject WriteBackgroundString(String str,
                                                    int x,
                                                    int y,
                                                    Color C)
 o MoveIntoBackground
  public void MoveIntoBackground(JotsaAnimationObject obj)
 o MoveAllIntoBackground
  public synchronized void MoveAllIntoBackground()
 o InsertIntoBackground
  public void InsertIntoBackground(JotsaAnimationObject obj)
 o WriteBackgroundLine
  public JotsaAnimationObject WriteBackgroundLine(int x1,
                                                  int y1,
                                                  int x2,
                                                  int y2,
                                                  Color C)
 o SetBackgroundSkipObjects
  public void SetBackgroundSkipObjects(int n)
 o NumObjects
  public int NumObjects()
 o RemoveAllObjects
  public void RemoveAllObjects()
 o RemoveObject
  public void RemoveObject(int key)
 o RemoveObject
  public void RemoveObject(JotsaAnimationObject obj)
 o GetClosestObject
  public JotsaAnimationObject GetClosestObject(long timenow,
                                               int x,
                                               int y)

All Packages  Class Hierarchy  This Package  Previous  Next  Index