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 void
addGraphData(int index, D2SD refToSD, int refToCol, int step)
Corresponds to ESL function %HI_AddGraphData.void
addGraphListener(IGraphListener listener)
void
addGraphTimezone(int idZone, java.util.Date startTime, java.util.Date endTime)
Corresponds to ESL function %HI_SetGraphTimeZonevoid
displayGraphGrid(boolean bHorizontal, boolean bVertical, int color)
Corresponds to ESL function %HI_SetGraphGrid Not implemented in Thin client.SOGraph
getConnectedObj()
Corresponds to ESL function %HI_GetConnectedHBJint
getGraphAxis(GraphAxisPosition axisPos)
Corresponds to ESL function %HI_GetGraphAxis Not implemented in Thin client.void
hideLine(int index)
void
print(boolean bPreview, boolean bDescriptTable)
Corresponds to ESL function %HI_PrintGO.void
printGO()
Corresponds to ESL function %HI_PrintGO Not supported in Thin client.void
printGO(boolean bPreview)
Corresponds to ESL function %HI_PrintGO Not supported in Thin client.void
printGO(boolean bPreview, boolean bDescriptTable)
Corresponds to ESL function %HI_PrintGO Not supported in Thin client.void
refreshLine(int lineNr)
Corresponds to ESL function %HI_GraphLineRefresh Not implemented in Thin client.void
removeGraphTimezone(int idZone)
Corresponds to ESL function %HI_GraphTimeZoneRemovevoid
resetGraphZoom(boolean resetX, boolean resetY)
Corresponds to ESL function %HI_ResetGraphZoom Not implemented in Thin client.void
setConnectedObj(SOGraph obj)
Corresponds to ESL function %HI_SetConnectedObjvoid
setDiagramData(int index, D2SD refToSD, int refToCol, int step)
Corresponds to ESL function %HI_SetGraphData (%HI_SetDiagramData)void
setDiagramData(int index, D2SD refToSD, int refToCol, int step, int bStart_Int)
void
setDiagTimes(java.util.Date param1, java.util.Date param2)
Corresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)void
setDiagTimes(java.util.Date param1, java.util.Date param2, boolean bSavePrevTimes)
Corresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)void
setDiatrendInfo(int index, java.lang.String popis)
Corresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)void
setDiatrendInfo(int index, java.lang.String popis, java.lang.String jednotky)
Corresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)void
setDiaTrendPrintTitle(java.lang.String printTitle)
Corresponds to ESL function %HI_SetGraphPrintTitle (%HI_SetDiaTrendPrintTitle) Not supported in Thin client.void
setDiaTrendTick(int extraTick, int majorTick, int minorTick)
Corresponds to ESL function %HI_SetGraphTick (%HI_SetDiaTrendTick).void
setDiatRowNr(int rowIdxInt)
void
setEnableGraphButtons(int refBtn, boolean bEnable)
Corresponds to ESL function %HI_SetEnableGraphButtons.void
setGraphAxis(GraphAxisPosition axisPos, int axisNr)
Corresponds to ESL function %HI_SetGraphAxisvoid
setGraphAxisDesc(int axisNr, java.lang.String desc)
Corresponds to ESL function %HI_SetGraphAxisDesc.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.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.void
setGraphBackColor(int rgb)
Corresponds to ESL function %HI_SetGraphBackColorvoid
setGraphBarWidth(int lineNr, int width)
Corresponds to ESL function %HI_SetGraphBarWidth Not implemented in Thin client.void
setGraphButtons(int index, int visible, int enable)
Corresponds to ESL function %HI_SetGraphButtons.void
setGraphButtonsToolTip(java.lang.String text)
Corresponds to ESL function %HI_SetGraphButtonsToolTip Not supported in Thin client.void
setGraphDigitDesc(int axesNr, int firstLevelNr, java.lang.String[] levelNames)
Corresponds to ESL function %HI_SetGraphDigitDescvoid
setGraphLinePeriode(int lineNr, int periodeSec)
Corresponds to ESL function %HI_SetGraphLinePeriode Not implemented in Thin client.void
setGraphLineStatFunction(int lineNr, GraphStatFunction fnct)
Corresponds to ESL function %HI_SetGraphLineStat Not implemented in Thin client.void
setGraphRowNr(int rowIdxInt)
Corresponds to ESL function %HI_SetGraphRowNrvoid
setGraphTimeZoneColor(int idZone, int color)
Corresponds to ESL function %HI_SetGraphTimeZoneColorvoid
setGraphTimeZoneVisible(int idZone, boolean bVisible)
Corresponds to ESL function %HI_SetGraphTimeZoneVisiblevoid
setGraphTimeZoom(java.util.Date startTime, java.util.Date endTime)
Corresponds to ESL function %HI_SetGraphTimeZoomvoid
setGraphXY_Data(int index, D2SD refToSD)
Corresponds to ESL function %HI_SetGraphXY_Datavoid
setGraphXY_XAxisDesc(double x, java.lang.String text)
Corresponds to ESL function %HI_SetGraphXY_XAxisDescvoid
setGraphXYText(int lineNr, double x, double y, java.lang.String text)
Corresponds to ESL function %HI_SetGraphXYTextvoid
setGraphXYTextParams(int lineNr, SOFontStyle font, int color)
Corresponds to ESL function %HI_SetGraphXYTextParamsvoid
setLineObject(int lineNr, D2Base object)
Corresponds to ESL action HI_SETDT_LINEOBJvoid
setLineObject(int lineNr, D2Base object, int iAxis)
Corresponds to ESL action HI_SETDT_LINEOBJvoid
setLineObject(int lineNr, D2Base object, int iAxis, boolean bSkipDataRead)
Corresponds to ESL action HI_SETDT_LINEOBJvoid
setVisibleGraphControls(boolean visible1, boolean visible2)
Corresponds to ESL function Not implemented in Thin client.void
showLine(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:
hideLine
in interfaceIGraphComponent
-
setDiagramData
public void setDiagramData(int index, D2SD refToSD, int refToCol, int step, int bStart_Int)
- Specified by:
setDiagramData
in interfaceIGraphComponent
-
setDiagramData
public void setDiagramData(int index, D2SD refToSD, int refToCol, int step)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphData (%HI_SetDiagramData)- Specified by:
setDiagramData
in interfaceIGraphComponent
-
addGraphData
public void addGraphData(int index, D2SD refToSD, int refToCol, int step)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_AddGraphData. Not supported in Thin client.- Specified by:
addGraphData
in interfaceIGraphComponent
-
setDiatRowNr
public void setDiatRowNr(int rowIdxInt)
- Specified by:
setDiatRowNr
in interfaceIGraphComponent
-
setGraphRowNr
public void setGraphRowNr(int rowIdxInt)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphRowNr- Specified by:
setGraphRowNr
in interfaceIGraphComponent
-
setDiagTimes
public void setDiagTimes(java.util.Date param1, java.util.Date param2, boolean bSavePrevTimes)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)- Specified by:
setDiagTimes
in interfaceIGraphComponent
-
setDiagTimes
public void setDiagTimes(java.util.Date param1, java.util.Date param2)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphTimes (%HI_SetDiagTimes)- Specified by:
setDiagTimes
in interfaceIGraphComponent
-
setDiatrendInfo
public void setDiatrendInfo(int index, java.lang.String popis)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)- Specified by:
setDiatrendInfo
in interfaceIGraphComponent
-
setDiatrendInfo
public void setDiatrendInfo(int index, java.lang.String popis, java.lang.String jednotky)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphInfo (%HI_SetDiatrendInfo)- Specified by:
setDiatrendInfo
in interfaceIGraphComponent
-
setDiaTrendPrintTitle
public void setDiaTrendPrintTitle(java.lang.String printTitle)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphPrintTitle (%HI_SetDiaTrendPrintTitle) Not supported in Thin client.- Specified by:
setDiaTrendPrintTitle
in interfaceIGraphComponent
-
setDiaTrendTick
public void setDiaTrendTick(int extraTick, int majorTick, int minorTick)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphTick (%HI_SetDiaTrendTick). Not supported in Thin client.- Specified by:
setDiaTrendTick
in interfaceIGraphComponent
-
setGraphBackColor
public void setGraphBackColor(int rgb)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphBackColor- Specified by:
setGraphBackColor
in interfaceIGraphComponent
-
setGraphDigitDesc
public void setGraphDigitDesc(int axesNr, int firstLevelNr, java.lang.String[] levelNames)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphDigitDesc- Specified by:
setGraphDigitDesc
in interfaceIGraphComponent
-
setGraphButtons
public void setGraphButtons(int index, int visible, int enable)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphButtons. Not supported in Thin client.- Specified by:
setGraphButtons
in interfaceIGraphComponent
-
setGraphButtonsToolTip
public void setGraphButtonsToolTip(java.lang.String text)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphButtonsToolTip Not supported in Thin client.- Specified by:
setGraphButtonsToolTip
in interfaceIGraphComponent
-
showLine
public void showLine(int index, boolean bShow)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_ShowLine- Specified by:
showLine
in 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:IGraphComponent
Corresponds to ESL function %HI_SetGraphTimeZone- Specified by:
addGraphTimezone
in interfaceIGraphComponent
-
removeGraphTimezone
public void removeGraphTimezone(int idZone)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_GraphTimeZoneRemove- Specified by:
removeGraphTimezone
in interfaceIGraphComponent
-
setGraphTimeZoneColor
public void setGraphTimeZoneColor(int idZone, int color)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphTimeZoneColor- Specified by:
setGraphTimeZoneColor
in interfaceIGraphComponent
-
setGraphTimeZoneVisible
public void setGraphTimeZoneVisible(int idZone, boolean bVisible)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphTimeZoneVisible- Specified by:
setGraphTimeZoneVisible
in interfaceIGraphComponent
-
getConnectedObj
public SOGraph getConnectedObj()
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_GetConnectedHBJ- Specified by:
getConnectedObj
in interfaceIGraphComponent
-
setConnectedObj
public void setConnectedObj(SOGraph obj)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetConnectedObj- Specified by:
setConnectedObj
in interfaceIGraphComponent
-
setGraphXY_Data
public void setGraphXY_Data(int index, D2SD refToSD)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphXY_Data- Specified by:
setGraphXY_Data
in interfaceIGraphComponent
-
setGraphXY_XAxisDesc
public void setGraphXY_XAxisDesc(double x, java.lang.String text)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphXY_XAxisDesc- Specified by:
setGraphXY_XAxisDesc
in interfaceIGraphComponent
-
setGraphXYText
public void setGraphXYText(int lineNr, double x, double y, java.lang.String text)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphXYText- Specified by:
setGraphXYText
in interfaceIGraphComponent
-
setGraphXYTextParams
public void setGraphXYTextParams(int lineNr, SOFontStyle font, int color)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphXYTextParams- Specified by:
setGraphXYTextParams
in 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:
setGraphAxisRange
in 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:IGraphComponent
Corresponds to ESL function %HI_PrintGO. Not supported in Thin client.- Specified by:
print
in interfaceIGraphComponent
-
setGraphTimeZoom
public void setGraphTimeZoom(java.util.Date startTime, java.util.Date endTime)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphTimeZoom- Specified by:
setGraphTimeZoom
in interfaceIGraphComponent
-
getGraphAxis
public int getGraphAxis(GraphAxisPosition axisPos)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_GetGraphAxis Not implemented in Thin client.- Specified by:
getGraphAxis
in interfaceIGraphComponent
-
setGraphAxis
public void setGraphAxis(GraphAxisPosition axisPos, int axisNr)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphAxis- Specified by:
setGraphAxis
in interfaceIGraphComponent
-
refreshLine
public void refreshLine(int lineNr)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_GraphLineRefresh Not implemented in Thin client.- Specified by:
refreshLine
in interfaceIGraphComponent
-
resetGraphZoom
public void resetGraphZoom(boolean resetX, boolean resetY)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_ResetGraphZoom Not implemented in Thin client.- Specified by:
resetGraphZoom
in interfaceIGraphComponent
-
setGraphAxisDesc
public void setGraphAxisDesc(int axisNr, java.lang.String desc)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphAxisDesc. Not implemented in Thin client.- Specified by:
setGraphAxisDesc
in interfaceIGraphComponent
-
setGraphBarWidth
public void setGraphBarWidth(int lineNr, int width)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphBarWidth Not implemented in Thin client.- Specified by:
setGraphBarWidth
in interfaceIGraphComponent
-
displayGraphGrid
public void displayGraphGrid(boolean bHorizontal, boolean bVertical, int color)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphGrid Not implemented in Thin client.- Specified by:
displayGraphGrid
in interfaceIGraphComponent
-
setGraphLinePeriode
public void setGraphLinePeriode(int lineNr, int periodeSec)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphLinePeriode Not implemented in Thin client.- Specified by:
setGraphLinePeriode
in interfaceIGraphComponent
-
setGraphLineStatFunction
public void setGraphLineStatFunction(int lineNr, GraphStatFunction fnct)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetGraphLineStat Not implemented in Thin client.- Specified by:
setGraphLineStatFunction
in interfaceIGraphComponent
-
setVisibleGraphControls
public void setVisibleGraphControls(boolean visible1, boolean visible2)
Description copied from interface:IGraphComponent
Corresponds to ESL function Not implemented in Thin client.- Specified by:
setVisibleGraphControls
in interfaceIGraphComponent
-
setEnableGraphButtons
public void setEnableGraphButtons(int refBtn, boolean bEnable)
Description copied from interface:IGraphComponent
Corresponds to ESL function %HI_SetEnableGraphButtons. Not implemented in HI.- Specified by:
setEnableGraphButtons
in interfaceIGraphComponent
-
setLineObject
public void setLineObject(int lineNr, D2Base object)
Description copied from interface:IGraphComponent
Corresponds to ESL action HI_SETDT_LINEOBJ- Specified by:
setLineObject
in interfaceIGraphComponent
-
setLineObject
public void setLineObject(int lineNr, D2Base object, int iAxis)
Description copied from interface:IGraphComponent
Corresponds to ESL action HI_SETDT_LINEOBJ- Specified by:
setLineObject
in interfaceIGraphComponent
-
setLineObject
public void setLineObject(int lineNr, D2Base object, int iAxis, boolean bSkipDataRead)
Description copied from interface:IGraphComponent
Corresponds to ESL action HI_SETDT_LINEOBJ- Specified by:
setLineObject
in interfaceIGraphComponent
-
addGraphListener
public void addGraphListener(IGraphListener listener)
-
-