jwx!
v0.0.2


wx
Class App

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.App

public abstract class App
extends EvtHandler


Constructor Summary
App()
           
 
Method Summary
 void delete()
           
 java.lang.String getAppName()
           
 java.lang.String getVendorName()
           
 int onExit()
           
 boolean onInit()
          This must be provided by the application, and will usually create the application's main window, optionally calling wxApp::SetTopWindow.
 int run(java.lang.String[] args)
           
 boolean safeYield()
           
 boolean safeYield(Window win)
           
 boolean safeYield(Window win, boolean onlyIfNeeded)
           
 void setAppName(java.lang.String name)
           
 void setTopWindow(Window window)
           
 void setVendorName(java.lang.String name)
           
 void swigReleaseOwnership()
           
 void swigTakeOwnership()
           
 void wakeUpIdle()
           
 boolean yield()
           
 boolean yield(boolean onlyIfNeeded)
           
 
Methods inherited from class wx.EvtHandler
addPendingEvent, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getEvtHandlerEnabled, getNextHandler, getPreviousHandler, postEvent, processEvent, processPendingEvents, setEvtHandlerEnabled, setNextHandler, setPreviousHandler
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

App

public App()
Method Detail

delete

public void delete()
Overrides:
delete in class EvtHandler

swigReleaseOwnership

public void swigReleaseOwnership()
Overrides:
swigReleaseOwnership in class EvtHandler

swigTakeOwnership

public void swigTakeOwnership()
Overrides:
swigTakeOwnership in class EvtHandler

onInit

public boolean onInit()
This must be provided by the application, and will usually create the application's main window, optionally calling wxApp::SetTopWindow. You may use OnExit to clean up anything initialized here, provided that the function returns true.

Notice that if you want to to use the command line processing provided by wxWidgets you have to call the base class version in the derived class OnInit().

Returns:
Return true to continue processing, false to exit the application immediately.

onExit

public int onExit()

yield

public boolean yield(boolean onlyIfNeeded)

yield

public boolean yield()

getAppName

public java.lang.String getAppName()

setAppName

public void setAppName(java.lang.String name)

getVendorName

public java.lang.String getVendorName()

setVendorName

public void setVendorName(java.lang.String name)

setTopWindow

public void setTopWindow(Window window)

run

public int run(java.lang.String[] args)

wakeUpIdle

public void wakeUpIdle()

safeYield

public boolean safeYield(Window win,
                         boolean onlyIfNeeded)

safeYield

public boolean safeYield(Window win)

safeYield

public boolean safeYield()

jwx!
v0.0.2


© 2006 Amit G Mendapara.