org.zaval.lw
Class J2SEPaintManImpl
java.lang.Object
|
+--org.zaval.lw.LwPaintManager
|
+--org.zaval.lw.LwPaintManImpl
|
+--org.zaval.lw.J2SEPaintManImpl
- All Implemented Interfaces:
- LwManager
- public class J2SEPaintManImpl
- extends LwPaintManImpl
This class is implementation of the LwPaintManager for the library.
The implementation supports:
- Double buffering.
- Light weight component views painting.
|
Constructor Summary |
J2SEPaintManImpl()
Constructs the paint manager. |
J2SEPaintManImpl(boolean isBuffered)
Constructs the paint manager with the specified options. |
|
Method Summary |
protected void |
paintDesktop(java.awt.Graphics g,
LwDesktop d)
The method initiates painting process for the specified root light weight component
using the graphics. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
J2SEPaintManImpl
public J2SEPaintManImpl()
- Constructs the paint manager.
J2SEPaintManImpl
public J2SEPaintManImpl(boolean isBuffered)
- Constructs the paint manager with the specified options.
- Parameters:
isBuffered - the flag indicates if the double buffering should be applied.
paintDesktop
protected void paintDesktop(java.awt.Graphics g,
LwDesktop d)
- The method initiates painting process for the specified root light weight component
using the graphics. The method has to be used with a light weight root component
implementation to start painting process. The method is overridden to support double
buffering.
- Overrides:
paintDesktop in class LwPaintManImpl
- Parameters:
g - the specified graphics.d - the specified root lightweight component.
|