org.zaval.lw
Class LwMWheelSupport
org.zaval.lw.LwMWheelSupport
- public class LwMWheelSupport
This class allows you to support mouse wheel for J2SE application. It is impossible to use
the class for J2ME Personal Profile application. As result the LwVCL doesn't support the
mouse wheel feature automatically. So if you are going to use the library under J2SE
you should setup the class for the light weight desktop manually as follow:
...
LwFrame frame = new LwFrame();
new LwMWheelSupport(frame.getRoot());
...
Pay attention the class is not included in the "lw.jar" or "lwext.jar" since the mouse
wheel support implementation is not J2ME Personal Profile compatible. You should
care to include the class in your classpath.
|
Constructor Summary |
LwMWheelSupport(LwComponent c)
Constructs the class instance and intalls the mouse wheel support for the
specified component desktop. |
LwMWheelSupport(LwDesktop desktop)
Constructs the class instance and intalls the mouse wheel support for the
specified desktop. |
LwMWheelSupport
public LwMWheelSupport(LwComponent c)
- Constructs the class instance and intalls the mouse wheel support for the
specified component desktop.
- Parameters:
c - the specified component desktop.
LwMWheelSupport
public LwMWheelSupport(LwDesktop desktop)
- Constructs the class instance and intalls the mouse wheel support for the
specified desktop.
- Parameters:
desktop - the specified desktop.
mouseWheelMoved
public void mouseWheelMoved(org.zaval.lw.MouseWheelEvent e)
|