public class SwtTabbedPanel extends GralTabbedPanel.ImplAccess
Modifier and Type | Field and Description |
---|---|
(package private) org.eclipse.swt.events.FocusListener |
focusTabListener |
(package private) SwtMng |
mng |
(package private) org.eclipse.swt.events.ControlListener |
resizeItemListener |
(package private) org.eclipse.swt.events.ControlListener |
resizeListener |
org.eclipse.swt.events.SelectionListener |
tabItemSelectListener |
static int |
version
Version, history and license.
|
(package private) org.eclipse.swt.widgets.TabFolder |
widgetSwt
The Swt TabFolder implementation.
|
widgg
chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, pixBounds, wdgimpl
Constructor and Description |
---|
SwtTabbedPanel(GralTabbedPanel panelg,
SwtMng mng,
GralPanelActivated_ifc user,
int property) |
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.
|
(package private) void |
stop() |
getFocusedTab, setFocusedTab
gralPanel
acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained
public static final int version
GralPanelContent.MethodsCalledbackFromImplementation#setVisibleState(boolean)
org.eclipse.swt.widgets.TabFolder widgetSwt
public org.eclipse.swt.events.SelectionListener tabItemSelectListener
org.eclipse.swt.events.ControlListener resizeListener
org.eclipse.swt.events.ControlListener resizeItemListener
org.eclipse.swt.events.FocusListener focusTabListener
SwtTabbedPanel(GralTabbedPanel panelg, SwtMng mng, GralPanelActivated_ifc user, int property)
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 GralPanelContent addCanvasPanel(GralPanelContent panelg, java.lang.String sLabel)
addCanvasPanel
in class GralTabbedPanel.ImplAccess
public GralPanelContent selectTab(java.lang.String name)
GralWidget#setFocusGThread()
selectTab
in class GralTabbedPanel.ImplAccess
GralTabbedPanel.selectTab(java.lang.String)
public org.eclipse.swt.widgets.Widget getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.public GralRectangle getPixelPositionSize()
GralPanelContent.ImplAccess
getPixelPositionSize
in interface GralWidgImpl_ifc
getPixelPositionSize
in class GralPanelContent.ImplAccess
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.public void setBoundsPixel(int x, int y, int dx, int dy)
public void repaintGthread()
GralWidgImpl_ifc
#repaintRequ
public void removeWidgetImplementation()
GralWidgImpl_ifc
void stop()
public GralRectangle getPixelSize()
GralPanelContent.ImplAccess
getPixelSize
in class GralPanelContent.ImplAccess