apwidgets
Class PAnalogClock
java.lang.Object
apwidgets.PWidget
apwidgets.PAnalogClock
- All Implemented Interfaces:
- android.view.View.OnClickListener
public class PAnalogClock
- extends PWidget
An analog clock. Add instances to PWidgetContainer
.
- Author:
- Rikard Lundstedt
Constructor Summary |
PAnalogClock(int x,
int y)
Creates an analog clock. |
PAnalogClock(int x,
int y,
int size)
Creates an analog clock. |
Method Summary |
void |
init(processing.core.PApplet pApplet)
Initializes the analog clock. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAnalogClock
public PAnalogClock(int x,
int y)
- Creates an analog clock.
- Parameters:
x
- The analog clock's x position.y
- The analog clock's y position.
PAnalogClock
public PAnalogClock(int x,
int y,
int size)
- Creates an analog clock.
- Parameters:
x
- The analog clock's x position in pixels.y
- The analog clock's y position in pixels.size
- The analog clocks size in pixels.
init
public void init(processing.core.PApplet pApplet)
- Initializes the analog clock. Is called by
PWidgetContainer
as it is added to it.
- Overrides:
init
in class PWidget