# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Fields
  Field and Description
  org.vishia.gral.base.GralTable.GraphicImplAccess.columnPixel only used in org.vishia.gral.swt.SwtTable#initSwtTable(...)
  org.vishia.gral.base.GralMng.curveContainer
  org.vishia.gral.swt.SwtMng.mouseClickForInfo use `SwtGralMouseListener.mouseActionStd`, it is the same, but better structured.
  org.vishia.gral.base.GralTabbedPanel.newWidgetsVisible
  org.vishia.gral.base.GralTabbedPanel.widgetsVisible
  org.vishia.gral.cfg.GralCfgZbnf.XXXsyntaxStd

- Deprecated Methods
  Method and Description
  org.vishia.gral.area9.GralArea9_ifc.addFrameArea(int, int, int, int, GralPanelContent) use `GralArea9_ifc.addFrameArea(String, GralPanelContent)`.
  org.vishia.gral.base.GralMng.addLine(int, float, float, float, float)
  org.vishia.gral.ifc.GralMngBuild_ifc.addLine(int, float, float, float, float) it is the old form before a `GralPlotArea` was created. Use that.
  org.vishia.gral.area9.GralArea9_ifc.addMenuBarArea9ItemGThread(String, String, GralUserAction) use `GralArea9_ifc.getMenuBar()` and then `GralMenu.addMenuItem(String, String, GralUserAction)`
  org.vishia.gral.area9.GralArea9Window.addMenuBarArea9ItemGThread(String, String, GralUserAction)
  org.vishia.gral.base.GralWindow.addMenuBarItemGThread(String, String, GralUserAction) use `GralWindow.getMenuBar()` and then `GralMenu.addMenuItem(String, String, GralUserAction)`
  org.vishia.gral.ifc.GralWindow_ifc.addMenuBarItemGThread(String, String, GralUserAction) use `GralWindow_ifc.getMenuBar()` and then `GralMenu.addMenuItem(String, String, GralUserAction)`
  org.vishia.gral.swt.SwtTable.addTable(GralTable, SwtMng, String, int, int[]) Create an instance of `GralTable` and call
  org.vishia.gral.base.GralMng.addTable(String, int, int[])
  org.vishia.gral.base.GralMng.ImplAccess.addTable(String, int, int[])
  org.vishia.gral.ifc.GralMngBuild_ifc.addTable(String, int, int[]) Create an instance of `GralTable` and call `GralWidget.setToPanel(GralMngBuild_ifc)`
  org.vishia.gral.swt.SwtMng.addTable(String, int, int[])
  org.vishia.gral.awt.AwtWidgetMng.addText(String, char, int)
  org.vishia.gral.base.GralMng.addText(String, char, int)
  org.vishia.gral.base.GralMng.ImplAccess.addText(String, char, int)
  org.vishia.gral.ifc.GralMngBuild_ifc.addText(String, char, int)
  org.vishia.gral.swt.SwtMng.addText(String, char, int)
  org.vishia.gral.ifc.GralFactory.createWindow(GralWindow, char, int, int, int, int) use `#createGraphic(GralWindow, char, int, int, int, int, LogMessage)`
  org.vishia.gral.ifc.GralFactory.createWindow(LogMessage, String, char, int, int, int, int) use `#createGraphic(GralWindow, char, int, int, int, int, LogMessage)`
  org.vishia.gral.base.GralMng.createWindow(String, String, int)
  org.vishia.gral.base.GralMng.ImplAccess.createWindow(String, String, int)
  org.vishia.gral.ifc.GralMngBuild_ifc.createWindow(String, String, int) use `GralWindow.GralWindow(String, String, String, int)` and then `GralWidget.createImplWidget_Gthread()` with this window.
  org.vishia.gral.swt.SwtMng.createWindow(String, String, int)
  org.vishia.gral.swt.SwtTable.XXXFocusListenerCell.focusLost(FocusEvent) unnecessary yet.
  org.vishia.gral.base.GralWidget.getContentInfo() use `GralWidget.getData()`
  org.vishia.gral.base.GralMng.getListCurrWidgets()
  org.vishia.gral.ifc.GralMng_ifc.getListCurrWidgets()
  org.vishia.gral.swt.SwtWidgetHelper.getPixelPositionSize(Control) this routine is implemented in `SwtWidgetHelper` which can be used for all widgets (new concept).
  org.vishia.gral.ifc.GralMngBuild_ifc.getPositionInPanel() see `GralWidget.ImplAccess`.
  org.vishia.gral.base.GralMng.ImplAccess.getValueFromWidget(GralWidget)
  org.vishia.gral.swt.SwtMng.getValueFromWidget(GralWidget)
  org.vishia.gral.base.GralWidget.getVariableFromContentInfo(VariableContainer_ifc)
  org.vishia.gral.base.GralPanelContent.getWidgetImplementation()
  org.vishia.gral.base.GralTabbedPanel.getWidgetsVisible()
  org.vishia.gral.base.GralTabbedPanel.ImplAccess.selectTab(String) use `GralWidget.setFocus()`
  org.vishia.gral.base.GralWidget.setActionChange(GralUserAction)
  org.vishia.gral.base.GralMng.setBackColor(GralWidget, int, int)
  org.vishia.gral.ifc.GralMng_ifc.setBackColor(GralWidget, int, int) use {@link GralWidget#setBackColor(GralColor, int)
  org.vishia.gral.base.GralWidget.setBackgroundColor(GralColor)
  org.vishia.gral.base.GralTable.TableLineData.setBackgroundColor(GralColor)
  org.vishia.gral.ifc.GralWidget_ifc.setBackgroundColor(GralColor) use `GralWidget_ifc.setBackColor(GralColor, int)`
  org.vishia.gral.base.GralWidget.setContentInfo(Object) use `GralWidget.setData(Object)`
  org.vishia.gral.base.GralTable.TableLineData.setForegroundColor(GralColor)
  org.vishia.gral.ifc.GralWidget_ifc.setForegroundColor(GralColor) use `GralWidget_ifc.setLineColor(GralColor, int)`
  org.vishia.gral.ifc.GralMng_ifc.setLed(GralWidget, int, int) use `GralLed.setColor(GralColor, GralColor)`.
  org.vishia.gral.base.GralMng.setLineColor(GralWidget, int, int)
  org.vishia.gral.ifc.GralMng_ifc.setLineColor(GralWidget, int, int) use {@link GralWidget#setLineColor(GralColor, int)
  org.vishia.gral.base.GralMng.setNextPosition()
  org.vishia.gral.base.GralWidget.setPanelMng(GralMng) it should be set by the MethodsCalledbackFromImplementation ctor.
  org.vishia.gral.base.GralMng.setTextColor(GralWidget, int, int)
  org.vishia.gral.ifc.GralMng_ifc.setTextColor(GralWidget, int, int) use {@link GralWidget#setTextColor(GralColor)
  org.vishia.gral.base.GralWidget.setToPanel(GralMngBuild_ifc) use `GralWidget.createImplWidget_Gthread()`
  org.vishia.gral.base.GralMenu._GraphicImpl.setVisible() The `GralWidget.getContextMenu()` creates a menu for the graphic implementation layer widget and assigns it to the widget as GralMenu. The GralMenu has the association `GralMenu._GraphicImpl.widgg` to the widget already. In the adequate case `GralWindow.getMenuBar()` adds the menu to the window and stores the window's reference in `GralMenu._GraphicImpl.widgg`. That is proper to use. This method was create before the `GralMenu._GraphicImpl.widgg` are set in this constructor.
  org.vishia.gral.ifc.GralUserAction.userActionGui(int, GralWidget, Object...) use `GralUserAction.exec(int, GralWidget_ifc, Object...)` instead. The new method exec works with a `GralWidget_ifc` instead `GralWidget` as reference for parameter and is more universal therefore. The method is deprecated to force usage of only one method type. If any class overrides this method and does not override the non deprecated method, this method is called if the non deprecated method is called. It is for compatibility.
  org.vishia.gral.ifc.GralUserAction.userActionGui(String, GralWidget, Object...) use `#exec(int, GralWidget, Object...)`.
  org.vishia.gral.base.GralPanelContent.widgetList() use `GralPanelContent.getWidgetList()`
  org.vishia.guiViewCfg.OamShowValues.writeValuesOfTab()
  org.vishia.gral.base.GralMng.ImplAccess.XXXsetWindowsVisible(GralWindow_ifc, GralPos)
  org.vishia.gral.ifc.GralMng_ifc.XXXsetWindowsVisible(GralWindow_ifc, GralPos)

- Deprecated Constructors
  Constructor and Description
  org.vishia.gral.base.GralButton(String, String, String, GralUserAction)
  org.vishia.gral.ifc.GralColor(int) only private using, because more as one instances for the same color is prevented then and the color have a correct name if the value matches to a existent color.
  org.vishia.gral.ifc.GralColor(int, int, int) use `GralColor.getColor(int, int, int)` because more as one instances for the same color is prevented then and the color have a correct name if the value matches to a existent color.
  org.vishia.gral.ifc.GralColor(String, int) only private using, because more as one instances for the same color is prevented then and the color have a correct name if the value matches to a existent color.
  org.vishia.gral.base.GralLed(String, GralMng) use `GralLed.GralLed(String)`
  org.vishia.gral.base.GralPanelContent(String, GralMng, Object)
  org.vishia.gral.base.GralTextField(String, char, GralMng)
  org.vishia.gral.base.GralTextField(String, String, GralTextField.Type...) since 2016-09,use `GralTextField.GralTextField(String, Type...)` with "@pos=name"
  org.vishia.gral.ifc.GralUserAction() use `GralUserAction.GralUserAction(String)` with a name. The name helps while debugging.
  org.vishia.gral.base.GralWidget(String, char, GralMng)
  org.vishia.gral.base.GralWidget(String, String, char) since 2016-09: The idea is: Use always one String for "@pos=name".
  org.vishia.gral.base.GralWindow(String, String, String, int, GralMng, Object)
  org.vishia.gral.base.GralWidget.ImplAccess(GralWidget, GralMng)