Package sk.ipesoft.d2000.go
Class GOVisualComponent
- java.lang.Object
-
- sk.ipesoft.d2000.base.D2Base<sk.ipesoft.d2000.base.UnivalInt>
-
- sk.ipesoft.d2000.base.D2Int
-
- sk.ipesoft.d2000.go.GOComponentBase
-
- sk.ipesoft.d2000.go.GOVisualComponentProxy
-
- sk.ipesoft.d2000.go.GOVisualComponent
-
- All Implemented Interfaces:
java.lang.Comparable<D2Base<?>>
,IBaseComponent
,IClickSource
,IMouseSource
,IVisibleComponent
,IVisibleComponentProxy
- Direct Known Subclasses:
GOArc
,GOBandDisplay
,GOBarInstrument
,GOBitmap
,GOBox
,GOBrowser
,GOButton
,GOCheck
,GOCircle
,GOCircleButton
,GOEField
,GOEllipse
,GOFrame3D
,GOGButton
,GOGraph
,GOGroup
,GOHTMLiframe
,GOInArc
,GOLine
,GOList
,GOLogicalGroup
,GOLongText
,GOMDIClient
,GOMenuBar
,GONone
,GOPiArc
,GOPicture
,GOPointerInstrument
,GOPolygon
,GOProgressBar
,GORadio
,GORatioDisplay
,GOReport
,GOSpin
,GOStatic
,GOTab
,GOTable
,GOText
,GOTree
,GOWebFrame
public class GOVisualComponent extends GOVisualComponentProxy implements IVisibleComponent
-
-
Field Summary
-
Fields inherited from class sk.ipesoft.d2000.base.D2Base
__col, __hobj, __indirectCol, __indirectHOBJ, __indirectRow, __internalId, __locVarId, __row
-
-
Constructor Summary
Constructors Constructor Description GOVisualComponent(int eventId, int hobj, int locVarId, int row, int col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBackColor()
Corresponds to ESL function %HI_GetBackColorboolean
getEnable()
Corresponds to ESL function %HI_GetEnableint
getForeColor()
Corresponds to ESL function %HI_GetForeColorint
getHeight()
Corresponds to ESL function %HI_GetSizeYint
getHeight(boolean bObjManager)
Corresponds to ESL function %HI_GetSizeYboolean
getMasterEnable()
Corresponds to ESL function %HI_GetMasterEnableboolean
getMasterVisible()
Corresponds to ESL function %HI_GetMasterVisibleint
getPosX()
Corresponds to ESL function %HI_GetPosXint
getPosX(boolean bObjManager)
Corresponds to ESL function %HI_GetPosXint
getPosY()
Corresponds to ESL function %HI_GetPosYint
getPosY(boolean bObjManager)
Corresponds to ESL function %HI_GetPosYboolean
getVisible()
Corresponds to ESL function %HI_GetVisibleint
getWidth()
Corresponds to ESL function %HI_GetSizeXint
getWidth(boolean bObjManager)
Corresponds to ESL function %HI_GetSizeXvoid
lockUpdate(boolean bLock)
Corresponds to ESL function %HI_LockUpdate.void
setBackColor(int value)
Corresponds to ESL function %HI_SetBackColorvoid
setDraggable(boolean bHorizontal, boolean bVertical)
Corresponds to ESL function %HI_SetDraggable.void
setDragRangeX(int min, int max)
Corresponds to ESL function %HI_SetDragRangeX.void
setDragRangeY(int min, int max)
Corresponds to ESL function %HI_SetDragRangeY.void
setFocus()
Corresponds to ESL function %HI_SetFocusvoid
setForeColor(int value)
Corresponds to ESL function %HI_SetForeColorvoid
setHeight(int value)
Corresponds to ESL function %HI_SetSizeYvoid
setHeight(int value, boolean bObjManager)
Corresponds to ESL function %HI_SetSizeYvoid
setPos(int left, int top)
Set object position using functions setPosX and setPosYvoid
setPos(int left, int top, boolean bObjManager)
Set object position using functions setPosX and setPosYvoid
setSize(int width, int height)
Set object position using functions setSizeX and setSizeYvoid
setSize(int width, int height, boolean bObjManager)
Set object position using functions setSizeX and setSizeYvoid
setTooltip(java.lang.String value)
Corresponds to ESL function %HI_SetToolTipTextvoid
setWidth(int value)
Corresponds to ESL function %HI_SetSizeXvoid
setWidth(int value, boolean bObjManager)
Corresponds to ESL function %HI_SetSizeX-
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
setPosX, setPosX, setPosY, setPosY
-
Methods inherited from interface sk.ipesoft.d2000.go.IVisibleComponentProxy
setEnable, setLayoutManagement, setMasterEnable, setMasterVisible, setVisible
-
-
-
-
Method Detail
-
getVisible
public boolean getVisible()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetVisible- Specified by:
getVisible
in interfaceIVisibleComponent
-
getEnable
public boolean getEnable()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetEnable- Specified by:
getEnable
in interfaceIVisibleComponent
-
getPosX
public int getPosX()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetPosX- Specified by:
getPosX
in interfaceIVisibleComponent
-
getPosX
public int getPosX(boolean bObjManager)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetPosX- Specified by:
getPosX
in interfaceIVisibleComponent
-
getPosY
public int getPosY()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetPosY- Specified by:
getPosY
in interfaceIVisibleComponent
-
getPosY
public int getPosY(boolean bObjManager)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetPosY- Specified by:
getPosY
in interfaceIVisibleComponent
-
setPos
public void setPos(int left, int top, boolean bObjManager)
Description copied from interface:IVisibleComponent
Set object position using functions setPosX and setPosY- Specified by:
setPos
in interfaceIVisibleComponent
- Parameters:
left
- position xtop
- position ybObjManager
- recalc with ObjManager
-
setPos
public void setPos(int left, int top)
Description copied from interface:IVisibleComponent
Set object position using functions setPosX and setPosY- Specified by:
setPos
in interfaceIVisibleComponent
- Parameters:
left
- position xtop
- position y
-
getWidth
public int getWidth()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetSizeX- Specified by:
getWidth
in interfaceIVisibleComponent
-
getWidth
public int getWidth(boolean bObjManager)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetSizeX- Specified by:
getWidth
in interfaceIVisibleComponent
-
setWidth
public void setWidth(int value)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetSizeX- Specified by:
setWidth
in interfaceIVisibleComponent
-
setWidth
public void setWidth(int value, boolean bObjManager)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetSizeX- Specified by:
setWidth
in interfaceIVisibleComponent
-
getHeight
public int getHeight()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetSizeY- Specified by:
getHeight
in interfaceIVisibleComponent
-
getHeight
public int getHeight(boolean bObjManager)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetSizeY- Specified by:
getHeight
in interfaceIVisibleComponent
-
setHeight
public void setHeight(int value)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetSizeY- Specified by:
setHeight
in interfaceIVisibleComponent
-
setHeight
public void setHeight(int value, boolean bObjManager)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetSizeY- Specified by:
setHeight
in interfaceIVisibleComponent
-
setSize
public void setSize(int width, int height, boolean bObjManager)
Description copied from interface:IVisibleComponent
Set object position using functions setSizeX and setSizeY- Specified by:
setSize
in interfaceIVisibleComponent
- Parameters:
width
- size xheight
- size ybObjManager
- recalc with ObjManager
-
setSize
public void setSize(int width, int height)
Description copied from interface:IVisibleComponent
Set object position using functions setSizeX and setSizeY- Specified by:
setSize
in interfaceIVisibleComponent
- Parameters:
width
- size xheight
- size y
-
setFocus
public void setFocus()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetFocus- Specified by:
setFocus
in interfaceIVisibleComponent
-
getForeColor
public int getForeColor()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetForeColor- Specified by:
getForeColor
in interfaceIVisibleComponent
-
setForeColor
public void setForeColor(int value)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetForeColor- Specified by:
setForeColor
in interfaceIVisibleComponent
-
getBackColor
public int getBackColor()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetBackColor- Specified by:
getBackColor
in interfaceIVisibleComponent
-
setBackColor
public void setBackColor(int value)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetBackColor- Specified by:
setBackColor
in interfaceIVisibleComponent
-
lockUpdate
public void lockUpdate(boolean bLock)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_LockUpdate. Not supported in Thin client.- Specified by:
lockUpdate
in interfaceIVisibleComponent
-
setTooltip
public void setTooltip(java.lang.String value)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetToolTipText- Specified by:
setTooltip
in interfaceIVisibleComponent
-
setDragRangeX
public void setDragRangeX(int min, int max)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetDragRangeX. Not supported in Thin client.- Specified by:
setDragRangeX
in interfaceIVisibleComponent
-
setDragRangeY
public void setDragRangeY(int min, int max)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetDragRangeY. Not supported in Thin client.- Specified by:
setDragRangeY
in interfaceIVisibleComponent
-
setDraggable
public void setDraggable(boolean bHorizontal, boolean bVertical)
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_SetDraggable. Not supported in Thin client.- Specified by:
setDraggable
in interfaceIVisibleComponent
-
getMasterVisible
public boolean getMasterVisible()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetMasterVisible- Specified by:
getMasterVisible
in interfaceIVisibleComponent
-
getMasterEnable
public boolean getMasterEnable()
Description copied from interface:IVisibleComponent
Corresponds to ESL function %HI_GetMasterEnable- Specified by:
getMasterEnable
in interfaceIVisibleComponent
-
-