Class CountDownProgressBarControl

java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.livecontrol.LiveControlBase
uk.ac.gda.client.live.stream.controls.custom.widgets.CountDownProgressBarControl
All Implemented Interfaces:
Findable, LiveControl

public class CountDownProgressBarControl extends LiveControlBase
A Spring configure bean for LiveControl used to populate items in LiveControlsView. It has 5 properties: a group name, a display name, an IObservable to providing count down time, a time unit, and text width. Among these, only the IObservable instance is essential.
  • Constructor Details

    • CountDownProgressBarControl

      public CountDownProgressBarControl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class LiveControlBase
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class LiveControlBase
    • createControl

      public void createControl(org.eclipse.swt.widgets.Composite composite)
      Description copied from interface: LiveControl
      This method will create the GUI for this control.
      Parameters:
      composite - The composite onto which the control should draw
    • init

      public void init()
    • toString

      public String toString()
      Overrides:
      toString in class LiveControlBase
    • getObservable

      public gda.observable.IObservable getObservable()
    • setObservable

      public void setObservable(gda.observable.IObservable observable)
    • getBarWidth

      public Integer getBarWidth()
    • setBarWidth

      public void setBarWidth(Integer barWidth)