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

java.lang.Object
  extended by com.esri.adf.web.data.tasks.DefaultLayout
      extended by com.esri.adf.web.data.tasks.AbsoluteLayout
All Implemented Interfaces:
TaskLayout, Serializable

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.

See Also:
Serialized Form

Field Summary
static 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
 String getLayoutType()
          returns the layout type.
protected  void setLayoutComponents(Document doc, 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 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(Document doc,
                                   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 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