Package sk.ipesoft.d2000.go
Class GOEField
- java.lang.Object
-
- sk.ipesoft.d2000.base.D2Base<sk.ipesoft.d2000.base.UnivalInt>
-
- All Implemented Interfaces:
java.lang.Comparable<D2Base<?>>,IBaseComponent,IClickSource,IEditTextComponent,IEditTextSource,IMouseSource,ITextComponent,IVisibleComponent,IVisibleComponentProxy
public class GOEField extends GOVisualComponent implements IVisibleComponent, ITextComponent, IEditTextComponent
-
-
Field Summary
-
Fields inherited from class sk.ipesoft.d2000.base.D2Base
__col, __hobj, __indirectCol, __indirectHOBJ, __indirectRow, __internalId, __locVarId, __row
-
-
Constructor Summary
Constructors Constructor Description GOEField(int eventId, int hobj, int locVarId, int row, int col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTextChangedListener(IEditTextChangedListener listener)Corresponds to ESL event OnTextChangevoidaddTextValidateListener(IEditTextValidateListener listener)Corresponds to ESL event OnTextValidateintgetCaretCol()Corresponds to ESL function %HI_GetColEFintgetCaretRow()Corresponds to ESL function %HI_GetRowEFSOFontStylegetFontStyle()Corresponds to ESL function %HI_GetFontStyleintgetLengthLimit()Corresponds to ESL function %HI_GetTextLimitintgetSelectionEnd()Corresponds to ESL function %HI_GetESelEFintgetSelectionStart()Corresponds to ESL function %HI_GetBSelEFjava.lang.StringgetText()Corresponds to ESL function %HI_GetTextintgetTextColor()Corresponds to ESL function %HI_GetTextColorvoidgoToLine(int lineNr)Corresponds to ESL function %HI_GoToLinevoidinsertText(java.lang.String text)Corresponds to ESL function %HI_InsertTextEFvoidsetFontStyle(SOFontStyle value)Corresponds to ESL function %HI_SetFontStylevoidsetLengthLimit(int limit)Corresponds to ESL function %HI_SetTextLimitvoidsetSelection(int start, int end)Corresponds to ESL function %HI_SetSelEFvoidsetText(java.lang.String value)Corresponds to ESL function %HI_SetTextvoidsetTextColor(int value)Corresponds to ESL function %HI_SetTextColor-
Methods inherited from class sk.ipesoft.d2000.go.GOVisualComponent
getBackColor, getEnable, getForeColor, getHeight, getHeight, getMasterEnable, getMasterVisible, getPosX, getPosX, getPosY, getPosY, getVisible, getWidth, getWidth, lockUpdate, setBackColor, setDraggable, setDragRangeX, setDragRangeY, setFocus, setForeColor, setHeight, setHeight, setPos, setPos, setSize, setSize, setTooltip, setWidth, setWidth
-
Methods inherited from class sk.ipesoft.d2000.go.GOVisualComponentProxy
addClickListener, addMouseClickListener, addMouseDblClickListener, addMouseEnterLeaveListener, addMouseMoveListener, addMousePressListener, addMouseWheelListener, removeClickListener, removeMouseEnterLeaveListener, setEnable, setLayoutManagement, setMasterEnable, setMasterVisible, setPosX, setPosX, setPosY, setPosY, setVisible
-
Methods inherited from class sk.ipesoft.d2000.go.GOComponentBase
getUserData, setUserData
-
Methods inherited from class sk.ipesoft.d2000.base.D2Int
addChangeListener, asUnivalValue, getVal, getVal, getValDef, getValueType, removeChangeListener, setVal, setVal, setVal, setValAndTime, setValTime, toString
-
Methods inherited from class sk.ipesoft.d2000.base.D2Base
add, addChangeListener, addFlags, compareTo, divide, equals, equals, getCol, getFlag, getFlagMask, getFlags, getHOBJ, getLimitStatus, getLimitStatusOrdinal, getLocVarId, getObjectInfo, getProcessAlarmStatus, getProcessAlarmStatusOrdinal, getProcessAlarmTime, getProcessAlarmTimeMiliseconds, getReferencedCol, getReferencedHOBJ, getReferencedRow, getRow, getStatusMask, getTime, getTimeMiliseconds, getTimeMilliseconds, getUnivalObjectReference, getValid, getWeak, is, isBackedExternally, isFromAda, isStatusSet, isValid, multiply, removeChangeListener, removeFlags, setAs, setData, setFlag, setFlag, setFlags, setFlags, setIndirect, setInvalid, setLocVarId, setTime, setTimeMiliseconds, setTimeMilliseconds, setVal, setWeak, setWeak, substract
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface sk.ipesoft.d2000.go.IBaseComponent
getUserData, setUserData
-
Methods inherited from interface sk.ipesoft.d2000.go.IVisibleComponent
getBackColor, getEnable, getForeColor, getHeight, getHeight, getMasterEnable, getMasterVisible, getPosX, getPosX, getPosY, getPosY, getVisible, getWidth, getWidth, lockUpdate, setBackColor, setDraggable, setDragRangeX, setDragRangeY, setFocus, setForeColor, setHeight, setHeight, setPos, setPos, setPosX, setPosX, setPosY, setPosY, setSize, setSize, setTooltip, setWidth, setWidth
-
Methods inherited from interface sk.ipesoft.d2000.go.IVisibleComponentProxy
setEnable, setLayoutManagement, setMasterEnable, setMasterVisible, setVisible
-
-
-
-
Method Detail
-
goToLine
public void goToLine(int lineNr)
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_GoToLine- Specified by:
goToLinein interfaceIEditTextComponent
-
addTextChangedListener
public void addTextChangedListener(IEditTextChangedListener listener)
Description copied from interface:IEditTextComponentCorresponds to ESL event OnTextChange- Specified by:
addTextChangedListenerin interfaceIEditTextComponent- Specified by:
addTextChangedListenerin interfaceIEditTextSource
-
addTextValidateListener
public void addTextValidateListener(IEditTextValidateListener listener)
Description copied from interface:IEditTextComponentCorresponds to ESL event OnTextValidate- Specified by:
addTextValidateListenerin interfaceIEditTextComponent- Specified by:
addTextValidateListenerin interfaceIEditTextSource
-
getText
public java.lang.String getText()
Description copied from interface:ITextComponentCorresponds to ESL function %HI_GetText- Specified by:
getTextin interfaceITextComponent
-
setText
public void setText(java.lang.String value)
Description copied from interface:ITextComponentCorresponds to ESL function %HI_SetText- Specified by:
setTextin interfaceITextComponent
-
getTextColor
public int getTextColor()
Description copied from interface:ITextComponentCorresponds to ESL function %HI_GetTextColor- Specified by:
getTextColorin interfaceITextComponent
-
setTextColor
public void setTextColor(int value)
Description copied from interface:ITextComponentCorresponds to ESL function %HI_SetTextColor- Specified by:
setTextColorin interfaceITextComponent
-
getFontStyle
public SOFontStyle getFontStyle()
Description copied from interface:ITextComponentCorresponds to ESL function %HI_GetFontStyle- Specified by:
getFontStylein interfaceITextComponent
-
setFontStyle
public void setFontStyle(SOFontStyle value)
Description copied from interface:ITextComponentCorresponds to ESL function %HI_SetFontStyle- Specified by:
setFontStylein interfaceITextComponent
-
getLengthLimit
public int getLengthLimit()
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_GetTextLimit- Specified by:
getLengthLimitin interfaceIEditTextComponent
-
getSelectionEnd
public int getSelectionEnd()
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_GetESelEF- Specified by:
getSelectionEndin interfaceIEditTextComponent
-
getSelectionStart
public int getSelectionStart()
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_GetBSelEF- Specified by:
getSelectionStartin interfaceIEditTextComponent
-
insertText
public void insertText(java.lang.String text)
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_InsertTextEF- Specified by:
insertTextin interfaceIEditTextComponent
-
setLengthLimit
public void setLengthLimit(int limit)
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_SetTextLimit- Specified by:
setLengthLimitin interfaceIEditTextComponent
-
setSelection
public void setSelection(int start, int end)Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_SetSelEF- Specified by:
setSelectionin interfaceIEditTextComponent
-
getCaretCol
public int getCaretCol()
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_GetColEF- Specified by:
getCaretColin interfaceIEditTextComponent
-
getCaretRow
public int getCaretRow()
Description copied from interface:IEditTextComponentCorresponds to ESL function %HI_GetRowEF- Specified by:
getCaretRowin interfaceIEditTextComponent
-
-