|
|||||||||
| 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
com.esri.adf.web.data.tasks.TabularLayout
public class TabularLayout
Defines a tabular layout to lay out the components of a task in a tabular. The XML string generated by the class will be transformed by the layout XSL to a HTML table.
| Field Summary | |
|---|---|
protected java.lang.String |
_bgColor
|
protected int |
_border
|
protected int |
_cellPadding
|
protected int |
_cellSpacing
|
static java.lang.String |
TASK_TABULARLAYOUT
|
| Fields inherited from class com.esri.adf.web.data.tasks.DefaultLayout |
|---|
_compList, _id, _positionList, _style, _styleClass, TASK_DEFAULTLAYOUT |
| Constructor Summary | |
|---|---|
TabularLayout()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBackgroundColor()
Returns the background color string |
int |
getBorder()
Returns the border width |
int |
getCellPadding()
Returns the cell padding space |
int |
getCellSpacing()
Returns the cell spaces |
java.lang.String |
getLayoutType()
TaskLayout.getLayoutType() |
void |
setBackgroundColor(java.lang.String bgColor)
Sets the background color (Color format string supported in the CSS style) |
void |
setBorder(int border)
Sets the border width |
void |
setCellPadding(int cellPadding)
Sets the cell padding space |
void |
setCellSpacing(int cellSpacing)
Sets the space between two cells |
protected void |
setLayoutComponents(org.w3c.dom.Document doc,
org.w3c.dom.Element taskLayoutNode)
Places the component in the desired cell |
protected void |
setLayoutProperties(org.w3c.dom.Document doc,
org.w3c.dom.Element taskLayoutNode)
The method is used to set the specific properties for the layout, and create a DOM tree to describe the layout |
| Methods inherited from class com.esri.adf.web.data.tasks.DefaultLayout |
|---|
addComponent, addComponent, addComponents, generateXML, getId, getStyle, getStyleClass, setComponentType, setId, setStyle, setStyleClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int _cellPadding
protected int _cellSpacing
protected java.lang.String _bgColor
protected int _border
public static final java.lang.String TASK_TABULARLAYOUT
| Constructor Detail |
|---|
public TabularLayout()
| Method Detail |
|---|
public java.lang.String getLayoutType()
TaskLayout.getLayoutType()
getLayoutType in interface TaskLayoutgetLayoutType in class DefaultLayoutpublic void setCellPadding(int cellPadding)
cellPadding - an integerpublic int getCellPadding()
public void setCellSpacing(int cellSpacing)
cellSpacing - an integerpublic int getCellSpacing()
public void setBackgroundColor(java.lang.String bgColor)
bgColor - a CSS color stringpublic java.lang.String getBackgroundColor()
public void setBorder(int border)
border - an integerpublic int getBorder()
protected void setLayoutProperties(org.w3c.dom.Document doc,
org.w3c.dom.Element taskLayoutNode)
setLayoutProperties in class DefaultLayoutdoc - a XML documenttaskLayoutNode - a XML element
protected void setLayoutComponents(org.w3c.dom.Document doc,
org.w3c.dom.Element taskLayoutNode)
setLayoutComponents in class DefaultLayoutdoc - a XML documenttaskLayoutNode - a XML element
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||