public interface CLDesktop
Modifier and Type | Method and Description |
---|---|
void |
addFrame(CLInternalFrame cli) |
void |
addToolbar(Instance menu) |
void |
addToolbar(javax.swing.JToolBar tb) |
void |
clearStatusMsg() |
void |
defaultCursor() |
java.lang.String |
exec(java.lang.String string,
java.lang.Object[] strings) |
SvcContext |
execSvc(SvcContext ctx) |
void |
exit() |
void |
exitFullScreen() |
void |
frontIfUp(int clid) |
CLBrowser |
getBrowser() |
java.lang.String |
getClientMode() |
ComponentMapper |
getComponentMapper() |
PackageConfiguration |
getConfig() |
Console |
getConsole() |
OMSEventListener |
getController()
Returns the UI central controller
|
Instance |
getEmployee() |
Instance |
getEmployeeGroup() |
CLInternalFrame |
getFrame(int frameId)
Returns a frame given its key.
|
java.util.Set<java.lang.Integer> |
getFrameKeySet()
Returns the set of keys for existing frames.
|
java.lang.String |
getLang() |
java.awt.Frame |
getMainFrame() |
int |
getMode() |
SecurityManager |
getSecMgr() |
Session |
getSession() |
javax.swing.JToolBar |
getToolbar(java.lang.String tbName) |
java.lang.String |
getUser() |
Instance |
getUserInstance() |
void |
goFullScreen(boolean enable) |
void |
notifyUser(java.lang.String mesg) |
void |
refresh() |
void |
refresh(int frameid,
int panelid) |
void |
refreshMenu(CLInternalFrame clInternalFrame) |
void |
removeAllToolbars() |
void |
removeFrame(CLInternalFrame cli) |
void |
removeToolbar(javax.swing.JToolBar tb) |
void |
reset() |
void |
restoreCursor() |
void |
saveConfig() |
void |
send(int type,
java.lang.String name,
java.lang.Object value)
Creates an OMSEvent using type, name & values and notifies
the central UI controller (OMSEventListener).
|
void |
send(int type,
java.lang.String name,
java.lang.Object[] value)
Creates an OMSEvent using type, name & values and notifies
the central UI controller (OMSEventListener).
|
void |
send(OMSAction action)
Sends the action received as arguments to
the central UI controller (OMSEventListener)
encapsulated in an OMSEvent.
|
void |
send(OMSEvent evt)
Sends the event received as arguments to
the central UI controller (OMSEventListener).
|
void |
sendAllFrames(OMSAction action) |
void |
sendAllFrames(OMSEvent evt) |
void |
sendAllFrames(java.lang.String action) |
void |
sendAllFrames(java.lang.String action,
java.lang.Object value) |
void |
sendAllFrames(java.lang.String action,
java.lang.Object[] value) |
void |
sendFrame(int frameKey,
int panelKey,
OMSAction action) |
void |
sendFrame(int frameKey,
int panelKey,
OMSEvent evt) |
void |
sendFrame(int frameKey,
int panelKey,
java.lang.String action) |
void |
sendFrame(int frameKey,
int panelKey,
java.lang.String action,
java.lang.Object value) |
void |
sendFrame(int frameKey,
int panelKey,
java.lang.String action,
java.lang.Object[] value) |
void |
setConsole(Console console) |
void |
setLang(java.lang.String lang) |
void |
setMode(int mode) |
void |
setModule(java.lang.String actionCommand) |
void |
setStatusMsg(java.lang.String mesg) |
void |
toggleFullScreen() |
void |
waitCursor() |
CLBrowser getBrowser()
void addFrame(CLInternalFrame cli)
void removeFrame(CLInternalFrame cli) throws GuiException
GuiException
CLInternalFrame getFrame(int frameId)
java.util.Set<java.lang.Integer> getFrameKeySet()
java.awt.Frame getMainFrame()
void send(int type, java.lang.String name, java.lang.Object[] value) throws java.lang.Exception
type
- name
- value
- java.lang.Exception
void send(int type, java.lang.String name, java.lang.Object value) throws java.lang.Exception
type
- of the eventname
- of the action of the eventvalue
- array of valuesjava.lang.Exception
void send(OMSEvent evt) throws java.lang.Exception
evt
- java.lang.Exception
void send(OMSAction action) throws java.lang.Exception
evt
- java.lang.Exception
OMSEventListener getController()
PackageConfiguration getConfig()
void setStatusMsg(java.lang.String mesg)
void clearStatusMsg()
void notifyUser(java.lang.String mesg)
java.lang.String getUser()
Instance getUserInstance()
int getMode()
void setMode(int mode)
java.lang.String getLang()
void setLang(java.lang.String lang)
Console getConsole()
void setConsole(Console console)
void frontIfUp(int clid)
void refresh() throws GuiException
GuiException
void refresh(int frameid, int panelid) throws GuiException
GuiException
void reset() throws GuiException
GuiException
void sendFrame(int frameKey, int panelKey, OMSEvent evt)
void sendFrame(int frameKey, int panelKey, OMSAction action)
void sendFrame(int frameKey, int panelKey, java.lang.String action)
void sendFrame(int frameKey, int panelKey, java.lang.String action, java.lang.Object value)
void sendFrame(int frameKey, int panelKey, java.lang.String action, java.lang.Object[] value)
void sendAllFrames(OMSEvent evt)
void sendAllFrames(OMSAction action)
void sendAllFrames(java.lang.String action)
void sendAllFrames(java.lang.String action, java.lang.Object value)
void sendAllFrames(java.lang.String action, java.lang.Object[] value)
java.lang.String getClientMode()
void setModule(java.lang.String actionCommand)
Instance getEmployee()
Instance getEmployeeGroup()
ComponentMapper getComponentMapper()
Session getSession()
SecurityManager getSecMgr()
void addToolbar(Instance menu)
void addToolbar(javax.swing.JToolBar tb)
javax.swing.JToolBar getToolbar(java.lang.String tbName)
void removeToolbar(javax.swing.JToolBar tb)
void removeAllToolbars()
void saveConfig() throws java.io.IOException
java.io.IOException
java.lang.String exec(java.lang.String string, java.lang.Object[] strings) throws java.lang.Exception
java.lang.Exception
SvcContext execSvc(SvcContext ctx) throws java.lang.Exception
java.lang.Exception
void goFullScreen(boolean enable)
void exitFullScreen()
void toggleFullScreen()
void exit()
void refreshMenu(CLInternalFrame clInternalFrame)
void waitCursor()
void defaultCursor()
void restoreCursor()