public class AwtTextBox extends GralTextBox.GraphicImplAccess
Modifier and Type | Class and Description |
---|---|
static class |
AwtTextBox.AwtTextAreaImpl |
Modifier and Type | Field and Description |
---|---|
protected GralGraphicTimeOrder |
changeText |
protected GralGraphicTimeOrder |
changeTextBoxTrail |
(package private) java.lang.StringBuffer |
newText |
(package private) java.awt.Label |
promptSwt
A possible prompt for the text field or null.
|
protected AwtTextBox.AwtTextAreaImpl |
textFieldSwt |
chgAddText, chgCursor, chgEditable, chgNonEditable, chgViewTrail
chgPrompt, posField, posPrompt
chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, pixBounds, wdgimpl, widgg
Constructor and Description |
---|
AwtTextBox(GralTextBox widgg,
java.awt.Container parent,
int style,
AwtWidgetMng mng) |
Modifier and Type | Method and Description |
---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
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.
|
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.
|
caretPos, caretPos, getAndClearNewText, user
borderwidth, isPasswordField, prompt, promptStylePosition, setTouched
acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained
protected AwtTextBox.AwtTextAreaImpl textFieldSwt
java.awt.Label promptSwt
java.lang.StringBuffer newText
protected GralGraphicTimeOrder changeTextBoxTrail
protected GralGraphicTimeOrder changeText
public AwtTextBox(GralTextBox widgg, java.awt.Container parent, int style, AwtWidgetMng mng)
public java.lang.Object getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.public void setBoundsPixel(int x, int y, int dx, int dy)
public void repaintGthread()
GralWidgImpl_ifc
#repaintRequ
public boolean setFocusGThread()
GralWidgImpl_ifc
GralMng_ifc#setFocus(GralWidget)
.public void removeWidgetImplementation()
GralWidgImpl_ifc
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 GralRectangle getPixelPositionSize()