telosys.objects
Class ScreenView

java.lang.Object
  extended bytelosys.objects.ScreenView

class ScreenView
extends java.lang.Object

Internal utility class ( reserved for internal use )


Constructor Summary
protected ScreenView(string containerId, object containerObject, string screenZone, string xmlTag, string renderer)
           
 
Method Summary
 void clear(string zone)
          Clear the content of the view container if the view belongs to the given ScreenZone.
 object getContainer()
          Returns the container
 string getContainerId()
          Returns the id of the container
 string getName()
          Returns the name of the XML tag
 string getRenderer()
          Returns the name of the renderer
 string getScreenZone()
          Returns the name of the screen zone
 void setContent(string content)
          Set the given content in the view container
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenView

protected ScreenView(string containerId,
                     object containerObject,
                     string screenZone,
                     string xmlTag,
                     string renderer)
Method Detail

getName

public string getName()
Returns the name of the XML tag

Returns:
the xml tag name

getRenderer

public string getRenderer()
Returns the name of the renderer

Returns:
the renderer name

getScreenZone

public string getScreenZone()
Returns the name of the screen zone

Returns:
the screen zone name

getContainerId

public string getContainerId()
Returns the id of the container

Returns:
the container id

getContainer

public object getContainer()
Returns the container

Returns:
the container object

setContent

public void setContent(string content)
Set the given content in the view container

Parameters:
content - the content to set in the innerHTML attribute of the container

clear

public void clear(string zone)
Clear the content of the view container if the view belongs to the given ScreenZone. If the ScreenZone is null, the view is cleared.

Parameters:
zone - : the screen zone (can be null)