|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.umlv.lawrence.Application
public class Application
| Constructor Summary | |
|---|---|
Application()
|
|
| Method Summary | |
|---|---|
static void |
display(GridPane<?> pane,
String title,
boolean scrolls,
boolean zoom)
Opens a window containing the given view with given title, optionals scroll bars and optional ability to zoom using the mouse wheel. |
static void |
display(GridPane<?> pane,
String title,
boolean scrolls,
double zoomFactor,
int minSize,
int maxSize)
Opens a window containing the given view with given title, optionals scroll bars and optional ability to zoom using the mouse wheel. |
static void |
postInApplicationThread(Runnable runnable)
Post a runnable to be executed by the application thread. |
static ScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay in the application thread. |
static ScheduledFuture<?> |
scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on. |
static ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Application()
| Method Detail |
|---|
public static void postInApplicationThread(Runnable runnable)
runnable - the runnable to execute.
public static ScheduledFuture<?> schedule(Runnable command,
long delay,
TimeUnit unit)
command - the command to executedelay - the time from now to delay executionunit - the time unit of the delay parameter
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit)
command - the command to executeinitialDelay - the time to delay first executionperiod - the period between successive executionsunit - the time unit of the initialDelay and period parameters
public static ScheduledFuture<?> scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
command - the command to executeinitialDelay - the time to delay first executiondelay - the time from now to delay executionunit - the time unit of the initialDelay and period parameters
public static void display(GridPane<?> pane,
String title,
boolean scrolls,
boolean zoom)
pane - the grid pane to displaytitle - the title of the windowscrolls - tells wether scroll bars are to be displayedzoom - tells wether wheel zooms
public static void display(GridPane<?> pane,
String title,
boolean scrolls,
double zoomFactor,
int minSize,
int maxSize)
pane - the grid pane to displaytitle - the title of the windowscrolls - tells wether scroll bars are to be displayedzoom - tells how much wether wheel zooms, 0 to disable this feature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||