java.lang.Objectorg.objectweb.telosys.uil.TelosysUIL
Telosys User Interface Layer constants and static methods
Field Summary | |
static java.lang.String |
ACTION_NONE
|
static java.lang.String |
ACTION_OPEN
|
static java.lang.String |
ACTION_USE
|
static java.lang.String |
TELOSYS_CSS_FILE
|
Constructor Summary | |
TelosysUIL()
|
Method Summary | |
static java.lang.String |
getDefaultScreenContextAction()
Returns the default screen context action : "open", "use" or "none" ( never null ) |
static int |
getDefaultScreenId()
Returns the default screen id |
static java.lang.String |
getDefaultScreenType()
Returns the default screen type ( "html", "xul", ... ) |
static ScreenDefConfig |
getScreenDefConfig()
Returns the Screens Definitions Configuration ( the "config" part of the screens.xml file ) |
static ScreenDefinitions |
getScreenDefinitions()
Returns the screen definitions |
static java.lang.String |
getScreenMapServletPath()
Returns the "server side" screen map servlet path defined in the "config" tag of the screens XML file ( e.g. : "/screenmap" ) |
static java.lang.String |
getScreensConfigFileName()
Returns the file name (or resource name) of the screens XML file ( screens.xml ) |
static java.lang.String |
getTagsConfigFileName()
Returns the tags configuration file name |
static Translator |
getTranslator(javax.servlet.ServletContext servletContext,
java.lang.String sFile,
java.lang.String[] languages)
Uses the current TranslatorLoader to return the Translator associated with the given file and languages |
static ITranslatorLoader |
getTranslatorLoader()
Returns the translator loader to use |
static boolean |
init(javax.servlet.ServletContext servletContext)
UIL initialization |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TELOSYS_CSS_FILE
public static final java.lang.String ACTION_NONE
public static final java.lang.String ACTION_OPEN
public static final java.lang.String ACTION_USE
Constructor Detail |
public TelosysUIL()
Method Detail |
public static boolean init(javax.servlet.ServletContext servletContext)
servletContext
-
public static java.lang.String getScreensConfigFileName()
public static java.lang.String getTagsConfigFileName()
public static ScreenDefinitions getScreenDefinitions()
public static ITranslatorLoader getTranslatorLoader()
public static Translator getTranslator(javax.servlet.ServletContext servletContext, java.lang.String sFile, java.lang.String[] languages)
servletContext
- sFile
- languages
-
public static ScreenDefConfig getScreenDefConfig()
public static java.lang.String getDefaultScreenType()
public static java.lang.String getDefaultScreenContextAction()
public static int getDefaultScreenId()
public static java.lang.String getScreenMapServletPath()