Class ButtonUiControl

  • All Implemented Interfaces:
    IControl

    public class ButtonUiControl
    extends java.lang.Object
    implements IControl
    Implements a UI control class for Button.
    Author:
    Holger Eichelberger
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.swt.widgets.Button button  
      private java.lang.String initialText  
    • Constructor Summary

      Constructors 
      Constructor Description
      ButtonUiControl​(org.eclipse.swt.widgets.Button button)
      Creates a button UI control.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setEnabled​(IAggregatableListener key, boolean enabled)
      Notifies Sets the display status to disabled or enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • button

        private org.eclipse.swt.widgets.Button button
      • initialText

        private java.lang.String initialText
    • Constructor Detail

      • ButtonUiControl

        public ButtonUiControl​(org.eclipse.swt.widgets.Button button)
        Creates a button UI control.
        Parameters:
        button - the button
    • Method Detail

      • setEnabled

        public void setEnabled​(IAggregatableListener key,
                               boolean enabled)
        Description copied from interface: IControl
        Notifies Sets the display status to disabled or enabled.
        Specified by:
        setEnabled in interface IControl
        Parameters:
        key - optional information that uniquely identifies the caller in order to aggregate the overall status (may be null)
        enabled - the next display status