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
-
BackGC
-
-
ClearBackGC
-
-
TempGC
-
-
JotsaCanvas(JotsaAnimationApplet)
-
-
action(Event, Object)
-
-
DrawAll(long)
-
-
DrawAllScaled(long, double, int, int)
-
-
DrawBackground()
-
-
DrawImage()
-
-
DrawImage(Graphics)
-
-
DrawScaledBackground(double, int, int)
-
-
GetClosestObject(long, int, int)
-
-
GetName()
-
-
GetPopup()
-
-
GetRelatedInfo()
-
-
GetSizeX()
-
-
GetSizeY()
-
-
GetSleepTime()
-
-
handleEvent(Event)
-
-
InitImages()
-
-
InsertIntoBackground(JotsaAnimationObject)
-
-
InsertObject(JotsaAnimationObject)
-
-
MoveAllIntoBackground()
-
-
MoveIntoBackground(JotsaAnimationObject)
-
-
NumObjects()
-
-
paint(Graphics)
-
-
PaintEnd()
-
-
PaintNorm(Graphics)
-
-
PaintScaled(Graphics)
-
-
PaintStart()
-
-
PaintTime()
-
-
RecreateBackground()
-
-
RemoveAllObjects()
-
-
RemoveObject(int)
-
-
RemoveObject(JotsaAnimationObject)
-
-
ResetSize()
-
-
ResetSize(int, int)
-
-
SetBackground(Color)
-
-
SetBackgroundSkipObjects(int)
-
-
SetEventDestination(JotsaScaledWindow)
-
-
SetName(String)
-
-
SetPopup(JotsaPopupWindow)
-
-
SetRelatedInfo(JotsaAnimationObject)
-
-
SetScaledWindow(JotsaScaledWindow)
-
-
update(Graphics)
-
-
Update(long)
-
-
UpdateNorm(long)
-
-
UpdateScaled(long)
-
-
WriteBackgroundLine(int, int, int, int, Color)
-
-
WriteBackgroundString(String, int, int, Color)
-
BackGC
public Graphics BackGC
TempGC
public Graphics TempGC
ClearBackGC
public Graphics ClearBackGC
JotsaCanvas
public JotsaCanvas(JotsaAnimationApplet ap)
SetBackground
public void SetBackground(Color c)
SetName
public void SetName(String str)
SetScaledWindow
public void SetScaledWindow(JotsaScaledWindow swin)
SetPopup
public void SetPopup(JotsaPopupWindow pop)
SetEventDestination
public void SetEventDestination(JotsaScaledWindow ed)
GetPopup
public JotsaPopupWindow GetPopup()
GetName
public String GetName()
SetRelatedInfo
public void SetRelatedInfo(JotsaAnimationObject ob)
GetRelatedInfo
public JotsaAnimationObject GetRelatedInfo()
InitImages
public void InitImages()
ResetSize
public void ResetSize()
ResetSize
public void ResetSize(int width,
int height)
GetSizeX
public int GetSizeX()
GetSizeY
public int GetSizeY()
InsertObject
public void InsertObject(JotsaAnimationObject ani)
PaintStart
public void PaintStart()
PaintEnd
public void PaintEnd()
PaintTime
public long PaintTime()
DrawBackground
public void DrawBackground()
DrawAll
public void DrawAll(long timenow)
DrawAllScaled
public void DrawAllScaled(long timenow,
double scale,
int xoff,
int yoff)
DrawScaledBackground
public void DrawScaledBackground(double scale,
int xoff,
int yoff)
DrawImage
public boolean DrawImage()
DrawImage
public void DrawImage(Graphics g)
RecreateBackground
public void RecreateBackground()
update
public void update(Graphics g)
- Overrides:
- update in class Component
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
PaintNorm
public void PaintNorm(Graphics g)
Update
public void Update(long timenow)
UpdateNorm
public synchronized void UpdateNorm(long timenow)
PaintScaled
public void PaintScaled(Graphics g)
UpdateScaled
public void UpdateScaled(long timenow)
GetSleepTime
public int GetSleepTime()
handleEvent
public boolean handleEvent(Event e)
- Overrides:
- handleEvent in class Component
action
public boolean action(Event e,
Object arg)
- Overrides:
- action in class Component
WriteBackgroundString
public JotsaAnimationObject WriteBackgroundString(String str,
int x,
int y,
Color C)
MoveIntoBackground
public void MoveIntoBackground(JotsaAnimationObject obj)
MoveAllIntoBackground
public synchronized void MoveAllIntoBackground()
InsertIntoBackground
public void InsertIntoBackground(JotsaAnimationObject obj)
WriteBackgroundLine
public JotsaAnimationObject WriteBackgroundLine(int x1,
int y1,
int x2,
int y2,
Color C)
SetBackgroundSkipObjects
public void SetBackgroundSkipObjects(int n)
NumObjects
public int NumObjects()
RemoveAllObjects
public void RemoveAllObjects()
RemoveObject
public void RemoveObject(int key)
RemoveObject
public void RemoveObject(JotsaAnimationObject obj)
GetClosestObject
public JotsaAnimationObject GetClosestObject(long timenow,
int x,
int y)
All Packages Class Hierarchy This Package Previous Next Index