Class GroupCommandViewer

All Implemented Interfaces:
fr.esrf.tangoatk.core.IEndGroupExecutionListener, fr.esrf.tangoatk.core.IErrorListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants

public class GroupCommandViewer extends JButton implements fr.esrf.tangoatk.core.IEndGroupExecutionListener
Simple command button.
See Also:
  • Field Details

    • cmdgModel

      protected fr.esrf.tangoatk.core.ICommandGroup cmdgModel
    • confirmDialParent

      protected Component confirmDialParent
    • confirmTitle

      protected String confirmTitle
    • confirmMessage

      protected String confirmMessage
  • Constructor Details

    • GroupCommandViewer

      public GroupCommandViewer()
  • Method Details

    • setButtonLabel

      public void setButtonLabel(String lab)
    • getButtonLabel

      public String getButtonLabel()
    • getHasConfirmation

      public boolean getHasConfirmation()
    • setHasConfirmation

      public void setHasConfirmation(boolean conf)
    • getConfirmDialParent

      public Component getConfirmDialParent()
    • setConfirmDialParent

      public void setConfirmDialParent(Component parent)
    • getConfirmTitle

      public String getConfirmTitle()
    • setConfirmTitle

      public void setConfirmTitle(String title)
    • getConfirmMessage

      public String getConfirmMessage()
    • setConfirmMessage

      public void setConfirmMessage(String msg)
    • executeButtonActionPerformed

      protected void executeButtonActionPerformed(ActionEvent actionevent)
    • endGroupExecution

      public void endGroupExecution(fr.esrf.tangoatk.core.EndGroupExecutionEvent evt)
      Specified by:
      endGroupExecution in interface fr.esrf.tangoatk.core.IEndGroupExecutionListener
    • errorChange

      public void errorChange(fr.esrf.tangoatk.core.ErrorEvent errorevent)
      Specified by:
      errorChange in interface fr.esrf.tangoatk.core.IErrorListener
    • setModel

      public void setModel(fr.esrf.tangoatk.core.ICommandGroup cmdg)
    • clearModel

      public void clearModel()
    • main

      public static void main(String[] args)