public class AwtTextBox extends GralTextField.GraphicImplAccess
Modifier and Type | Class and Description |
---|---|
static class |
AwtTextBox.AwtTextAreaImpl |
Modifier and Type | Field and Description |
---|---|
protected GralGraphicOrder |
changeText |
protected GralGraphicOrder |
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, chgPrompt, chgViewTrail, posField, posPrompt
bRedrawOnlyDynamics, chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgCurrTab, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, mngImpl, pixBounds, wdgimpl, widgg
version
Constructor and Description |
---|
AwtTextBox(GralTextBox widgg,
java.awt.Container parent,
int style,
AwtMng mng) |
Modifier and Type | Method and Description |
---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
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.
|
borderwidth, caretPos, caretPos, cursorPos, getAndClearNewText, getCurserLine, getCursorCol, isPasswordField, prompt, promptStylePosition, setTouched, user
acknChanged, actionShow, dyda, getActionChange, getChanged, gralMng, gralWidgetFromImplData, redrawOnlyDynamics, setDragEnable, setDropEnable, setPosBounds, setTextChanged, setVisibleState, XXXfocusGained
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPosBounds
protected AwtTextBox.AwtTextAreaImpl textFieldSwt
java.awt.Label promptSwt
java.lang.StringBuffer newText
protected GralGraphicOrder changeTextBoxTrail
protected GralGraphicOrder changeText
public AwtTextBox(GralTextBox widgg, java.awt.Container parent, int style, AwtMng mng)
public java.lang.Object getWidgetImplementation()
GralWidgImplAccess_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.getWidgetImplementation
in interface GralWidgImplAccess_ifc
getWidgetImplementation
in class GralWidget.ImplAccess
public void setBoundsPixel(int x, int y, int dx, int dy)
GralWidgImplAccess_ifc
public void redrawGthread()
GralWidgImplAccess_ifc
#repaintRequ
public boolean setFocusGThread()
GralWidgImplAccess_ifc
GralMng_ifc#setFocus(GralWidget)
.public void removeWidgetImplementation()
GralWidgImplAccess_ifc
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 GralRectangle getPixelPositionSize()
public void updateValuesForAction()
GralWidgImplAccess_ifc