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 void
addHistoryListener(IHistoryListener listener)
void
addNavHistoryPopStateListener(INavHistoryPopStateListener listener)
void
addWindowStateListener(IWindowStateListener listener)
Adds WindowState listenervoid
assignLocVarStatusText(D2Base object, SOStatusText stText)
Corresponds to ESL function %HI_SetLocVarStText.void
captureToFile(java.lang.String filename)
Corresponds to ESL function %HI_CaptureToFile.void
closePicture()
Deprecated.void
closePicture(D2Process proc, SOPicture pict, int instance)
Corresponds to ESL action CLOSEvoid
closePicture(SOPicture pict, int instance)
Corresponds to ESL action CLOSEvoid
closePictureDirect()
Corresponds to ESL action CLOSE DIRECTvoid
closePictureOnAll(SOPicture pict, int instance)
Corresponds to ESL action CLOSE ON ALLvoid
copySysColorPage(int fromIdx, int toIdx)
Corresponds to ESL function %HI_CopySysColorPage.java.io.OutputStream
createCustomFile(java.lang.String path)
Create file for streaming.GOHTMLiframe
createGO_HTMLiframe(boolean visible, int x, int y, int dx, int dy, SOHTMLiframe obj)
void
enableHI(boolean bEnable)
Corresponds to ESL function %HI_EnableHI.void
enableInOutVariables(boolean bEnable)
Corresponds to ESL function %HI_EnableInOutVariables.void
enablePicture(boolean bEnable)
Corresponds to ESL function %HI_EnablePicturevoid
enablePicture(boolean bEnable, boolean bWaitCursor)
Corresponds to ESL function %HI_EnablePicturejava.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.GOComponentBase
getComponentByRefVal(int iRefIdVal)
Returns graph.int
getCurrentLayer()
Corresponds to ESL function %HI_GetCurrLayer.java.util.Date
getHistoryTime()
Corresponds to ESL function %HI_GetHistoryTimeint
getHIWindowHeight()
Corresponds to ESL function %HI_GetHiSizeY.int
getHIWindowWidth()
Corresponds to ESL function %HI_GetHiSizeX.java.lang.String[]
getMetadata(MetadataItemGet[] params)
int
getOwnerHBJ()
Corresponds to ESL function %HI_GetOwnerHBJint
getOwnerHBJ(boolean base)
Corresponds to ESL function %HI_GetOwnerHBJint
getOwnerInstance()
Corresponds to ESL function %HI_GetOwnerInstanceint
getOwnerInstance(boolean physical)
Corresponds to ESL function %HI_GetOwnerInstanceint
getPalRGB(int stranka, int riadok, int stlpec)
Corresponds to ESL function %HI_GetPalRGBint
getPictureScrollMaxX()
Corresponds to ESL function %HI_GetPictureScrollMaxX.int
getPictureScrollMaxY()
Corresponds to ESL function %HI_GetPictureScrollMaxY.int
getPictureScrollX()
Corresponds to ESL function %HI_GetPictureScrollX.int
getPictureScrollY()
Corresponds to ESL function %HI_GetPictureScrollY.int
getPixelRGB(int x, int y)
Corresponds to ESL function %HI_GetPixelRGB.int
getScreenHeight()
Corresponds to ESL function %HI_GetMonitorSizeY.int
getScreenWidth()
Corresponds to ESL function %HI_GetMonitorSizeX.java.lang.String
getURIFragment()
Returns fragment identifier from current URI.double
getZoomX()
Corresponds to ESL function %HI_GetCurrZoomX.double
getZoomY()
Corresponds to ESL function %HI_GetCurrZoomY.void
hideProgressPanel()
Show blur panel with wait cursor over application.void
historyEnd()
Corresponds to ESL function %HI_HistoryEndvoid
historyStart(java.util.Date start, java.util.Date end)
Corresponds to ESL function %HI_HistoryStartvoid
lockUpdate(boolean block)
Corresponds to ESL function %HI_LockUpdate Not supported in Thin client.java.lang.String
makeLocalURIWithFragment(java.lang.String fragment)
Returns absolute local URI with fragment identifier.void
message(java.lang.String msg)
Corresponds to ESL action MESSAGEvoid
message(D2Process proc, java.lang.String msg)
Corresponds to ESL action MESSAGEvoid
messageOnAll(java.lang.String msg)
Corresponds to ESL action MESSAGEvoid
messageSingle(java.lang.String msg)
Corresponds to ESL action MESSAGE SINGLEvoid
messageSingle(D2Process proc, java.lang.String msg)
Corresponds to ESL action MESSAGE SINGLEvoid
openCompositionDirect(SOComposition comp)
Corresponds to ESL action OPEN DIRECTvoid
openDynamicGraph(D2Base object, int row, int col, DynamicGraphType graphType)
Corresponds to ESL function %HI_OpenDynamGraph Not supported in Thin client.void
openGraphDirect(SOGraph graph, int instance)
Corresponds to ESL action OPEN DIRECTvoid
openGraphDirect(SOGraph graph, int instance, int posType, int posAt)
Corresponds to ESL action OPEN DIRECTvoid
openPictureDirect(SOPicture pict, int instance)
Corresponds to ESL action OPEN DIRECTvoid
openPictureDirect(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)
Corresponds to ESL action OPEN DIRECTvoid
openPictureDirect(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)
Corresponds to ESL action OPEN DIRECTvoid
openPictureDirectSyncClose(SOPicture pict, int instance)
Corresponds to ESL action OPEN DIRECT SYNC ENDvoid
openPictureDirectSyncClose(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)
Corresponds to ESL action OPEN DIRECT SYNC ENDvoid
openPictureDirectSyncClose(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)
Corresponds to ESL action OPEN DIRECT SYNC ENDvoid
openPictureDirectSyncOpen(SOPicture pict, int instance)
Corresponds to ESL action OPEN DIRECT SYNCvoid
openPictureDirectSyncOpen(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt)
Corresponds to ESL action OPEN DIRECT SYNCvoid
openPictureDirectSyncOpen(SOPicture pict, int instance, sk.ipesoft.d2000.sysobj.BaseRunnable.OpenMode wt, int x, int y)
Corresponds to ESL action OPEN DIRECT SYNCvoid
picturePopUpMenuEnable(boolean bEnable)
Corresponds to ESL function %HI_PicturePopUpMenuEnable.void
printWindow()
Corresponds to ESL function %HI_PrintWindow Not supported in Thin client.void
printWindow(boolean bPreview)
Corresponds to ESL function %HI_PrintWindow Not supported in Thin client.int
query(java.lang.String msg, int timeout)
Corresponds to ESL action QUERYint
query(D2Process proc, java.lang.String msg, int timeout)
Corresponds to ESL action QUERYint
querySingle(java.lang.String msg, int timeout)
Corresponds to ESL action QUERY SINGLEint
querySingle(D2Process proc, java.lang.String msg, int timeout)
Corresponds to ESL action QUERY SINGLEjava.lang.String
selectDirectoryDialog(java.lang.String title, java.lang.String path)
Corresponds to ESL function %HI_SelectDir.void
setDefaultButton(GOButton btn)
Sets the default buttonvoid
setDynamicGraphTemplate(SOGraph graph)
Corresponds to ESL function %HI_SetDynamGraph.void
setEscapeButton(GOButton btn)
Sets the escape buttonvoid
setHistoryTime(java.util.Date time)
Corresponds to ESL function %HI_SetHistoryTimevoid
setLayerParams(int from, int to)
Corresponds to ESL function %HI_LayersParams.void
setLocVarStatusText(D2Base locVar, SOStatusText sttxt)
Corresponds to ESL function %HI_SetLocVarStTextvoid
setMetadata(MetadataItemSet[] params)
void
setPictureHelp(java.lang.String page)
Corresponds to ESL function %HI_SetPictureHelp.void
setPictureMode(PictureMode mode)
Corresponds to ESL functions %HI_SetModeCtrl, %HI_SetModeMove and %HI_SetModeZoom.void
setPictureScrollPos(int x, int y)
Corresponds to ESL function %HI_SetPictureScroll.void
setPictureTitle(java.lang.String newTitle)
Corresponds to ESL function %HI_SetPictureTitlevoid
setScrollBarVisibleH(ScrollBarVisibility sbvH)
Function sets picture horizontal scroll bar visibility in Thin client.void
setScrollBarVisibleV(ScrollBarVisibility sbvV)
Function sets picture vertical scroll bar visibility in Thin client.void
setZoom(double scale, int x, int y)
Corresponds to ESL function %HI_SetZoomvoid
showPictureHelp(java.lang.String page)
Corresponds to ESL function %HI_ShowHelp.void
showProgressPanel()
Show blur panel with wait cursor over application.void
showSystemMessage(ErrorCode code, java.lang.String message)
Internal function.void
zoomOut()
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:
addWindowStateListener
in 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)
-
-