org.vishia.gral.swt

## Class SwtPlotArea

- java.lang.Object
- - org.vishia.gral.base.GralWidget.ImplAccess
  - - org.vishia.gral.widget.GralPlotArea._GraphicImplAccess_
    - - org.vishia.gral.swt.SwtPlotArea

- All Implemented Interfaces:
    GralWidgImpl_ifc

      public class SwtPlotArea
      extends GralPlotArea._GraphicImplAccess_

  Implementation of GralPlotArea to SET

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private SwtMng` | `mng`
    `(package private) org.eclipse.swt.events.PaintListener` | `paintListener`
    `static java.lang.String` | `sVersion` Version, history and license.
    `private org.eclipse.swt.widgets.Canvas` | `swtCanvas`

    - ### Fields inherited from class org.vishia.gral.base.GralWidget.ImplAccess

      `chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, pixBounds, wdgimpl, widgg`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `SwtPlotArea(GralPlotArea gralPlotArea, SwtMng mng)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `private void` | `paintRoutine(org.eclipse.swt.events.PaintEvent ev)`
    `void` | `setVisibleGThread(boolean bVisible)` Sets the implementation widget(s) visible state.

    - ### Methods inherited from class org.vishia.gral.widget.GralPlotArea._GraphicImplAccess_

      `canvasStore, getPixelPositionSize, getWidgetImplementation, removeWidgetImplementation, repaintGthread, setBoundsPixel, setFocusGThread`

    - ### Methods inherited from class org.vishia.gral.base.GralWidget.ImplAccess

      `acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### sVersion

          public static final java.lang.String sVersion

      Version, history and license.
      - 2015-09-26 Hartmut creation.
      Copyright/Copyleft: For this source the LGPL Lesser General Public License, published by the Free Software Foundation is valid. It means:
      1. You can use this source without any restriction for any desired purpose.
      2. You can redistribute copies of this source to everybody.
      3. Every user of this source, also the user of redistribute copies with or without payment, must accept this license for further using.
      4. But the LPGL is not appropriate for a whole software product, if this source is only a part of them. It means, the user must publish this part of source, but don't need to publish the whole source of the own product.
      5. You can study and modify (improve) this source for own using or for redistribution, but you have to license the modified sources likewise under this LGPL Lesser General Public License. You mustn't delete this Copyright/Copyleft inscription in this source file.
      If you are intent to use this sources without publishing its usage, you can get a second license subscribing a special contract with the author.
      See Also:
        Constant Field Values

    - #### swtCanvas

          private final org.eclipse.swt.widgets.Canvas swtCanvas

    - #### mng

          private final SwtMng mng

    - #### paintListener

          org.eclipse.swt.events.PaintListener paintListener

  - ### Constructor Detail

    - #### SwtPlotArea

          protected SwtPlotArea(GralPlotArea gralPlotArea,
                                SwtMng mng)

  - ### Method Detail

    - #### paintRoutine

          private void paintRoutine(org.eclipse.swt.events.PaintEvent ev)

    - #### setVisibleGThread

          public void setVisibleGThread(boolean bVisible)

      Description copied from interface: `GralWidgImpl_ifc`
      Sets the implementation widget(s) visible state. The widgets are really invisible, or they are visible in principle, but they can be covered by other windows or clipping. This method should set the `GralWidget.bVisibleState` too. Therewith it is able to quest `GralWidget.isVisible()` in any thread.
      Parameters:
        `bVisible` - true then the widget should be visible, false it is set to invisible.