|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--org.PingOO.DLAI.lib.graph.Graph2D.LoadMessage
This is a separate thread that flashes a message on the Graph2D canvas that data is loading
| Field Summary | |
(package private) java.awt.Font |
f
|
(package private) java.awt.Color |
foreground
|
(package private) Graph2D |
g2d
|
(package private) long |
invisible
|
(package private) java.awt.Graphics |
lg
|
(package private) java.lang.String |
message
|
(package private) java.lang.String |
newmessage
|
(package private) long |
visible
|
| Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
| Constructor Summary | |
Graph2D.LoadMessage(Graph2D g2d)
Instantiate the class |
|
Graph2D.LoadMessage(Graph2D g2d,
java.lang.String s)
Instantiate the class |
|
Graph2D.LoadMessage(Graph2D g,
java.lang.String s,
long visible,
long invisible)
Instantiate the class |
|
| Method Summary | |
void |
begin()
Begin displaying the message |
void |
end()
end displaying message and force a graph repaint |
void |
run()
The method to call when the thread starts. |
void |
setFont(java.awt.Font f)
Set the font the message will be displayed in |
void |
setForeground(java.awt.Color c)
The foreground color for the message |
void |
setMessage(java.lang.String s)
Sets the message to be displayed |
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
Graph2D g2d
java.lang.String message
java.lang.String newmessage
long visible
long invisible
java.awt.Color foreground
java.awt.Graphics lg
java.awt.Font f
| Constructor Detail |
public Graph2D.LoadMessage(Graph2D g2d)
g2d - The Graph2D canvas to draw message on
public Graph2D.LoadMessage(Graph2D g2d,
java.lang.String s)
g2d - The Graph2D canvas to draw message ons - The string to flash on the canvas
public Graph2D.LoadMessage(Graph2D g,
java.lang.String s,
long visible,
long invisible)
g2d - The Graph2D canvas to draw message ons - The string to flash on the canvasvisible - Number of milliseconds the message is visibleinvisible - Number of milliseconds the message is invisible| Method Detail |
public void begin()
public void end()
public void run()
public void setFont(java.awt.Font f)
f - the fontpublic void setForeground(java.awt.Color c)
c - the foreground colorpublic void setMessage(java.lang.String s)
s - the message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||