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 void
addTextChangedListener(IEditTextChangedListener listener)
Corresponds to ESL event OnTextChangevoid
addTextValidateListener(IEditTextValidateListener listener)
Corresponds to ESL event OnTextValidateint
getCaretCol()
Corresponds to ESL function %HI_GetColEFint
getCaretRow()
Corresponds to ESL function %HI_GetRowEFSOFontStyle
getFontStyle()
Corresponds to ESL function %HI_GetFontStyleint
getLengthLimit()
Corresponds to ESL function %HI_GetTextLimitint
getSelectionEnd()
Corresponds to ESL function %HI_GetESelEFint
getSelectionStart()
Corresponds to ESL function %HI_GetBSelEFjava.lang.String
getText()
Corresponds to ESL function %HI_GetTextint
getTextColor()
Corresponds to ESL function %HI_GetTextColorvoid
goToLine(int lineNr)
Corresponds to ESL function %HI_GoToLinevoid
insertText(java.lang.String text)
Corresponds to ESL function %HI_InsertTextEFvoid
setFontStyle(SOFontStyle value)
Corresponds to ESL function %HI_SetFontStylevoid
setLengthLimit(int limit)
Corresponds to ESL function %HI_SetTextLimitvoid
setSelection(int start, int end)
Corresponds to ESL function %HI_SetSelEFvoid
setText(java.lang.String value)
Corresponds to ESL function %HI_SetTextvoid
setTextColor(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:IEditTextComponent
Corresponds to ESL function %HI_GoToLine- Specified by:
goToLine
in interfaceIEditTextComponent
-
addTextChangedListener
public void addTextChangedListener(IEditTextChangedListener listener)
Description copied from interface:IEditTextComponent
Corresponds to ESL event OnTextChange- Specified by:
addTextChangedListener
in interfaceIEditTextComponent
- Specified by:
addTextChangedListener
in interfaceIEditTextSource
-
addTextValidateListener
public void addTextValidateListener(IEditTextValidateListener listener)
Description copied from interface:IEditTextComponent
Corresponds to ESL event OnTextValidate- Specified by:
addTextValidateListener
in interfaceIEditTextComponent
- Specified by:
addTextValidateListener
in interfaceIEditTextSource
-
getText
public java.lang.String getText()
Description copied from interface:ITextComponent
Corresponds to ESL function %HI_GetText- Specified by:
getText
in interfaceITextComponent
-
setText
public void setText(java.lang.String value)
Description copied from interface:ITextComponent
Corresponds to ESL function %HI_SetText- Specified by:
setText
in interfaceITextComponent
-
getTextColor
public int getTextColor()
Description copied from interface:ITextComponent
Corresponds to ESL function %HI_GetTextColor- Specified by:
getTextColor
in interfaceITextComponent
-
setTextColor
public void setTextColor(int value)
Description copied from interface:ITextComponent
Corresponds to ESL function %HI_SetTextColor- Specified by:
setTextColor
in interfaceITextComponent
-
getFontStyle
public SOFontStyle getFontStyle()
Description copied from interface:ITextComponent
Corresponds to ESL function %HI_GetFontStyle- Specified by:
getFontStyle
in interfaceITextComponent
-
setFontStyle
public void setFontStyle(SOFontStyle value)
Description copied from interface:ITextComponent
Corresponds to ESL function %HI_SetFontStyle- Specified by:
setFontStyle
in interfaceITextComponent
-
getLengthLimit
public int getLengthLimit()
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_GetTextLimit- Specified by:
getLengthLimit
in interfaceIEditTextComponent
-
getSelectionEnd
public int getSelectionEnd()
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_GetESelEF- Specified by:
getSelectionEnd
in interfaceIEditTextComponent
-
getSelectionStart
public int getSelectionStart()
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_GetBSelEF- Specified by:
getSelectionStart
in interfaceIEditTextComponent
-
insertText
public void insertText(java.lang.String text)
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_InsertTextEF- Specified by:
insertText
in interfaceIEditTextComponent
-
setLengthLimit
public void setLengthLimit(int limit)
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_SetTextLimit- Specified by:
setLengthLimit
in interfaceIEditTextComponent
-
setSelection
public void setSelection(int start, int end)
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_SetSelEF- Specified by:
setSelection
in interfaceIEditTextComponent
-
getCaretCol
public int getCaretCol()
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_GetColEF- Specified by:
getCaretCol
in interfaceIEditTextComponent
-
getCaretRow
public int getCaretRow()
Description copied from interface:IEditTextComponent
Corresponds to ESL function %HI_GetRowEF- Specified by:
getCaretRow
in interfaceIEditTextComponent
-
-