Class CheckboxLabelFix

  • All Implemented Interfaces:
    java.util.EventListener, org.eclipse.swt.events.MouseListener, org.eclipse.swt.internal.SWTEventListener

    public class CheckboxLabelFix
    extends java.lang.Object
    implements org.eclipse.swt.events.MouseListener
    Fix-class for checkbox and label to handle foreground color.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidfix​(org.eclipse.swt.widgets.Button button, org.eclipse.swt.widgets.Label label)
      Causes drawing of a focus rectangle in a Label when Button has focus.
      voidmouseDoubleClick​(org.eclipse.swt.events.MouseEvent e)
      Mouse in Label.
      voidmouseDown​(org.eclipse.swt.events.MouseEvent e)
      Toggles the button.
      voidmouseUp​(org.eclipse.swt.events.MouseEvent e) 
      • Methods inherited from class java.lang.Object

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

      • fix

        public static void fix​(org.eclipse.swt.widgets.Button button,
                               org.eclipse.swt.widgets.Label label)
        Causes drawing of a focus rectangle in a Label when Button has focus.
      • mouseDoubleClick

        public void mouseDoubleClick​(org.eclipse.swt.events.MouseEvent e)
        Mouse in Label.
        Specified by:
        mouseDoubleClick in interface org.eclipse.swt.events.MouseListener
      • mouseUp

        public void mouseUp​(org.eclipse.swt.events.MouseEvent e)
        Specified by:
        mouseUp in interface org.eclipse.swt.events.MouseListener
      • mouseDown

        public void mouseDown​(org.eclipse.swt.events.MouseEvent e)
        Toggles the button.
        Specified by:
        mouseDown in interface org.eclipse.swt.events.MouseListener