APIdia Launch Partner
Top Fields Constructors Methods
com.sun.glass.ui.headless

public Class HeadlessTimer

extends Timer
Class Inheritance
Imports
com.sun.glass.ui.Timer, java.util.concurrent.ScheduledFuture, .ScheduledThreadPoolExecutor, .TimeUnit

Field Summary

Modifier and TypeField and Description
private static ScheduledThreadPoolExecutor
private ScheduledFuture<?>

Constructor Summary

AccessConstructor and Description
pack-priv
HeadlessTimer(final Runnable runnable)

Method Summary

Modifier and TypeMethod and Description
protected void
_pause(long timer)

Implements abstract com.sun.glass.ui.Timer._pause.

protected void
_resume(long timer)

Implements abstract com.sun.glass.ui.Timer._resume.

protected long
_start(Runnable runnable)

Implements abstract com.sun.glass.ui.Timer._start.

protected long
_start(Runnable runnable, int period)

Implements abstract com.sun.glass.ui.Timer._start.

protected void
_stop(long timer)

Implements abstract com.sun.glass.ui.Timer._stop.

Inherited from com.sun.glass.ui.Timer:
getMaxPeriodgetMinPeriodisRunningpauseresumestartstartstop

Field Detail

schedulerback to summary
private static ScheduledThreadPoolExecutor scheduler
taskback to summary
private ScheduledFuture<?> task

Constructor Detail

HeadlessTimerback to summary
pack-priv HeadlessTimer(final Runnable runnable)

Method Detail

_pauseback to summary
protected void _pause(long timer)

Implements abstract com.sun.glass.ui.Timer._pause.

Annotations
@Override
_resumeback to summary
protected void _resume(long timer)

Implements abstract com.sun.glass.ui.Timer._resume.

Annotations
@Override
_startback to summary
protected long _start(Runnable runnable)

Implements abstract com.sun.glass.ui.Timer._start.

Annotations
@Override
_startback to summary
protected long _start(Runnable runnable, int period)

Implements abstract com.sun.glass.ui.Timer._start.

Annotations
@Override
_stopback to summary
protected void _stop(long timer)

Implements abstract com.sun.glass.ui.Timer._stop.

Annotations
@Override