com.groovemanager.gui.custom
Class InfoGroupContainer.TextUpdater

java.lang.Object
  extended by com.groovemanager.gui.custom.InfoGroupContainer.TextUpdater
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
InfoGroupContainer

private static class InfoGroupContainer.TextUpdater
extends java.lang.Object
implements java.lang.Runnable

A Runnable implementation used for Thread-safe updating of Text fields

Author:
Manu Robledo

Field Summary
private  org.eclipse.swt.widgets.Text t
          The Text field to update
private  java.lang.String text
          The new text
 
Constructor Summary
private InfoGroupContainer.TextUpdater()
           
 
Method Summary
 void run()
          Update the Text fieldīs content.
(package private)  void setText(java.lang.String text)
          Set the new text
(package private)  void setTextField(org.eclipse.swt.widgets.Text t)
          Set the Text field to update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

t

private org.eclipse.swt.widgets.Text t
The Text field to update


text

private java.lang.String text
The new text

Constructor Detail

InfoGroupContainer.TextUpdater

private InfoGroupContainer.TextUpdater()
Method Detail

run

public void run()
Update the Text fieldīs content.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()

setText

void setText(java.lang.String text)
Set the new text

Parameters:
text - The new text

setTextField

void setTextField(org.eclipse.swt.widgets.Text t)
Set the Text field to update

Parameters:
t - The Text field to update