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.
|
widggchgBitsDerived, 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, setFocusedTabgralPanelacknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGainedpublic 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.ImplAccessaddGridPanel in class GralTabbedPanel.ImplAccesssLabel - 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.ImplAccesspublic GralPanelContent selectTab(java.lang.String name)
GralWidget#setFocusGThread()selectTab in class GralTabbedPanel.ImplAccessGralTabbedPanel.selectTab(java.lang.String)public org.eclipse.swt.widgets.Widget getWidgetImplementation()
GralWidgImpl_ifcComponent.
GralWidget._wdgImpl class
which should contain the references to that implementation widgets.public GralRectangle getPixelPositionSize()
GralPanelContent.ImplAccessgetPixelPositionSize in interface GralWidgImpl_ifcgetPixelPositionSize in class GralPanelContent.ImplAccesspublic boolean setFocusGThread()
GralWidgImpl_ifcGralMng_ifc#setFocus(GralWidget).public void setVisibleGThread(boolean bVisible)
GralWidgImpl_ifcGralWidget.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#repaintRequpublic void removeWidgetImplementation()
GralWidgImpl_ifcvoid stop()
public GralRectangle getPixelSize()
GralPanelContent.ImplAccessgetPixelSize in class GralPanelContent.ImplAccess