TaskBean API
0.5

glogic.jthin.app
Class JThinInstance

java.lang.Object
  extended byglogic.jthin.app.JThinInstance

public class JThinInstance
extends java.lang.Object

When user is authenticated this object is created to hold the application instance.

Author:
Sam Taha

Field Summary
protected  java.util.List _oApplicationViewList
           
protected  JThinFrame _oJThinFrame
           
 
Constructor Summary
JThinInstance(JThinContainer container)
           
 
Method Summary
 void addApplicationView(ApplicationView home)
           
 ApplicationView createNewApplicationView(int iWidth, int iHeight)
           
 void endSession(ApplicationView home)
          This is called when the JThinInstance is to be destroyed and control given back to the Container.
 int getApplicationViewCount()
           
static JThinInstance getInstance()
          Thread local that can be called from anywhere in the code to get a handle on the application.
 JThinContainer getJThinContainer()
           
 JThinFrame getJThinFrame()
           
 void removeApplicationView(ApplicationView homeView)
          Called by ApplicationView when user has closed the window but not formally signed off.
 void startSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_oJThinFrame

protected JThinFrame _oJThinFrame

_oApplicationViewList

protected java.util.List _oApplicationViewList
Constructor Detail

JThinInstance

public JThinInstance(JThinContainer container)
Method Detail

getInstance

public static JThinInstance getInstance()
Thread local that can be called from anywhere in the code to get a handle on the application.

Returns:
null if no JThinInstance running.

getJThinContainer

public JThinContainer getJThinContainer()

startSession

public void startSession()

getJThinFrame

public JThinFrame getJThinFrame()

addApplicationView

public void addApplicationView(ApplicationView home)

getApplicationViewCount

public int getApplicationViewCount()

endSession

public void endSession(ApplicationView home)
This is called when the JThinInstance is to be destroyed and control given back to the Container. Normally called by ApplicationView where a user has signed off from.


createNewApplicationView

public ApplicationView createNewApplicationView(int iWidth,
                                                int iHeight)

removeApplicationView

public void removeApplicationView(ApplicationView homeView)
Called by ApplicationView when user has closed the window but not formally signed off.


TaskBean API
0.5

Copyright © Grand Logic, Inc. All Rights Reserved.