: Download: FAQ: Licensing: Support: Contact ME
LwVCL Home
Introduction
Overview
Screen Shots
On-line Demos
Requirements
Further Plans
Docs
Tutorial
How-to (PDF)
API
FAQ
Download
Latest version

Home > J2SE > API

Overview  Package   Class  Tree  Deprecated  Index  Help 

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.


Fields inherited from class org.zaval.lw.LwPaintManImpl
buffer, isBuffered, MAX_BUFFER_SIZE
 
Fields inherited from class org.zaval.lw.LwPaintManager
LOCKER
 
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 org.zaval.lw.LwPaintManImpl
dispose, paintComponent, paintOnTop, updateComponent, useDoubleBuffer
 
Methods inherited from class org.zaval.lw.LwPaintManager
paint, repaint, repaint, startPaint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.


: up