org.objectweb.telosys.uil.screenmap
Class ScreenDefRootDir

java.lang.Object
  extended byorg.objectweb.telosys.common.TelosysObject
      extended byorg.objectweb.telosys.uil.screenmap.ScreenDefRootDir

public class ScreenDefRootDir
extends TelosysObject

This class holds the "root directories" loaded from the "screens.xml" file
There are 2 instances of this class (one for "html", one for "xul" ) held by ScreenDefinitions


Constructor Summary
ScreenDefRootDir(java.lang.String sScreenType)
          Constructor
 
Method Summary
 java.lang.String getBodyPath(java.lang.String sFile)
          Returns the "full path" for the given "screen body"
 java.lang.String getBodyRootDir()
          Returns the "root directory" for a "screen body"
 java.lang.String getCssPath(java.lang.String sFile)
          Returns the "full path" for the given "CSS resource"
 java.lang.String getCssRootDir()
          Returns the "root directory" for a "CSS resource"
 java.lang.String getImagePath(java.lang.String sFile)
          Returns the "full path" for the given "image resource"
 java.lang.String getImagesRootDir()
          Returns the "root directory" for an "image resource"
 java.lang.String getPagePath(java.lang.String sFile)
          Returns the "full path" for the given "page resource"
 java.lang.String getPageRootDir()
          Returns the "root directory" for an "page resource"
 java.lang.String getScreenType()
          Returns the screen type for this root dir definition
 java.lang.String getScriptPath(java.lang.String sFile)
          Returns the "full path" for the given "script resource" ( javascript )
 java.lang.String getScriptRootDir()
          Returns the "root directory" for an "script resource" ( javascript )
 java.lang.String getTemplatePath(java.lang.String sFile)
          Returns the "full path" for the given "template resource"
 java.lang.String getTemplateRootDir()
          Returns the "root directory" for an "template resource"
 
Methods inherited from class org.objectweb.telosys.common.TelosysObject
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenDefRootDir

public ScreenDefRootDir(java.lang.String sScreenType)
Constructor

Since:
1.0.5
Method Detail

getScreenType

public java.lang.String getScreenType()
Returns the screen type for this root dir definition

Returns:
"html" or "xul"

getTemplateRootDir

public java.lang.String getTemplateRootDir()
Returns the "root directory" for an "template resource"

Returns:
e.g. "/screen/template"

getTemplatePath

public java.lang.String getTemplatePath(java.lang.String sFile)
Returns the "full path" for the given "template resource"

Parameters:
sFile -
Returns:

getBodyRootDir

public java.lang.String getBodyRootDir()
Returns the "root directory" for a "screen body"

Returns:
e.g. "/screen"

getBodyPath

public java.lang.String getBodyPath(java.lang.String sFile)
Returns the "full path" for the given "screen body"

Parameters:
sFile -
Returns:

getPageRootDir

public java.lang.String getPageRootDir()
Returns the "root directory" for an "page resource"

Returns:

getPagePath

public java.lang.String getPagePath(java.lang.String sFile)
Returns the "full path" for the given "page resource"

Parameters:
sFile -
Returns:

getCssRootDir

public java.lang.String getCssRootDir()
Returns the "root directory" for a "CSS resource"

Returns:

getCssPath

public java.lang.String getCssPath(java.lang.String sFile)
Returns the "full path" for the given "CSS resource"

Parameters:
sFile -
Returns:

getImagesRootDir

public java.lang.String getImagesRootDir()
Returns the "root directory" for an "image resource"

Returns:

getImagePath

public java.lang.String getImagePath(java.lang.String sFile)
Returns the "full path" for the given "image resource"

Parameters:
sFile -
Returns:

getScriptRootDir

public java.lang.String getScriptRootDir()
Returns the "root directory" for an "script resource" ( javascript )

Returns:

getScriptPath

public java.lang.String getScriptPath(java.lang.String sFile)
Returns the "full path" for the given "script resource" ( javascript )

Parameters:
sFile -
Returns: