|
|||||||||
| 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 java.util.ArrayList<java.lang.Object> |
_compList
|
protected java.lang.String |
_id
|
protected java.util.ArrayList<Position> |
_positionList
|
protected java.lang.String |
_style
|
protected java.lang.String |
_styleClass
|
static java.lang.String |
TASK_DEFAULTLAYOUT
|
| Constructor Summary | |
|---|---|
DefaultLayout()
|
|
| Method Summary | |
|---|---|
void |
addComponent(java.lang.Object object)
Adds a component of a task with null position. |
void |
addComponent(java.lang.Object object,
Position position)
Adds a component of a task |
void |
addComponents(java.lang.Object[] object,
Position[] position)
Adds the components in arrays. |
org.w3c.dom.Element |
generateXML(java.lang.Object task)
TaskLayout.generateXML(java.lang.Object) |
java.lang.String |
getId()
Returns the Id defined by user |
java.lang.String |
getLayoutType()
Returns a layout type. |
java.lang.String |
getStyle()
Sets the style string |
java.lang.String |
getStyleClass()
returns the style class string |
protected void |
setComponentType(org.w3c.dom.Element element,
java.lang.Object comp)
Sets the component type. |
void |
setId(java.lang.String id)
Sets the id of the the layout |
protected void |
setLayoutComponents(org.w3c.dom.Document doc,
org.w3c.dom.Element root)
To be implemented by the subclass to set the attribtes of the component |
protected void |
setLayoutProperties(org.w3c.dom.Document doc,
org.w3c.dom.Element root)
To be implemented by the subclass |
void |
setStyle(java.lang.String style)
Sets the style string |
void |
setStyleClass(java.lang.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 java.lang.String TASK_DEFAULTLAYOUT
protected java.util.ArrayList<java.lang.Object> _compList
protected java.util.ArrayList<Position> _positionList
protected java.lang.String _style
protected java.lang.String _styleClass
protected java.lang.String _id
| Constructor Detail |
|---|
public DefaultLayout()
| Method Detail |
|---|
public java.lang.String getLayoutType()
getLayoutType in interface TaskLayout
public void addComponent(java.lang.Object object,
Position position)
object - - a FeatureDescriptor objectposition - - a Position object to define the object positionpublic void addComponent(java.lang.Object object)
addComponent(Object, Position)
object - - a FeatureDescriptor object.
public void addComponents(java.lang.Object[] object,
Position[] position)
public void setStyle(java.lang.String style)
public java.lang.String getStyle()
public void setStyleClass(java.lang.String styleClass)
public java.lang.String getStyleClass()
public void setId(java.lang.String id)
id - the id of the layoutpublic java.lang.String getId()
protected void setComponentType(org.w3c.dom.Element element,
java.lang.Object comp)
public org.w3c.dom.Element generateXML(java.lang.Object task)
TaskLayout.generateXML(java.lang.Object)
generateXML in interface TaskLayouttask - Object a task object
protected void setLayoutProperties(org.w3c.dom.Document doc,
org.w3c.dom.Element root)
protected void setLayoutComponents(org.w3c.dom.Document doc,
org.w3c.dom.Element root)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||