com.esri.adf.web.data.tasks
Class AbsoluteLayout

java.lang.Object
  extended bycom.esri.adf.web.data.tasks.DefaultLayout
      extended bycom.esri.adf.web.data.tasks.AbsoluteLayout
All Implemented Interfaces:
TaskLayout

public class AbsoluteLayout
extends DefaultLayout

Defines an absolute layout. It will position the components of a Task by using the absolute coordinates. The inner class AbsolutePosition is used to define the location of an component.


Field Summary
static java.lang.String TASK_ABSOLUTELAYOUT
           
 
Fields inherited from class com.esri.adf.web.data.tasks.DefaultLayout
_compList, _id, _positionList, _style, _styleClass, TASK_DEFAULTLAYOUT
 
Constructor Summary
AbsoluteLayout()
          Creates a new instance of AbsoluteLayout
 
Method Summary
 java.lang.String getLayoutType()
          returns the layout type.
protected  void setLayoutComponents(org.w3c.dom.Document doc, org.w3c.dom.Element taskLayoutNode)
          layout the components in a absolute manner
 
Methods inherited from class com.esri.adf.web.data.tasks.DefaultLayout
addComponent, addComponent, addComponents, generateXML, getId, getStyle, getStyleClass, setComponentType, setId, setLayoutProperties, setStyle, setStyleClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TASK_ABSOLUTELAYOUT

public static final java.lang.String TASK_ABSOLUTELAYOUT
See Also:
Constant Field Values
Constructor Detail

AbsoluteLayout

public AbsoluteLayout()
Creates a new instance of AbsoluteLayout

Method Detail

setLayoutComponents

protected void setLayoutComponents(org.w3c.dom.Document doc,
                                   org.w3c.dom.Element taskLayoutNode)
layout the components in a absolute manner

Overrides:
setLayoutComponents in class DefaultLayout
Parameters:
doc - a XML dcoument
taskLayoutNode - a XML element

getLayoutType

public java.lang.String getLayoutType()
returns the layout type. It will return the constant string "absoluteLayout"

Specified by:
getLayoutType in interface TaskLayout
Overrides:
getLayoutType in class DefaultLayout
Returns:
a constant String