|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.tasks.DefaultLayout
public class DefaultLayout
A default layout class for subclass
Field Summary | |
---|---|
protected ArrayList<Object> |
_compList
|
protected String |
_id
|
protected ArrayList<Position> |
_positionList
|
protected String |
_style
|
protected String |
_styleClass
|
static String |
TASK_DEFAULTLAYOUT
|
Constructor Summary | |
---|---|
DefaultLayout()
|
Method Summary | |
---|---|
void |
addComponent(Object object)
Adds a component of a task with null position. |
void |
addComponent(Object object,
Position position)
Adds a component of a task |
void |
addComponents(Object[] object,
Position[] position)
Adds the components in arrays. |
Element |
generateXML(Object task)
TaskLayout.generateXML(java.lang.Object) |
String |
getId()
Returns the Id defined by user |
String |
getLayoutType()
Returns a layout type. |
String |
getStyle()
Sets the style string |
String |
getStyleClass()
returns the style class string |
protected void |
setComponentType(Element element,
Object comp)
Sets the component type. |
void |
setId(String id)
Sets the id of the the layout |
protected void |
setLayoutComponents(Document doc,
Element root)
To be implemented by the subclass to set the attribtes of the component |
protected void |
setLayoutProperties(Document doc,
Element root)
To be implemented by the subclass |
void |
setStyle(String style)
Sets the style string |
void |
setStyleClass(String styleClass)
Sets the style class string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TASK_DEFAULTLAYOUT
protected ArrayList<Object> _compList
protected ArrayList<Position> _positionList
protected String _style
protected String _styleClass
protected String _id
Constructor Detail |
---|
public DefaultLayout()
Method Detail |
---|
public String getLayoutType()
getLayoutType
in interface TaskLayout
public void addComponent(Object object, Position position)
object
- - a FeatureDescriptor objectposition
- - a Position object to define the object positionpublic void addComponent(Object object)
addComponent(Object, Position)
object
- - a FeatureDescriptor object.public void addComponents(Object[] object, Position[] position)
public void setStyle(String style)
public String getStyle()
public void setStyleClass(String styleClass)
public String getStyleClass()
public void setId(String id)
id
- the id of the layoutpublic String getId()
protected void setComponentType(Element element, Object comp)
public Element generateXML(Object task)
TaskLayout.generateXML(java.lang.Object)
generateXML
in interface TaskLayout
task
- Object a task object
protected void setLayoutProperties(Document doc, Element root)
protected void setLayoutComponents(Document doc, Element root)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |