LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.component
Class LyJBooleanPanel._LyBooleanCanvasManager

java.lang.Object
  extended by leon.view.win.swing.component.LyAbstractBooleanPanelManager
      extended by leon.view.win.swing.component.LyJBooleanPanel._LyBooleanCanvasManager
Enclosing class:
LyJBooleanPanel

public class LyJBooleanPanel._LyBooleanCanvasManager
extends LyAbstractBooleanPanelManager

Implements the LyAbstractBooleanPanelManager to manage offscreen image.

See Also:
LyAbstractBooleanPanelManager

Field Summary
 
Fields inherited from class leon.view.win.swing.component.LyAbstractBooleanPanelManager
__VERSION, BOOLEAN_CHECKED, BOOLEAN_EMPTY, BOOLEAN_UNCHECKED
 
Constructor Summary
LyJBooleanPanel._LyBooleanCanvasManager()
          Sole constructor.
LyJBooleanPanel._LyBooleanCanvasManager(java.awt.Component comp)
          Creates a boolean canvas manager for the specified component.
 
Method Summary
 java.awt.Image getImageOffScreen(java.awt.Dimension offScreenSize)
          This canvas manager doesn't have offscreen images.
 java.awt.Graphics getTargetGraphics(java.awt.Image offScreenImage, java.awt.Graphics defaultGraphics)
          There is no offscreen image, so this is the specified default graphics context that is used.
 void paintOnScreen(java.awt.Image offScreenImage, java.awt.Graphics onScreenGraphics)
          Doesn't do anything.
 
Methods inherited from class leon.view.win.swing.component.LyAbstractBooleanPanelManager
addActionListener, getComponent, getPreferredSize, getValue, isEnabled, isOptional, nextStatus, paintCommon, redraw, removeActionListener, setEnabled, setImages, setLabels, setOptional, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyJBooleanPanel._LyBooleanCanvasManager

public LyJBooleanPanel._LyBooleanCanvasManager()
Sole constructor. (For invocation by subclass constructors, typically implicit.)


LyJBooleanPanel._LyBooleanCanvasManager

public LyJBooleanPanel._LyBooleanCanvasManager(java.awt.Component comp)
Creates a boolean canvas manager for the specified component.

Parameters:
comp - the boolean component that need a canvas manager
Method Detail

getImageOffScreen

public java.awt.Image getImageOffScreen(java.awt.Dimension offScreenSize)
This canvas manager doesn't have offscreen images.

Specified by:
getImageOffScreen in class LyAbstractBooleanPanelManager
Parameters:
offScreenSize - the size of the image to return
Returns:
null
See Also:
LyAbstractBooleanPanelManager.getImageOffScreen(Dimension)

getTargetGraphics

public java.awt.Graphics getTargetGraphics(java.awt.Image offScreenImage,
                                           java.awt.Graphics defaultGraphics)
There is no offscreen image, so this is the specified default graphics context that is used.

Specified by:
getTargetGraphics in class LyAbstractBooleanPanelManager
Parameters:
offScreenImage - this image is not used in this implementation
defaultGraphics - the graphics context that is returned
Returns:
the default graphics
See Also:
LyAbstractBooleanPanelManager.getTargetGraphics(Image, Graphics)

paintOnScreen

public void paintOnScreen(java.awt.Image offScreenImage,
                          java.awt.Graphics onScreenGraphics)
Doesn't do anything.

Specified by:
paintOnScreen in class LyAbstractBooleanPanelManager
Parameters:
offScreenImage - the offscreen image to paint on the onscreen context
onScreenGraphics - the graphics context to paint the offscreen image on
See Also:
LyAbstractBooleanPanelManager.paintOnScreen(Image, Graphics)

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com