|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.Android_Seminar.Graphics
public class Graphics
Constructor Summary | |
---|---|
Graphics(Context context,
SensorController sensorController,
int width,
int height)
Constructor |
Method Summary | |
---|---|
void |
createBitmap()
This creates us the Canvas and Bitmap object for the diagram |
void |
diagramm()
This print us the coordinate system |
ImageView |
getImageView()
This give us the ImageView with the coordinate System |
void |
insertPoints()
This insert the last 30 points in the coordinate system |
void |
run()
This need we for execute the Thread |
void |
setDimension(int height,
int width)
This method we need for resize the bitmap |
void |
setStart()
This Method we need for starting the Thread |
void |
setStop()
This Method we need for stopping the Thread |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Graphics(Context context, SensorController sensorController, int width, int height)
Context
- contextSensorController
- sensorController for getting the data'sint
- width Width of the bitmapint
- height Height of the bitmapMethod Detail |
---|
public void createBitmap()
public void diagramm()
public void insertPoints()
public void run()
run
in interface java.lang.Runnable
public ImageView getImageView()
public void setStop()
public void setStart()
public void setDimension(int height, int width)
height
- New Height of the Bitmapwidth
- New Width of the Bitmap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |