public class SwtTabbedPanel extends GralTabbedPanel.ImplAccess
Modifier and Type | Field and Description |
---|---|
org.eclipse.swt.events.SelectionListener |
tabItemSelectListener |
static int |
version
Version, history and license.
|
widgg
chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, pixBounds, wdgimpl
Modifier and Type | Method and Description |
---|---|
GralPanelContent |
addCanvasPanel(GralPanelContent panelg,
java.lang.String sLabel) |
GralPanelContent |
addGridPanel(GralPanelContent panelg,
java.lang.String sLabel,
int yGrid,
int xGrid,
int yGrid2,
int xGrid2)
Adds a grid-panel in the TabPanel.
|
GralRectangle |
getPixelPositionSize()
Returns the absolute position of this panel on screen and its size.
|
GralRectangle |
getPixelSize()
Returns the size of this panel in pixel.
|
org.eclipse.swt.widgets.Widget |
getWidgetImplementation()
Returns the implementation class of the widget.
|
void |
removeWidgetImplementation()
Removes the graphical widget in the graphic.
|
void |
repaintGthread()
This method should be implemented in all Widget implementations of the adapter for the
underlying graphic system.
|
GralPanelContent |
selectTab(java.lang.String name)
See
GralWidget#setFocusGThread() |
void |
setBoundsPixel(int x,
int y,
int dx,
int dy) |
boolean |
setFocusGThread()
Sets the focus to the widget.
|
void |
setVisibleGThread(boolean bVisible)
Sets the implementation widget(s) visible state.
|
getFocusedTab, setFocusedTab
gralPanel
acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained
public org.eclipse.swt.events.SelectionListener tabItemSelectListener
public static final int version
GralPanelContent.MethodsCalledbackFromImplementation#setVisibleState(boolean)
public GralPanelContent addCanvasPanel(GralPanelContent panelg, java.lang.String sLabel)
addCanvasPanel
in class GralTabbedPanel.ImplAccess
public GralPanelContent addGridPanel(GralPanelContent panelg, java.lang.String sLabel, int yGrid, int xGrid, int yGrid2, int xGrid2)
GralTabbedPanel.ImplAccess
addGridPanel
in class GralTabbedPanel.ImplAccess
sLabel
- to designate the tab for view. A "&" left from a character determines the hot-key
to select the tab.yGrid
- number of units per grid line vertical. It may be 1.xGrid
- number of units per grid line horizontal. It may be 1.yGrid2
- Number of grid lines vertical per wider ranges for linesxGrid2
- Number of grid lines horizontal per wider ranges for linespublic GralRectangle getPixelPositionSize()
GralPanelContent.ImplAccess
getPixelPositionSize
in interface GralWidgImpl_ifc
getPixelPositionSize
in class GralPanelContent.ImplAccess
public GralRectangle getPixelSize()
GralPanelContent.ImplAccess
getPixelSize
in class GralPanelContent.ImplAccess
public org.eclipse.swt.widgets.Widget getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.public void removeWidgetImplementation()
GralWidgImpl_ifc
public void repaintGthread()
GralWidgImpl_ifc
#repaintRequ
public GralPanelContent selectTab(java.lang.String name)
GralWidget#setFocusGThread()
selectTab
in class GralTabbedPanel.ImplAccess
GralTabbedPanel.selectTab(java.lang.String)
public void setBoundsPixel(int x, int y, int dx, int dy)
public boolean setFocusGThread()
GralWidgImpl_ifc
GralMng_ifc#setFocus(GralWidget)
.public void setVisibleGThread(boolean bVisible)
GralWidgImpl_ifc
GralWidget.bVisibleState
too. Therewith it is able to quest GralWidget.isVisible()
in any thread.bVisible
- true then the widget should be visible, false it is set to invisible.