com.groovemanager.gui.custom
Class InfoGroupContainer.LabelUpdater

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

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

A Runnable implementation used for Thread-safe updating of Labels

Author:
Manu Robledo

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

Field Detail

l

private org.eclipse.swt.widgets.Label l
The Label to update


text

private java.lang.String text
The new text

Constructor Detail

InfoGroupContainer.LabelUpdater

private InfoGroupContainer.LabelUpdater()
Method Detail

run

public void run()
Update the Labelīs content

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

setLabel

void setLabel(org.eclipse.swt.widgets.Label l)
Set the Label to update

Parameters:
l - The Label to update

setText

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

Parameters:
text - The new text