Package sk.ipesoft.d2000.go
Class GOGraph
- java.lang.Object
-
- sk.ipesoft.d2000.base.D2Base<sk.ipesoft.d2000.base.UnivalInt>
-
- All Implemented Interfaces:
java.lang.Comparable<D2Base<?>>,IBaseComponent,IClickSource,IGraphComponent,IMouseSource,IVisibleComponent,IVisibleComponentProxy
public class GOGraph extends GOVisualComponent implements IVisibleComponent, IGraphComponent
-
-
Field Summary
-
Fields inherited from class sk.ipesoft.d2000.base.D2Base
__col, __hobj, __indirectCol, __indirectHOBJ, __indirectRow, __internalId, __locVarId, __row
-
-
Constructor Summary
Constructors Constructor Description GOGraph(int eventId, int hobj, int locVarId, int row, int col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGraphData(int index, D2SD refToSD, int refToCol, int step)Corresponds to ESL function %HI_AddGraphData.voidaddGraphListener(IGraphListener listener)voidaddGraphTimezone(int idZone, java.util.Date startTime, java.util.Date endTime)Corresponds to ESL function %HI_SetGraphTimeZonevoiddisplayGraphGrid(boolean bHorizontal, boolean bVertical, int color)Corresponds to ESL function %HI_SetGraphGrid Not implemented in Thin client.SOGraphgetConnectedObj()Corresponds to ESL function %HI_GetConnectedHBJintgetGraphAxis(GraphAxisPosition axisPos)Corresponds to ESL function %HI_GetGraphAxis Not implemented in Thin client.voidhideLine(int index)voidprint(boolean bPreview, boolean bDescriptTable)Corresponds to ESL function %HI_PrintGO.voidprintGO()Corresponds to ESL function %HI_PrintGO Not supported in Thin client.voidprintGO(boolean bPreview)Corresponds to ESL function %HI_PrintGO Not supported in Thin client.voidprintGO(boolean bPreview, boolean bDescriptTable)Corresponds to ESL function %HI_PrintGO Not supported in Thin client.voidrefreshLine(int lineNr)Corresponds to ESL function %HI_GraphLineRefresh Not implemented in Thin client.voidremoveGraphTimezone(int idZone)Corresponds to ESL function %HI_GraphTimeZoneRemovevoidresetGraphZoom(boolean resetX, boolean resetY)Corresponds to ESL function %HI_ResetGraphZoom Not implemented in Thin client.voidsetConnectedObj(SOGraph obj)Corresponds to ESL function %HI_SetConnectedObjvoidsetDiagramData(int index, D2SD refToSD, int refToCol, int step)Corresponds to ESL function %HI_SetGraphData (%HI_SetDiagramData)voidsetDiagramData(int index, D2SD refToSD, int refToCol, int step, int bStart_Int)voidsetDiagTimes(java.util.Date param1, java.util.Date param2)Corresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)voidsetDiagTimes(java.util.Date param1, java.util.Date param2, boolean bSavePrevTimes)Corresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)voidsetDiatrendInfo(int index, java.lang.String popis)Corresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)voidsetDiatrendInfo(int index, java.lang.String popis, java.lang.String jednotky)Corresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)voidsetDiaTrendPrintTitle(java.lang.String printTitle)Corresponds to ESL function %HI_SetGraphPrintTitle (%HI_SetDiaTrendPrintTitle) Not supported in Thin client.voidsetDiaTrendTick(int extraTick, int majorTick, int minorTick)Corresponds to ESL function %HI_SetGraphTick (%HI_SetDiaTrendTick).voidsetDiatRowNr(int rowIdxInt)voidsetEnableGraphButtons(int refBtn, boolean bEnable)Corresponds to ESL function %HI_SetEnableGraphButtons.voidsetGraphAxis(GraphAxisPosition axisPos, int axisNr)Corresponds to ESL function %HI_SetGraphAxisvoidsetGraphAxisDesc(int axisNr, java.lang.String desc)Corresponds to ESL function %HI_SetGraphAxisDesc.voidsetGraphAxisRange(int axisNr, double low, double high)Funkcia nastavi rozsah danej osi grafu alebo XY grafu, ktory je pripojeny k zobrazovacu typu Graf alebo XY Graf.voidsetGraphAxisRangeDynamic(int axisNr, java.lang.Double low, java.lang.Double high)Funkcia nastavi rozsah danej osi grafu alebo XY grafu, ktora je pripojena k zobrazovacu typu Graf alebo XY Graf s moznostou dynamickych hranic.voidsetGraphBackColor(int rgb)Corresponds to ESL function %HI_SetGraphBackColorvoidsetGraphBarWidth(int lineNr, int width)Corresponds to ESL function %HI_SetGraphBarWidth Not implemented in Thin client.voidsetGraphButtons(int index, int visible, int enable)Corresponds to ESL function %HI_SetGraphButtons.voidsetGraphButtonsToolTip(java.lang.String text)Corresponds to ESL function %HI_SetGraphButtonsToolTip Not supported in Thin client.voidsetGraphDigitDesc(int axesNr, int firstLevelNr, java.lang.String[] levelNames)Corresponds to ESL function %HI_SetGraphDigitDescvoidsetGraphLinePeriode(int lineNr, int periodeSec)Corresponds to ESL function %HI_SetGraphLinePeriode Not implemented in Thin client.voidsetGraphLineStatFunction(int lineNr, GraphStatFunction fnct)Corresponds to ESL function %HI_SetGraphLineStat Not implemented in Thin client.voidsetGraphRowNr(int rowIdxInt)Corresponds to ESL function %HI_SetGraphRowNrvoidsetGraphTimeZoneColor(int idZone, int color)Corresponds to ESL function %HI_SetGraphTimeZoneColorvoidsetGraphTimeZoneVisible(int idZone, boolean bVisible)Corresponds to ESL function %HI_SetGraphTimeZoneVisiblevoidsetGraphTimeZoom(java.util.Date startTime, java.util.Date endTime)Corresponds to ESL function %HI_SetGraphTimeZoomvoidsetGraphXY_Data(int index, D2SD refToSD)Corresponds to ESL function %HI_SetGraphXY_DatavoidsetGraphXY_XAxisDesc(double x, java.lang.String text)Corresponds to ESL function %HI_SetGraphXY_XAxisDescvoidsetGraphXYText(int lineNr, double x, double y, java.lang.String text)Corresponds to ESL function %HI_SetGraphXYTextvoidsetGraphXYTextParams(int lineNr, SOFontStyle font, int color)Corresponds to ESL function %HI_SetGraphXYTextParamsvoidsetLineObject(int lineNr, D2Base object)Corresponds to ESL action HI_SETDT_LINEOBJvoidsetLineObject(int lineNr, D2Base object, int iAxis)Corresponds to ESL action HI_SETDT_LINEOBJvoidsetLineObject(int lineNr, D2Base object, int iAxis, boolean bSkipDataRead)Corresponds to ESL action HI_SETDT_LINEOBJvoidsetVisibleGraphControls(boolean visible1, boolean visible2)Corresponds to ESL function Not implemented in Thin client.voidshowLine(int index, boolean bShow)Corresponds to ESL function %HI_ShowLine-
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
-
hideLine
public void hideLine(int index)
- Specified by:
hideLinein interfaceIGraphComponent
-
setDiagramData
public void setDiagramData(int index, D2SD refToSD, int refToCol, int step, int bStart_Int)- Specified by:
setDiagramDatain interfaceIGraphComponent
-
setDiagramData
public void setDiagramData(int index, D2SD refToSD, int refToCol, int step)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphData (%HI_SetDiagramData)- Specified by:
setDiagramDatain interfaceIGraphComponent
-
addGraphData
public void addGraphData(int index, D2SD refToSD, int refToCol, int step)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_AddGraphData. Not supported in Thin client.- Specified by:
addGraphDatain interfaceIGraphComponent
-
setDiatRowNr
public void setDiatRowNr(int rowIdxInt)
- Specified by:
setDiatRowNrin interfaceIGraphComponent
-
setGraphRowNr
public void setGraphRowNr(int rowIdxInt)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphRowNr- Specified by:
setGraphRowNrin interfaceIGraphComponent
-
setDiagTimes
public void setDiagTimes(java.util.Date param1, java.util.Date param2, boolean bSavePrevTimes)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)- Specified by:
setDiagTimesin interfaceIGraphComponent
-
setDiagTimes
public void setDiagTimes(java.util.Date param1, java.util.Date param2)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)- Specified by:
setDiagTimesin interfaceIGraphComponent
-
setDiatrendInfo
public void setDiatrendInfo(int index, java.lang.String popis)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)- Specified by:
setDiatrendInfoin interfaceIGraphComponent
-
setDiatrendInfo
public void setDiatrendInfo(int index, java.lang.String popis, java.lang.String jednotky)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)- Specified by:
setDiatrendInfoin interfaceIGraphComponent
-
setDiaTrendPrintTitle
public void setDiaTrendPrintTitle(java.lang.String printTitle)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphPrintTitle (%HI_SetDiaTrendPrintTitle) Not supported in Thin client.- Specified by:
setDiaTrendPrintTitlein interfaceIGraphComponent
-
setDiaTrendTick
public void setDiaTrendTick(int extraTick, int majorTick, int minorTick)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphTick (%HI_SetDiaTrendTick). Not supported in Thin client.- Specified by:
setDiaTrendTickin interfaceIGraphComponent
-
setGraphBackColor
public void setGraphBackColor(int rgb)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphBackColor- Specified by:
setGraphBackColorin interfaceIGraphComponent
-
setGraphDigitDesc
public void setGraphDigitDesc(int axesNr, int firstLevelNr, java.lang.String[] levelNames)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphDigitDesc- Specified by:
setGraphDigitDescin interfaceIGraphComponent
-
setGraphButtons
public void setGraphButtons(int index, int visible, int enable)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphButtons. Not supported in Thin client.- Specified by:
setGraphButtonsin interfaceIGraphComponent
-
setGraphButtonsToolTip
public void setGraphButtonsToolTip(java.lang.String text)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphButtonsToolTip Not supported in Thin client.- Specified by:
setGraphButtonsToolTipin interfaceIGraphComponent
-
showLine
public void showLine(int index, boolean bShow)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_ShowLine- Specified by:
showLinein interfaceIGraphComponent
-
printGO
public void printGO()
Corresponds to ESL function %HI_PrintGO Not supported in Thin client.
-
printGO
public void printGO(boolean bPreview)
Corresponds to ESL function %HI_PrintGO Not supported in Thin client.
-
printGO
public void printGO(boolean bPreview, boolean bDescriptTable)Corresponds to ESL function %HI_PrintGO Not supported in Thin client.
-
addGraphTimezone
public void addGraphTimezone(int idZone, java.util.Date startTime, java.util.Date endTime)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphTimeZone- Specified by:
addGraphTimezonein interfaceIGraphComponent
-
removeGraphTimezone
public void removeGraphTimezone(int idZone)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_GraphTimeZoneRemove- Specified by:
removeGraphTimezonein interfaceIGraphComponent
-
setGraphTimeZoneColor
public void setGraphTimeZoneColor(int idZone, int color)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphTimeZoneColor- Specified by:
setGraphTimeZoneColorin interfaceIGraphComponent
-
setGraphTimeZoneVisible
public void setGraphTimeZoneVisible(int idZone, boolean bVisible)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphTimeZoneVisible- Specified by:
setGraphTimeZoneVisiblein interfaceIGraphComponent
-
getConnectedObj
public SOGraph getConnectedObj()
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_GetConnectedHBJ- Specified by:
getConnectedObjin interfaceIGraphComponent
-
setConnectedObj
public void setConnectedObj(SOGraph obj)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetConnectedObj- Specified by:
setConnectedObjin interfaceIGraphComponent
-
setGraphXY_Data
public void setGraphXY_Data(int index, D2SD refToSD)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphXY_Data- Specified by:
setGraphXY_Datain interfaceIGraphComponent
-
setGraphXY_XAxisDesc
public void setGraphXY_XAxisDesc(double x, java.lang.String text)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphXY_XAxisDesc- Specified by:
setGraphXY_XAxisDescin interfaceIGraphComponent
-
setGraphXYText
public void setGraphXYText(int lineNr, double x, double y, java.lang.String text)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphXYText- Specified by:
setGraphXYTextin interfaceIGraphComponent
-
setGraphXYTextParams
public void setGraphXYTextParams(int lineNr, SOFontStyle font, int color)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphXYTextParams- Specified by:
setGraphXYTextParamsin interfaceIGraphComponent
-
setGraphAxisRange
public void setGraphAxisRange(int axisNr, double low, double high)Funkcia nastavi rozsah danej osi grafu alebo XY grafu, ktory je pripojeny k zobrazovacu typu Graf alebo XY Graf. ESL funkcia - %HI_SetGraphAxisRange( INT in refId, INT in axisNr, REAL in _low, REAL in _high)- Specified by:
setGraphAxisRangein interfaceIGraphComponent- Parameters:
axisNr- cislo osilow- Minimum na osi. Ak je null, minimum je dynamickehigh- Maximum na osi. Ak je null, maximum je dynamicke
-
setGraphAxisRangeDynamic
public void setGraphAxisRangeDynamic(int axisNr, java.lang.Double low, java.lang.Double high)Funkcia nastavi rozsah danej osi grafu alebo XY grafu, ktora je pripojena k zobrazovacu typu Graf alebo XY Graf s moznostou dynamickych hranic. ESL funkcia - %HI_SetGraphAxisRange( INT in refId, INT in axisNr, REAL in _low, REAL in _high)- Parameters:
axisNr- cislo osilow- Minimum na osi. Ak je null, minimum je dynamickehigh- Maximum na osi. Ak je null, maximum je dynamicke
-
print
public void print(boolean bPreview, boolean bDescriptTable)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_PrintGO. Not supported in Thin client.- Specified by:
printin interfaceIGraphComponent
-
setGraphTimeZoom
public void setGraphTimeZoom(java.util.Date startTime, java.util.Date endTime)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphTimeZoom- Specified by:
setGraphTimeZoomin interfaceIGraphComponent
-
getGraphAxis
public int getGraphAxis(GraphAxisPosition axisPos)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_GetGraphAxis Not implemented in Thin client.- Specified by:
getGraphAxisin interfaceIGraphComponent
-
setGraphAxis
public void setGraphAxis(GraphAxisPosition axisPos, int axisNr)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphAxis- Specified by:
setGraphAxisin interfaceIGraphComponent
-
refreshLine
public void refreshLine(int lineNr)
Description copied from interface:IGraphComponentCorresponds to ESL function %HI_GraphLineRefresh Not implemented in Thin client.- Specified by:
refreshLinein interfaceIGraphComponent
-
resetGraphZoom
public void resetGraphZoom(boolean resetX, boolean resetY)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_ResetGraphZoom Not implemented in Thin client.- Specified by:
resetGraphZoomin interfaceIGraphComponent
-
setGraphAxisDesc
public void setGraphAxisDesc(int axisNr, java.lang.String desc)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphAxisDesc. Not implemented in Thin client.- Specified by:
setGraphAxisDescin interfaceIGraphComponent
-
setGraphBarWidth
public void setGraphBarWidth(int lineNr, int width)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphBarWidth Not implemented in Thin client.- Specified by:
setGraphBarWidthin interfaceIGraphComponent
-
displayGraphGrid
public void displayGraphGrid(boolean bHorizontal, boolean bVertical, int color)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphGrid Not implemented in Thin client.- Specified by:
displayGraphGridin interfaceIGraphComponent
-
setGraphLinePeriode
public void setGraphLinePeriode(int lineNr, int periodeSec)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphLinePeriode Not implemented in Thin client.- Specified by:
setGraphLinePeriodein interfaceIGraphComponent
-
setGraphLineStatFunction
public void setGraphLineStatFunction(int lineNr, GraphStatFunction fnct)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetGraphLineStat Not implemented in Thin client.- Specified by:
setGraphLineStatFunctionin interfaceIGraphComponent
-
setVisibleGraphControls
public void setVisibleGraphControls(boolean visible1, boolean visible2)Description copied from interface:IGraphComponentCorresponds to ESL function Not implemented in Thin client.- Specified by:
setVisibleGraphControlsin interfaceIGraphComponent
-
setEnableGraphButtons
public void setEnableGraphButtons(int refBtn, boolean bEnable)Description copied from interface:IGraphComponentCorresponds to ESL function %HI_SetEnableGraphButtons. Not implemented in HI.- Specified by:
setEnableGraphButtonsin interfaceIGraphComponent
-
setLineObject
public void setLineObject(int lineNr, D2Base object)Description copied from interface:IGraphComponentCorresponds to ESL action HI_SETDT_LINEOBJ- Specified by:
setLineObjectin interfaceIGraphComponent
-
setLineObject
public void setLineObject(int lineNr, D2Base object, int iAxis)Description copied from interface:IGraphComponentCorresponds to ESL action HI_SETDT_LINEOBJ- Specified by:
setLineObjectin interfaceIGraphComponent
-
setLineObject
public void setLineObject(int lineNr, D2Base object, int iAxis, boolean bSkipDataRead)Description copied from interface:IGraphComponentCorresponds to ESL action HI_SETDT_LINEOBJ- Specified by:
setLineObjectin interfaceIGraphComponent
-
addGraphListener
public void addGraphListener(IGraphListener listener)
-
-