public class AwtPanel extends GralPanelContent.ImplAccess
Modifier and Type | Field and Description |
---|---|
java.awt.Container |
itsTabAwt
The associated tab in a TabFolder if this panel is the main panel of the TabItem, or null
if it isn't a main panel of a tab in a tabbed panel.
|
java.awt.Container |
panelComposite
It is either a Composite or a SwtCanvas
|
protected java.awt.event.ComponentListener |
resizeItemListener |
static int |
version
Version history:
2011-11-19 Hartmut chg:
#itsTabSwt with correct type moved from GralPanelContent . |
_panel, gralPanel
bRedrawOnlyDynamics, chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgCurrTab, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, mngImpl, pixBounds, wdgimpl, widgg
Constructor and Description |
---|
AwtPanel(GralPanelContent wdgg)
Constructs a panel
|
Modifier and Type | Method and Description |
---|---|
GralRectangle |
getPixelPositionSize() |
void |
redrawGthread()
This method should be implemented in all Widget implementations of the adapter for the
underlying graphic system.
|
void |
removeWidgetImplementation()
Removes the graphical widget in the graphic.
|
void |
setBoundsPixel(int x,
int y,
int dx,
int dy)
Set the bounds of the implementation widget.
|
boolean |
setFocusGThread()
Sets the focus to the widget.
|
void |
setVisibleGThread(boolean bVisible)
Sets the implementation widget(s) visible state.
|
void |
updateValuesForAction()
This operation should be called before any action is invoked in the user space.
|
void |
XXXrepaintGthread() |
createAllImplWidgets, gralPanel
acknChanged, actionShow, dyda, getActionChange, getChanged, getWidgetImplementation, gralMng, gralWidgetFromImplData, redrawOnlyDynamics, setDragEnable, setDropEnable, setPosBounds, setTextChanged, setVisibleState, XXXfocusGained
public static final int version
#itsTabSwt
with correct type moved from GralPanelContent
.
GralPanelContent
for the implementation
in a common form.
public java.awt.Container itsTabAwt
public java.awt.Container panelComposite
protected java.awt.event.ComponentListener resizeItemListener
public AwtPanel(GralPanelContent wdgg)
name
- of panel.mng
- The widget managerpanelSwt
- may be null, then the GralPanelContent#panelSwtImpl
should be set
after construction of a derived class.public void setBoundsPixel(int x, int y, int dx, int dy)
GralWidgImplAccess_ifc
public void XXXrepaintGthread()
public boolean setFocusGThread()
GralWidgImplAccess_ifc
GralMng_ifc#setFocus(GralWidget)
.public void setVisibleGThread(boolean bVisible)
GralWidgImplAccess_ifc
GralWidgetBase.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 removeWidgetImplementation()
GralWidgImplAccess_ifc
public void redrawGthread()
GralWidgImplAccess_ifc
#repaintRequ
public GralRectangle getPixelPositionSize()
public void updateValuesForAction()
GralWidgImplAccess_ifc