es.prodevelop.gvsig.mobile.app
Class GvsigMobileApp

java.lang.Object
  extended byes.prodevelop.gvsig.mobile.app.GvsigMobileApp

public class GvsigMobileApp
extends java.lang.Object

This singleton-based class represents the application itself. Receives the app params from the Launcher and instantiates the main window.

Author:
jcarras
See Also:
Launcher

Field Summary
static java.io.File ISO_639_FILE
          List of locales
 
Method Summary
 void execute()
          This method starts the application.
static GvsigMobileApp getApp()
          Singleton access to unique instance
 int getHeight()
           
 java.util.HashMap getParams()
          Gets application params in a hashmap
 int getWidth()
           
 void setHeight(int height)
           
 void setParams(java.util.HashMap p)
          Sets application params in a hashmap
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISO_639_FILE

public static final java.io.File ISO_639_FILE
List of locales

Method Detail

getApp

public static GvsigMobileApp getApp()
Singleton access to unique instance

Returns:
the unique instance of this class

execute

public void execute()
This method starts the application. It's called by the Launcher


getParams

public java.util.HashMap getParams()
Gets application params in a hashmap

Returns:
application params in a hashmap

setParams

public void setParams(java.util.HashMap p)
Sets application params in a hashmap

Parameters:
p - the app params

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)