Package com.iizigo.swt
Class CheckboxLabelFix
- java.lang.Object
- com.iizigo.swt.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 Type Method Description 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.void
mouseDoubleClick(org.eclipse.swt.events.MouseEvent e)
Mouse in Label.void
mouseDown(org.eclipse.swt.events.MouseEvent e)
Toggles the button.void
mouseUp(org.eclipse.swt.events.MouseEvent e)
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 interfaceorg.eclipse.swt.events.MouseListener
mouseUp
public void mouseUp(org.eclipse.swt.events.MouseEvent e)
- Specified by:
mouseUp
in interfaceorg.eclipse.swt.events.MouseListener
mouseDown
public void mouseDown(org.eclipse.swt.events.MouseEvent e)
Toggles the button.- Specified by:
mouseDown
in interfaceorg.eclipse.swt.events.MouseListener