Java Doc for IUnApplication.java in  » J2EE » WiSerFramework » de » ug2t » unifiedGui » interfaces » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » WiSerFramework » de.ug2t.unifiedGui.interfaces 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.ug2t.unifiedGui.interfaces.IUnApplication

All known Subclasses:   de.ug2t.channel.ho.client.swing.HoSwingApplicationShadow,  de.ug2t.channel.markup.generic.MuGenericApplication,  de.ug2t.channel.ho.server.generic.HoSrvGenericApplication,
IUnApplication
public interface IUnApplication extends IUnContainer,IUnPanel(Code)

author:
   Dirk
author:
   date: 24.11.2003 project: WiSer-Framework
author:
  


author:
   IUnApplication is the common interface to application-objects for all
author:
   supported channels. The current release supports Java Swing and MARKUP based
author:
   Applications and corresponding clients
author:
  



Field Summary
final public static  StringAPPL_ACTIVATED
    
final public static  StringAPPL_CLOSED
    
final public static  StringAPPL_CLOSING
    
final public static  StringAPPL_DEACTIVATED
    
final public static  StringAPPL_DEICONIFIED
    
final public static  StringAPPL_ICONIFIED
    
final public static  StringAPPL_MOVED
    
final public static  StringAPPL_OPENED
    
final public static  StringAPPL_RESIZED
    
final public static  StringAPPL_RESUME
    
final public static  StringAPPL_TYPE_HTML
    
final public static  StringAPPL_TYPE_SWING
    
final public static  StringMY_APPL
    
final public static  StringMY_APPL_TYPE
    
final public static  StringMY_CLIENT_TYPE
    
final public static  StringMY_LANGUAGE
    
final public static  StringMY_LANGUAGE_CODE
    
final public static  StringMY_META_KEY
    


Method Summary
public  KeTreeElementpcmf_addListener(String xPage, String xPath, IUnGuiEventListener xListener)
    
public  KeTreeElementpcmf_addListener(String xPath, IUnGuiEventListener xListener)
    
public  voidpcmf_addMappingListener(IUnMappingEventListener xListen)
    

Adds a mapping listener to the application.

public  IUnPagepcmf_addPage(String xName, IUnPage xPage)
    

Adds a page to the application.

public  voidpcmf_beginSessionTR()
    
public  voidpcmf_clearSubmitValues()
    
public  voidpcmf_close()
    
public  voidpcmf_commitSessionTR()
    
public  PcProcesspcmf_detachService()
    

Removes the service from the application without killing it.

public  voidpcmf_disableLazyWidgets()
    
public  Objectpcmf_execView()
    

renders the current page

the channel specific render-information.

public  UnComponentpcmf_getActive()
    
public  intpcmf_getApplType()
    
public  booleanpcmf_getClientPoll()
    
public  UnComponentFactorypcmf_getComponentFactory()
    
public  HashMappcmf_getContext()
    

Gets the application-context, which means that all objects which are associated to the application are collected within an instance of a HashMap.

map with all associated objects.

public  Stringpcmf_getCurrentTemplateKitName()
    
public  Stringpcmf_getExternalCss()
    
public  booleanpcmf_getGenerateReshapeEvents()
    
public  Stringpcmf_getHostName()
    
public  IUnMenupcmf_getMainMenu()
    
public  intpcmf_getPort()
    
public  Stringpcmf_getProtocol()
    
public  Stringpcmf_getRole()
    
public  Stringpcmf_getRootUrl()
    
public  PcProcesspcmf_getService()
    
public  IHoSessionpcmf_getSession()
    
public  WfStatepcmf_getState()
    

Sets the state of the workflow-statemachine.

public  UnComponentpcmf_getUnComponent()
    
public  Stringpcmf_getUser()
    
public  booleanpcmf_isCssSupported()
    
public  booleanpcmf_isEventBubbling()
    

Do events bubble up the component tree (default true).

public  booleanpcmf_isMDI()
    

Is the application-instance-client in mdi-mode or not.

public  Objectpcmf_persist()
    
public  voidpcmf_playback()
    
public  voidpcmf_playback(String xSession)
    
public  voidpcmf_prePersit()
    
public  voidpcmf_record(boolean xRecord)
    
public  voidpcmf_refreshSession()
    
public  voidpcmf_removeMappingListener(IUnMappingEventListener xListen)
    

Removes a mapping listener from the application.

public  voidpcmf_resumed()
    
public  voidpcmf_rollbackSessionTR()
    
public  UnComponentpcmf_setActive(String xName)
    

Sets the specified page active.

public  voidpcmf_setApplWinSize(int xWi, int xHi)
    
public  voidpcmf_setComponentFactory(UnComponentFactory xFact)
    

Sets the gui-object-factory which is associated to this application-instance.

public  voidpcmf_setEventBubbling(boolean xBubble)
    

Sets whether events bubble up the component tree or not.

public  voidpcmf_setExternalCss(String xCss)
    
public  voidpcmf_setGenerateReshapeEvents(boolean xReshapes)
    

If a dialog is used within a mdi environment it may be reshaped.

public  voidpcmf_setHostName(String xHost)
    

Sets the host/domain name of an application.

public  voidpcmf_setHttpPort(int xPort)
    

Sets the communication port of the application.

public  voidpcmf_setIcon(String xName)
    

Sets the icon which is displayed in the clients main-window.

public  voidpcmf_setInPlayBack(boolean xIn)
    
public  voidpcmf_setInitFct(IKeExecutable xInit)
    
public  voidpcmf_setMainMenu(IUnMenu xMainMenu)
    
public  voidpcmf_setProtocol(String xProto)
    
public  voidpcmf_setResumeHandler(IKeExecutable xResHdl)
    
public  Stringpcmf_setRole(String xRole)
    
public  voidpcmf_setRootUrl(String xUrl)
    

Sets the URL of the application.

public  voidpcmf_setService(IKeExecutable xServiceFct, int xPollService, int xRefresh)
    

Sets a background processing function to the application.

public  voidpcmf_setServiceProcess(PcProcess xServiceProc, int xRefresh)
    

Sets a background processing process (see process documentation for more information) to the application.

public  voidpcmf_setState(WfState xState)
    

Sets the statemachine which rules the workflow of the application.

public  Stringpcmf_setUser(String xUser)
    

Sets the current user-name.

public  voidpcmf_show()
    
public  voidpcmf_startClientPoll(int xPollTime)
    
public  voidpcmf_stopClientPoll()
    
public  voidpcmf_toLastCheckPoint()
    

Every time the persist method is called a checkpoint is set in the HO session recording.

public  voidpcmf_work(Object xReq, Object xResp, boolean xRobust)
    

Executes a client-request


Parameters:
  xReq - channel specific request-object
Parameters:
  xResp - channel specific response-object
Parameters:
  xRobust - true indicates the all exceptions will be catched within thefunction.


Field Detail
APPL_ACTIVATED
final public static String APPL_ACTIVATED(Code)



APPL_CLOSED
final public static String APPL_CLOSED(Code)



APPL_CLOSING
final public static String APPL_CLOSING(Code)



APPL_DEACTIVATED
final public static String APPL_DEACTIVATED(Code)



APPL_DEICONIFIED
final public static String APPL_DEICONIFIED(Code)



APPL_ICONIFIED
final public static String APPL_ICONIFIED(Code)



APPL_MOVED
final public static String APPL_MOVED(Code)



APPL_OPENED
final public static String APPL_OPENED(Code)



APPL_RESIZED
final public static String APPL_RESIZED(Code)



APPL_RESUME
final public static String APPL_RESUME(Code)



APPL_TYPE_HTML
final public static String APPL_TYPE_HTML(Code)



APPL_TYPE_SWING
final public static String APPL_TYPE_SWING(Code)



MY_APPL
final public static String MY_APPL(Code)



MY_APPL_TYPE
final public static String MY_APPL_TYPE(Code)



MY_CLIENT_TYPE
final public static String MY_CLIENT_TYPE(Code)



MY_LANGUAGE
final public static String MY_LANGUAGE(Code)



MY_LANGUAGE_CODE
final public static String MY_LANGUAGE_CODE(Code)



MY_META_KEY
final public static String MY_META_KEY(Code)





Method Detail
pcmf_addListener
public KeTreeElement pcmf_addListener(String xPage, String xPath, IUnGuiEventListener xListener)(Code)

Adds a listener to a widget placed at the specified path on the specified page

the widget which to which the listener was added


Parameters:
  xPage - page where the widget is placed
Parameters:
  xPath - path of the widget within the page
Parameters:
  xListener - listener-object to add




pcmf_addListener
public KeTreeElement pcmf_addListener(String xPath, IUnGuiEventListener xListener)(Code)

Adds a listener to a widget placed at the specified path in the application

the widget which to which the listener was added


Parameters:
  xPath - path of the widget within the page
Parameters:
  xListener - listener-object to add




pcmf_addMappingListener
public void pcmf_addMappingListener(IUnMappingEventListener xListen)(Code)

Adds a mapping listener to the application. The listener is called whenever a value of a component is mapped to it's peer.


Parameters:
  xListen - listener to add




pcmf_addPage
public IUnPage pcmf_addPage(String xName, IUnPage xPage)(Code)

Adds a page to the application. After that the page can be set as the active-one by the given name. If there is already a page of this name it is removed

null if there was no page of this name available in the applicationbefore the page which had this name before


Parameters:
  xName - name of the page
Parameters:
  xPage - page-object to insert




pcmf_beginSessionTR
public void pcmf_beginSessionTR()(Code)

Start a session transaction, for example to do several changes of remote widgets




pcmf_clearSubmitValues
public void pcmf_clearSubmitValues()(Code)

For internal use only




pcmf_close
public void pcmf_close()(Code)

Closes the application on client- and server-side before the system-cleanup is performed

a Type with




pcmf_commitSessionTR
public void pcmf_commitSessionTR()(Code)

Commit a session transaction




pcmf_detachService
public PcProcess pcmf_detachService()(Code)

Removes the service from the application without killing it. For Swing applications this has no effect until stopping the process.

process object for background processing




pcmf_disableLazyWidgets
public void pcmf_disableLazyWidgets()(Code)

Disables the lazy widget feature




pcmf_execView
public Object pcmf_execView()(Code)

renders the current page

the channel specific render-information. In case of MARKUP thecorresponding String is returned




pcmf_getActive
public UnComponent pcmf_getActive()(Code)

gets the current active page-object

active page-object




pcmf_getApplType
public int pcmf_getApplType()(Code)

Returns the type of the application

application type




pcmf_getClientPoll
public boolean pcmf_getClientPoll()(Code)

Returns whether the client poll the server or not

true indicates poll, false no poll




pcmf_getComponentFactory
public UnComponentFactory pcmf_getComponentFactory()(Code)

Gets the gui-object-factory which is associated to this application-instance

factory-object




pcmf_getContext
public HashMap pcmf_getContext()(Code)

Gets the application-context, which means that all objects which are associated to the application are collected within an instance of a HashMap.

map with all associated objects. New objects may be inserted here




pcmf_getCurrentTemplateKitName
public String pcmf_getCurrentTemplateKitName()(Code)

Returns the name of the current template kit or null if no kit is available

templatekit name




pcmf_getExternalCss
public String pcmf_getExternalCss()(Code)

Gets the external CSS stylesheet reference




pcmf_getGenerateReshapeEvents
public boolean pcmf_getGenerateReshapeEvents()(Code)

Returns whether reshape events are generated or not

the genReshapeEvent property




pcmf_getHostName
public String pcmf_getHostName()(Code)

Gets the hostname of the server which hosts the application in its String-representatation

current hostname




pcmf_getMainMenu
public IUnMenu pcmf_getMainMenu()(Code)

Gets the current main-menu of the application

interface to the current menu-object




pcmf_getPort
public int pcmf_getPort()(Code)

Gets the communication-port of the application

tcp/ip - port




pcmf_getProtocol
public String pcmf_getProtocol()(Code)

Gets the protocol for http bases communication




pcmf_getRole
public String pcmf_getRole()(Code)

Gets the role of the current user

role-name




pcmf_getRootUrl
public String pcmf_getRootUrl()(Code)

Gets the URL of the application

URL




pcmf_getService
public PcProcess pcmf_getService()(Code)

Gets the background processing service from the application

process object for background processing




pcmf_getSession
public IHoSession pcmf_getSession()(Code)

Gets the communication-session which handles all client-server communication for this application instance

session-object




pcmf_getState
public WfState pcmf_getState()(Code)

Sets the state of the workflow-statemachine. This feature is currently not completely supported!

the previous state of the statemachine




pcmf_getUnComponent
public UnComponent pcmf_getUnComponent()(Code)

Gets the associated gui-object which implements all common methods

gui-object




pcmf_getUser
public String pcmf_getUser()(Code)

Gets the current user-name, which is signed on

user-name




pcmf_isCssSupported
public boolean pcmf_isCssSupported()(Code)

Return whether css is supported or not

css supported




pcmf_isEventBubbling
public boolean pcmf_isEventBubbling()(Code)

Do events bubble up the component tree (default true). If false, indirect events will not work! If bubbling is disabled the order of the events is random!

true indicate event bubbling




pcmf_isMDI
public boolean pcmf_isMDI()(Code)

Is the application-instance-client in mdi-mode or not.

true indicate mdi-mode false indicates sdi-mode




pcmf_persist
public Object pcmf_persist() throws Throwable(Code)

Persits the current application

reactivation object (usually a string with a link)




pcmf_playback
public void pcmf_playback()(Code)

Playback a recorded Session




pcmf_playback
public void pcmf_playback(String xSession)(Code)

Playback a recorded Session




pcmf_prePersit
public void pcmf_prePersit()(Code)

For internal use only




pcmf_record
public void pcmf_record(boolean xRecord)(Code)

Start Session recording


Parameters:
  xRecord - true starts recording, false stops recording



pcmf_refreshSession
public void pcmf_refreshSession()(Code)

To inform a clustered container that session values changed




pcmf_removeMappingListener
public void pcmf_removeMappingListener(IUnMappingEventListener xListen)(Code)

Removes a mapping listener from the application.


Parameters:
  xListen - listener to remove




pcmf_resumed
public void pcmf_resumed()(Code)

For internal use only




pcmf_rollbackSessionTR
public void pcmf_rollbackSessionTR()(Code)

Rollback a session transaction




pcmf_setActive
public UnComponent pcmf_setActive(String xName)(Code)

Sets the specified page active. That means that this page will be rendered when the next GUI-refresh appears

null if the requested page-object was not found the active page-object


Parameters:
  xName - requested page-object




pcmf_setApplWinSize
public void pcmf_setApplWinSize(int xWi, int xHi)(Code)

Sets the size of the main application-window


Parameters:
  xWi - width
Parameters:
  xHi - height




pcmf_setComponentFactory
public void pcmf_setComponentFactory(UnComponentFactory xFact)(Code)

Sets the gui-object-factory which is associated to this application-instance. There is no need to use this function, the framework sets the correct value.


Parameters:
  xFact - factory-object




pcmf_setEventBubbling
public void pcmf_setEventBubbling(boolean xBubble)(Code)

Sets whether events bubble up the component tree or not. If bubbling is disabled the order of the events is random!


Parameters:
  xBubble - true or false




pcmf_setExternalCss
public void pcmf_setExternalCss(String xCss)(Code)

Sets an external CSS stylesheet reference




pcmf_setGenerateReshapeEvents
public void pcmf_setGenerateReshapeEvents(boolean xReshapes)(Code)

If a dialog is used within a mdi environment it may be reshaped. Because the corresponding events lead to massive network traffic, they can be enabled and disabled separately.


Parameters:
  xReshapes - true or false




pcmf_setHostName
public void pcmf_setHostName(String xHost)(Code)

Sets the host/domain name of an application.




pcmf_setHttpPort
public void pcmf_setHttpPort(int xPort)(Code)

Sets the communication port of the application.




pcmf_setIcon
public void pcmf_setIcon(String xName)(Code)

Sets the icon which is displayed in the clients main-window. The icon is specified by its registred name

a Type with


Parameters:
  xName - registred icon-object name




pcmf_setInPlayBack
public void pcmf_setInPlayBack(boolean xIn)(Code)

For internal use only




pcmf_setInitFct
public void pcmf_setInitFct(IKeExecutable xInit)(Code)

Set the Init-function of the application, this function is executed before any other operation of the application has been performed


Parameters:
  xInit - IScExecutable object




pcmf_setMainMenu
public void pcmf_setMainMenu(IUnMenu xMainMenu)(Code)

Sets the main-menu of the application


Parameters:
  xMainMenu - interface to a menu-object




pcmf_setProtocol
public void pcmf_setProtocol(String xProto)(Code)

Sets the protocol for http bases communication




pcmf_setResumeHandler
public void pcmf_setResumeHandler(IKeExecutable xResHdl)(Code)

Sets the handler wich is calld when the application has been resumed


Parameters:
  xResHdl - Handler, ccalled after resume service




pcmf_setRole
public String pcmf_setRole(String xRole)(Code)

Sets the role of the current user

previous role-name


Parameters:
  xRole - role-name




pcmf_setRootUrl
public void pcmf_setRootUrl(String xUrl)(Code)

Sets the URL of the application. Mainly for internal use!


Parameters:
  xUrl - URL




pcmf_setService
public void pcmf_setService(IKeExecutable xServiceFct, int xPollService, int xRefresh)(Code)

Sets a background processing function to the application. The function is called every xPollService milliseconds. The Client is refreshed every xRefresh milliseconds


Parameters:
  xServiceFct - background processing function, null stops and removes an existingservice
Parameters:
  xPollService - poll intervall in milliseconds
Parameters:
  xRefresh - client refresh intervall in millisrconds (>1000)




pcmf_setServiceProcess
public void pcmf_setServiceProcess(PcProcess xServiceProc, int xRefresh)(Code)

Sets a background processing process (see process documentation for more information) to the application. This is used for complex, event driven or maybe distributed background processing. The Client is refreshed every xRefresh milliseconds.


Parameters:
  xPollServiceProc - poll intervall in milliseconds
Parameters:
  xRefresh - client refresh intervall in millisrconds (>1000)




pcmf_setState
public void pcmf_setState(WfState xState)(Code)

Sets the statemachine which rules the workflow of the application. This feature is currently not completely supported!


Parameters:
  xState - workflow-statemachine




pcmf_setUser
public String pcmf_setUser(String xUser)(Code)

Sets the current user-name.

the previous user-name


Parameters:
  xUser - new user-name




pcmf_show
public void pcmf_show()(Code)

Shows the applications main frame




pcmf_startClientPoll
public void pcmf_startClientPoll(int xPollTime)(Code)

Starts the client polling the server every xPollTime millis


Parameters:
  xPollTime - poll invervall in milli seconds




pcmf_stopClientPoll
public void pcmf_stopClientPoll()(Code)

Stops the clinet polling th server




pcmf_toLastCheckPoint
public void pcmf_toLastCheckPoint()(Code)

Every time the persist method is called a checkpoint is set in the HO session recording. This function sets the recording back to the last checkpoint.




pcmf_work
public void pcmf_work(Object xReq, Object xResp, boolean xRobust) throws Exception(Code)

Executes a client-request


Parameters:
  xReq - channel specific request-object
Parameters:
  xResp - channel specific response-object
Parameters:
  xRobust - true indicates the all exceptions will be catched within thefunction. false indicates that all exceptions will be propagatedto the calling api-level




www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.