Timer

php\swing\Timer

Properties


property repeat

bool

property delay

int

Delay in milliseconds for repeats

property initDelay

int

Initial Delay in milliseconds for first trigger

property actionCommand

string

User data

Methods


__construct($delay, $callback)
Parameters:
  • $delayint
  • $callbackcallable
start()
stop()
restart()
isRunning()
Returns:bool