Child pages
  • ELEMENT_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Div
styledisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

Div
iddescription



HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
ACCORDIONPANEL
Constant representing a accordionpanel element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
BUTTON
Constant representing an element of the Button type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
CALENDAR
Constant representing an element of the Calendar type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
CHECK
Constant representing an element of the Check type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
COMBOBOX
Constant representing a combobox element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
FORM
Constant representing a form element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
GROUP
Constant representing a Group of elements.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
HTML_AREA
Constant representing a html area element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
IMAGE_MEDIA
Constant representing an element of the ImageMedia type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
LABEL
Constant representing an element of the Label type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
LISTBOX
Constant representing a listbox element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
MULTISELECT_LISTBOX
Constant representing a multi selection listbox element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
PASSWORD
Constant representing an element of the Password type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
PORTAL
Constant representing an element of the Portal type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
RADIOS
Constant representing an element of the Radios type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
RECTANGLE
Constant representing a rectangle element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
RTF_AREA
Constant representing a rtf area of element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
SPINNER
Constant representing a spinner element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
SPLITPANE
Constant representing a splitpane element.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TABPANEL
Constant representing an element of the Tabpanel type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TEXT_AREA
Constant representing an element of the TextArea type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TEXT_FIELD
Constant representing an element of the TextField type.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
TYPE_AHEAD
Constant representing a typeahead element.



HTML Table
idconstant
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Details
Table Body (tbody)
idACCORDIONPANEL
Table Row (tr)
idname
Table Cell (td)

ACCORDIONPANEL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a accordionpanel element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.ACCORDIONPANEL)
{
     // element is a accordion panel element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idBUTTON
Table Row (tr)
idname
Table Cell (td)

BUTTON

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Button type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Button type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.BUTTON)
{
     // element is a Button component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCALENDAR
Table Row (tr)
idname
Table Cell (td)

CALENDAR

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Calendar type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Calendar type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CALENDAR)
{
     // element is a Calendar field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCHECK
Table Row (tr)
idname
Table Cell (td)

CHECK

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Check type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Check type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CHECK)
{
     // element is a Check(box) field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCOMBOBOX
Table Row (tr)
idname
Table Cell (td)

COMBOBOX

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a combobox element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.COMBOBOX)
{
     // element is a COMBOBOX element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idFORM
Table Row (tr)
idname
Table Cell (td)

FORM

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a form element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Form type, as returned by the following code
var renderElementType = event.getRenderable().getElementType();
if (renderElementType == ELEMENT_TYPES.FORM)
{
     // element is a type form element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idGROUP
Table Row (tr)
idname
Table Cell (td)

GROUP

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a Group of elements.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.GROUP)
{
     // element is a group element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idHTML_AREA
Table Row (tr)
idname
Table Cell (td)

HTML_AREA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a html area element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.HTML_AREA)
{
     // element is a HTML textarea
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idIMAGE_MEDIA
Table Row (tr)
idname
Table Cell (td)

IMAGE_MEDIA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the ImageMedia type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the ImageMedia type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.IMAGE_MEDIA)
{
     // element is a Image Media field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idLABEL
Table Row (tr)
idname
Table Cell (td)

LABEL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Label type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Label type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.LABEL)
{
     // element is a Label component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idLISTBOX
Table Row (tr)
idname
Table Cell (td)

LISTBOX

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a listbox element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the ListBox type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.LISTBOX)
{
     // element is a LISTBOX element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idMULTISELECT_LISTBOX
Table Row (tr)
idname
Table Cell (td)

MULTISELECT_LISTBOX

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a multi selection listbox element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.MULTISELECT_LISTBOX)
{
     // element is a MULTISELECT_LISTBOX element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idPASSWORD
Table Row (tr)
idname
Table Cell (td)

PASSWORD

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Password type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Password type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PASSWORD)
{
     // element is a Password component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idPORTAL
Table Row (tr)
idname
Table Cell (td)

PORTAL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Portal type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Portal type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PORTAL)
{
     // element is a Portal component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRADIOS
Table Row (tr)
idname
Table Cell (td)

RADIOS

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Radios type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Radios type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RADIOS)
{
     // element is a Radios field.
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRECTANGLE
Table Row (tr)
idname
Table Cell (td)

RECTANGLE

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a rectangle element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RECTANGLE)
{
     // element is a rectangle element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idRTF_AREA
Table Row (tr)
idname
Table Cell (td)

RTF_AREA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a rtf area of element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RTF_AREA)
{
     // element is a RTF textarea.
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idSPINNER
Table Row (tr)
idname
Table Cell (td)

SPINNER

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a spinner element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Spinner type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.SPINNER)
{
     // element is a SPINNER element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idSPLITPANE
Table Row (tr)
idname
Table Cell (td)

SPLITPANE

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a splitpane element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.SPLITPANE)
{
     // element is a splitpane element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTABPANEL
Table Row (tr)
idname
Table Cell (td)

TABPANEL

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the Tabpanel type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the Tabpanel type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TABPANEL)
{
     // element is a Tabpanel component
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTEXT_AREA
Table Row (tr)
idname
Table Cell (td)

TEXT_AREA

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the TextArea type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextArea type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_AREA)
{
     // element is a TextArea field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTEXT_FIELD
Table Row (tr)
idname
Table Cell (td)

TEXT_FIELD

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing an element of the TextField type.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_FIELD)
{
     // element is a text field
}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idTYPE_AHEAD
Table Row (tr)
idname
Table Cell (td)

TYPE_AHEAD

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant representing a typeahead element.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TYPE_AHEAD)
{
     // element is a type ahead element
}
Table Row (tr)
classlastDetailRow
Table Cell (td)