Package sk.ipesoft.d2000.sysobj
Interface IRunnablePicture
-
- All Superinterfaces:
IWindowStateSource
- All Known Implementing Classes:
BasePicture,CommonPicture,PlatformPicture
public interface IRunnablePicture extends IWindowStateSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddHistoryListener(IHistoryListener listener)voidaddNavHistoryPopStateListener(INavHistoryPopStateListener listener)voidaddWindowStateListener(IWindowStateListener listener)Adds WindowState listenervoidassignLocVarStatusText(D2Base object, SOStatusText stText)Corresponds to ESL function %HI_SetLocVarStText.voidcaptureToFile(java.lang.String filename)Corresponds to ESL function %HI_CaptureToFile.voidclosePicture()Deprecated.voidclosePicture(D2Process proc, SOPicture pict, int instance)Corresponds to ESL action CLOSEvoidclosePicture(SOPicture pict, int instance)Corresponds to ESL action CLOSEvoidclosePictureDirect()Corresponds to ESL action CLOSE DIRECTvoidclosePictureOnAll(SOPicture pict, int instance)Corresponds to ESL action CLOSE ON ALLvoidcopySysColorPage(int fromIdx, int toIdx)Corresponds to ESL function %HI_CopySysColorPage.java.io.OutputStreamcreateCustomFile(java.lang.String path)Create file for streaming.GOHTMLiframecreateGO_HTMLiframe(boolean visible, int x, int y, int dx, int dy, SOHTMLiframe obj)voidenableHI(boolean bEnable)Corresponds to ESL function %HI_EnableHI.voidenableInOutVariables(boolean bEnable)Corresponds to ESL function %HI_EnableInOutVariables.voidenablePicture(boolean bEnable)Corresponds to ESL function %HI_EnablePicturevoidenablePicture(boolean bEnable, boolean bWaitCursor)Corresponds to ESL function %HI_EnablePicturejava.lang.StringfileDialog(boolean bOpen, java.lang.String title, java.lang.String path, java.lang.String filename, java.lang.String extension)Corresponds to ESL function %HI_FileDialog.GOComponentBasegetComponentByRefVal(int iRefIdVal)Returns graph.intgetCurrentLayer()Corresponds to ESL function %HI_GetCurrLayer.java.util.DategetHistoryTime()Corresponds to ESL function %HI_GetHistoryTimeintgetHIWindowHeight()Corresponds to ESL function %HI_GetHiSizeY.intgetHIWindowWidth()Corresponds to ESL function %HI_GetHiSizeX.java.lang.String[]getMetadata(MetadataItemGet[] params)intgetOwnerHBJ()Corresponds to ESL function %HI_GetOwnerHBJintgetOwnerHBJ(boolean base)Corresponds to ESL function %HI_GetOwnerHBJintgetOwnerInstance()Corresponds to ESL function %HI_GetOwnerInstanceintgetOwnerInstance(boolean physical)Corresponds to ESL function %HI_GetOwnerInstanceintgetPalRGB(int stranka, int riadok, int stlpec)Corresponds to ESL function %HI_GetPalRGBintgetPictureScrollMaxX()Corresponds to ESL function %HI_GetPictureScrollMaxX.intgetPictureScrollMaxY()Corresponds to ESL function %HI_GetPictureScrollMaxY.intgetPictureScrollX()Corresponds to ESL function %HI_GetPictureScrollX.intgetPictureScrollY()Corresponds to ESL function %HI_GetPictureScrollY.intgetPixelRGB(int x, int y)Corresponds to ESL function %HI_GetPixelRGB.intgetScreenHeight()Corresponds to ESL function %HI_GetMonitorSizeY.intgetScreenWidth()Corresponds to ESL function %HI_GetMonitorSizeX.java.lang.StringgetURIFragment()Returns fragment identifier from current URI.doublegetZoomX()Corresponds to ESL function %HI_GetCurrZoomX.doublegetZoomY()Corresponds to ESL function %HI_GetCurrZoomY.voidhideProgressPanel()Show blur panel with wait cursor over application.voidhistoryEnd()Corresponds to ESL function %HI_HistoryEndvoidhistoryStart(java.util.Date start, java.util.Date end)Corresponds to ESL function %HI_HistoryStartvoidlockUpdate(boolean block)Corresponds to ESL function %HI_LockUpdate Not supported in Thin client.java.lang.StringmakeLocalURIWithFragment(java.lang.String fragment)Returns absolute local URI with fragment identifier.voidmessage(java.lang.String msg)Corresponds to ESL action MESSAGEvoidmessage(D2Process proc, java.lang.String msg)Corresponds to ESL action MESSAGEvoidmessageOnAll(java.lang.String msg)Corresponds to ESL action MESSAGEvoidmessageSingle(java.lang.String msg)Corresponds to ESL action MESSAGE SINGLEvoidmessageSingle(D2Process proc, java.lang.String msg)Corresponds to ESL action MESSAGE SINGLEvoidopenCompositionDirect(SOComposition comp)Corresponds to ESL action OPEN DIRECTvoidopenDynamicGraph(D2Base object, int row, int col, DynamicGraphType graphType)Corresponds to ESL function %HI_OpenDynamGraph Not supported in Thin client.voidopenGraphDirect(SOGraph graph, int instance)Corresponds to ESL action OPEN DIRECTvoidopenGraphDirect(SOGraph graph, int instance, int posType, int posAt)Corresponds to ESL action OPEN DIRECTvoidopenPictureDirect(SOPicture pict, int instance)Corresponds to ESL action OPEN DIRECTvoidopenPictureDirect(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)Corresponds to ESL action OPEN DIRECTvoidopenPictureDirect(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)Corresponds to ESL action OPEN DIRECTvoidopenPictureDirectSyncClose(SOPicture pict, int instance)Corresponds to ESL action OPEN DIRECT SYNC ENDvoidopenPictureDirectSyncClose(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)Corresponds to ESL action OPEN DIRECT SYNC ENDvoidopenPictureDirectSyncClose(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)Corresponds to ESL action OPEN DIRECT SYNC ENDvoidopenPictureDirectSyncOpen(SOPicture pict, int instance)Corresponds to ESL action OPEN DIRECT SYNCvoidopenPictureDirectSyncOpen(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)Corresponds to ESL action OPEN DIRECT SYNCvoidopenPictureDirectSyncOpen(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)Corresponds to ESL action OPEN DIRECT SYNCvoidpicturePopUpMenuEnable(boolean bEnable)Corresponds to ESL function %HI_PicturePopUpMenuEnable.voidprintWindow()Corresponds to ESL function %HI_PrintWindow Not supported in Thin client.voidprintWindow(boolean bPreview)Corresponds to ESL function %HI_PrintWindow Not supported in Thin client.intquery(java.lang.String msg, int timeout)Corresponds to ESL action QUERYintquery(D2Process proc, java.lang.String msg, int timeout)Corresponds to ESL action QUERYintquerySingle(java.lang.String msg, int timeout)Corresponds to ESL action QUERY SINGLEintquerySingle(D2Process proc, java.lang.String msg, int timeout)Corresponds to ESL action QUERY SINGLEjava.lang.StringselectDirectoryDialog(java.lang.String title, java.lang.String path)Corresponds to ESL function %HI_SelectDir.voidsetDefaultButton(GOButton btn)Sets the default buttonvoidsetDynamicGraphTemplate(SOGraph graph)Corresponds to ESL function %HI_SetDynamGraph.voidsetEscapeButton(GOButton btn)Sets the escape buttonvoidsetHistoryTime(java.util.Date time)Corresponds to ESL function %HI_SetHistoryTimevoidsetLayerParams(int from, int to)Corresponds to ESL function %HI_LayersParams.voidsetLocVarStatusText(D2Base locVar, SOStatusText sttxt)Corresponds to ESL function %HI_SetLocVarStTextvoidsetMetadata(MetadataItemSet[] params)voidsetPictureHelp(java.lang.String page)Corresponds to ESL function %HI_SetPictureHelp.voidsetPictureMode(PictureMode mode)Corresponds to ESL functions %HI_SetModeCtrl, %HI_SetModeMove and %HI_SetModeZoom.voidsetPictureScrollPos(int x, int y)Corresponds to ESL function %HI_SetPictureScroll.voidsetPictureTitle(java.lang.String newTitle)Corresponds to ESL function %HI_SetPictureTitlevoidsetScrollBarVisibleH(ScrollBarVisibility sbvH)Function sets picture horizontal scroll bar visibility in Thin client.voidsetScrollBarVisibleV(ScrollBarVisibility sbvV)Function sets picture vertical scroll bar visibility in Thin client.voidsetZoom(double scale, int x, int y)Corresponds to ESL function %HI_SetZoomvoidshowPictureHelp(java.lang.String page)Corresponds to ESL function %HI_ShowHelp.voidshowProgressPanel()Show blur panel with wait cursor over application.voidshowSystemMessage(ErrorCode code, java.lang.String message)Internal function.voidzoomOut()Corresponds to ESL function %HI_ZoomOut
-
-
-
Method Detail
-
closePicture
@Deprecated void closePicture()
Deprecated.
-
closePictureDirect
void closePictureDirect()
Corresponds to ESL action CLOSE DIRECT
-
openCompositionDirect
void openCompositionDirect(SOComposition comp)
Corresponds to ESL action OPEN DIRECT
-
openGraphDirect
void openGraphDirect(SOGraph graph, int instance)
Corresponds to ESL action OPEN DIRECT
-
openGraphDirect
void openGraphDirect(SOGraph graph, int instance, int posType, int posAt)
Corresponds to ESL action OPEN DIRECT
-
openPictureDirect
void openPictureDirect(SOPicture pict, int instance)
Corresponds to ESL action OPEN DIRECT
-
openPictureDirect
void openPictureDirect(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)
Corresponds to ESL action OPEN DIRECT
-
openPictureDirect
void openPictureDirect(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)
Corresponds to ESL action OPEN DIRECT
-
openPictureDirectSyncOpen
void openPictureDirectSyncOpen(SOPicture pict, int instance)
Corresponds to ESL action OPEN DIRECT SYNC
-
openPictureDirectSyncOpen
void openPictureDirectSyncOpen(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)
Corresponds to ESL action OPEN DIRECT SYNC
-
openPictureDirectSyncOpen
void openPictureDirectSyncOpen(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)
Corresponds to ESL action OPEN DIRECT SYNC
-
openPictureDirectSyncClose
void openPictureDirectSyncClose(SOPicture pict, int instance)
Corresponds to ESL action OPEN DIRECT SYNC END
-
openPictureDirectSyncClose
void openPictureDirectSyncClose(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)
Corresponds to ESL action OPEN DIRECT SYNC END
-
openPictureDirectSyncClose
void openPictureDirectSyncClose(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)
Corresponds to ESL action OPEN DIRECT SYNC END
-
closePictureOnAll
void closePictureOnAll(SOPicture pict, int instance)
Corresponds to ESL action CLOSE ON ALL
-
closePicture
void closePicture(D2Process proc, SOPicture pict, int instance)
Corresponds to ESL action CLOSE
-
closePicture
void closePicture(SOPicture pict, int instance)
Corresponds to ESL action CLOSE
-
getComponentByRefVal
GOComponentBase getComponentByRefVal(int iRefIdVal)
Returns graph. object defined by refId- Returns:
-
setLocVarStatusText
void setLocVarStatusText(D2Base locVar, SOStatusText sttxt)
Corresponds to ESL function %HI_SetLocVarStText
-
setPictureTitle
void setPictureTitle(java.lang.String newTitle)
Corresponds to ESL function %HI_SetPictureTitle
-
message
void message(java.lang.String msg)
Corresponds to ESL action MESSAGE
-
message
void message(D2Process proc, java.lang.String msg)
Corresponds to ESL action MESSAGE
-
messageSingle
void messageSingle(java.lang.String msg)
Corresponds to ESL action MESSAGE SINGLE
-
messageSingle
void messageSingle(D2Process proc, java.lang.String msg)
Corresponds to ESL action MESSAGE SINGLE
-
messageOnAll
void messageOnAll(java.lang.String msg)
Corresponds to ESL action MESSAGE
-
query
int query(java.lang.String msg, int timeout)Corresponds to ESL action QUERY
-
query
int query(D2Process proc, java.lang.String msg, int timeout)
Corresponds to ESL action QUERY
-
querySingle
int querySingle(java.lang.String msg, int timeout)Corresponds to ESL action QUERY SINGLE
-
querySingle
int querySingle(D2Process proc, java.lang.String msg, int timeout)
Corresponds to ESL action QUERY SINGLE
-
getPalRGB
int getPalRGB(int stranka, int riadok, int stlpec)Corresponds to ESL function %HI_GetPalRGB
-
getOwnerHBJ
int getOwnerHBJ()
Corresponds to ESL function %HI_GetOwnerHBJ
-
getOwnerHBJ
int getOwnerHBJ(boolean base)
Corresponds to ESL function %HI_GetOwnerHBJ
-
getOwnerInstance
int getOwnerInstance()
Corresponds to ESL function %HI_GetOwnerInstance
-
getOwnerInstance
int getOwnerInstance(boolean physical)
Corresponds to ESL function %HI_GetOwnerInstance
-
lockUpdate
void lockUpdate(boolean block)
Corresponds to ESL function %HI_LockUpdate Not supported in Thin client.
-
enablePicture
void enablePicture(boolean bEnable, boolean bWaitCursor)Corresponds to ESL function %HI_EnablePicture
-
enablePicture
void enablePicture(boolean bEnable)
Corresponds to ESL function %HI_EnablePicture
-
getHistoryTime
java.util.Date getHistoryTime()
Corresponds to ESL function %HI_GetHistoryTime
-
setHistoryTime
void setHistoryTime(java.util.Date time)
Corresponds to ESL function %HI_SetHistoryTime
-
historyStart
void historyStart(java.util.Date start, java.util.Date end)Corresponds to ESL function %HI_HistoryStart
-
historyEnd
void historyEnd()
Corresponds to ESL function %HI_HistoryEnd
-
openDynamicGraph
void openDynamicGraph(D2Base object, int row, int col, DynamicGraphType graphType)
Corresponds to ESL function %HI_OpenDynamGraph Not supported in Thin client.
-
picturePopUpMenuEnable
void picturePopUpMenuEnable(boolean bEnable)
Corresponds to ESL function %HI_PicturePopUpMenuEnable. Not supported in Thin client.
-
setDynamicGraphTemplate
void setDynamicGraphTemplate(SOGraph graph)
Corresponds to ESL function %HI_SetDynamGraph. Not supported in Thin client.
-
assignLocVarStatusText
void assignLocVarStatusText(D2Base object, SOStatusText stText)
Corresponds to ESL function %HI_SetLocVarStText. Not supported in Thin client.
-
setPictureScrollPos
void setPictureScrollPos(int x, int y)Corresponds to ESL function %HI_SetPictureScroll. Not supported in Thin client.
-
getPictureScrollX
int getPictureScrollX()
Corresponds to ESL function %HI_GetPictureScrollX. Not supported in Thin client.
-
getPictureScrollY
int getPictureScrollY()
Corresponds to ESL function %HI_GetPictureScrollY. Not supported in Thin client.
-
getPictureScrollMaxX
int getPictureScrollMaxX()
Corresponds to ESL function %HI_GetPictureScrollMaxX. Not supported in Thin client.
-
getPictureScrollMaxY
int getPictureScrollMaxY()
Corresponds to ESL function %HI_GetPictureScrollMaxY. Not supported in Thin client.
-
selectDirectoryDialog
java.lang.String selectDirectoryDialog(java.lang.String title, java.lang.String path)Corresponds to ESL function %HI_SelectDir. Not supported in Thin client.
-
setPictureHelp
void setPictureHelp(java.lang.String page)
Corresponds to ESL function %HI_SetPictureHelp. Not supported in Thin client.
-
showPictureHelp
void showPictureHelp(java.lang.String page)
Corresponds to ESL function %HI_ShowHelp. Not supported in Thin client.
-
captureToFile
void captureToFile(java.lang.String filename)
Corresponds to ESL function %HI_CaptureToFile. Not supported in Thin client.
-
copySysColorPage
void copySysColorPage(int fromIdx, int toIdx)Corresponds to ESL function %HI_CopySysColorPage. Not supported in Thin client.
-
enableHI
void enableHI(boolean bEnable)
Corresponds to ESL function %HI_EnableHI. Not supported in Thin client.
-
enableInOutVariables
void enableInOutVariables(boolean bEnable)
Corresponds to ESL function %HI_EnableInOutVariables.
-
fileDialog
java.lang.String fileDialog(boolean bOpen, java.lang.String title, java.lang.String path, java.lang.String filename, java.lang.String extension)Corresponds to ESL function %HI_FileDialog. Not supported in Thin client.
-
getCurrentLayer
int getCurrentLayer()
Corresponds to ESL function %HI_GetCurrLayer. Not supported in Thin client.
-
getZoomX
double getZoomX()
Corresponds to ESL function %HI_GetCurrZoomX. Not supported in Thin client.
-
getZoomY
double getZoomY()
Corresponds to ESL function %HI_GetCurrZoomY. Not supported in Thin client.
-
getHIWindowWidth
int getHIWindowWidth()
Corresponds to ESL function %HI_GetHiSizeX. Not supported in Thin client.
-
getHIWindowHeight
int getHIWindowHeight()
Corresponds to ESL function %HI_GetHiSizeY. Not supported in Thin client.
-
getScreenWidth
int getScreenWidth()
Corresponds to ESL function %HI_GetMonitorSizeX. Not supported in Thin client.
-
getScreenHeight
int getScreenHeight()
Corresponds to ESL function %HI_GetMonitorSizeY. Not supported in Thin client.
-
getPixelRGB
int getPixelRGB(int x, int y)Corresponds to ESL function %HI_GetPixelRGB. Not supported in Thin client.
-
setLayerParams
void setLayerParams(int from, int to)Corresponds to ESL function %HI_LayersParams. Not supported in Thin client.
-
setPictureMode
void setPictureMode(PictureMode mode)
Corresponds to ESL functions %HI_SetModeCtrl, %HI_SetModeMove and %HI_SetModeZoom.- Parameters:
mode- determines which function is called. Not supported in Thin client.
-
setZoom
void setZoom(double scale, int x, int y)Corresponds to ESL function %HI_SetZoom
-
zoomOut
void zoomOut()
Corresponds to ESL function %HI_ZoomOut
-
printWindow
void printWindow(boolean bPreview)
Corresponds to ESL function %HI_PrintWindow Not supported in Thin client.
-
printWindow
void printWindow()
Corresponds to ESL function %HI_PrintWindow Not supported in Thin client.
-
setScrollBarVisibleH
void setScrollBarVisibleH(ScrollBarVisibility sbvH)
Function sets picture horizontal scroll bar visibility in Thin client. Not supported in HI.
-
setScrollBarVisibleV
void setScrollBarVisibleV(ScrollBarVisibility sbvV)
Function sets picture vertical scroll bar visibility in Thin client. Not supported in HI.
-
addHistoryListener
void addHistoryListener(IHistoryListener listener)
-
showSystemMessage
void showSystemMessage(ErrorCode code, java.lang.String message)
Internal function. Do not use.
-
showProgressPanel
void showProgressPanel()
Show blur panel with wait cursor over application. All user actions are disabled. Not supported in HI.
-
hideProgressPanel
void hideProgressPanel()
Show blur panel with wait cursor over application. Has to be called for each showProgressPanel. Not supported in HI.
-
makeLocalURIWithFragment
java.lang.String makeLocalURIWithFragment(java.lang.String fragment)
Returns absolute local URI with fragment identifier.- Parameters:
fragment- to be inserted into the URI- Returns:
- URI with fragment identifier
-
getURIFragment
java.lang.String getURIFragment()
Returns fragment identifier from current URI.- Returns:
- fragment identifier
-
addWindowStateListener
void addWindowStateListener(IWindowStateListener listener)
Adds WindowState listener- Specified by:
addWindowStateListenerin interfaceIWindowStateSource
-
setDefaultButton
void setDefaultButton(GOButton btn)
Sets the default button
-
setEscapeButton
void setEscapeButton(GOButton btn)
Sets the escape button
-
getMetadata
java.lang.String[] getMetadata(MetadataItemGet[] params)
-
setMetadata
void setMetadata(MetadataItemSet[] params)
-
createCustomFile
java.io.OutputStream createCustomFile(java.lang.String path)
Create file for streaming.- Returns:
- stream to write custom data When stream is closed, download file dialog will be shown to user. Not implemented in HI.
-
createGO_HTMLiframe
GOHTMLiframe createGO_HTMLiframe(boolean visible, int x, int y, int dx, int dy, SOHTMLiframe obj)
-
addNavHistoryPopStateListener
void addNavHistoryPopStateListener(INavHistoryPopStateListener listener)
-
-