ccc.client.gwt.widgets
Class PageElement

java.lang.Object
  extended by ccc.client.gwt.widgets.PageElement

public class PageElement
extends java.lang.Object

Class for an element of the page.

Author:
Civic Computing Ltd.

Nested Class Summary
static class PageElement.FieldType
          Possible types of paragraph fields.
 
Constructor Summary
PageElement(java.lang.String id)
          Constructor.
 
Method Summary
 com.extjs.gxt.ui.client.widget.form.CheckBoxGroup checkBoxGroup()
          Accessor.
 void checkBoxGroup(com.extjs.gxt.ui.client.widget.form.CheckBoxGroup checkBoxGroup)
          Mutator.
 com.extjs.gxt.ui.client.widget.form.ComboBox<com.extjs.gxt.ui.client.data.BaseModelData> combobox()
          Accessor.
 void combobox(com.extjs.gxt.ui.client.widget.form.ComboBox<com.extjs.gxt.ui.client.data.BaseModelData> combobox)
          Mutator.
 com.extjs.gxt.ui.client.widget.form.DateField dateField()
          Accessor for the Date field.
 void dateField(com.extjs.gxt.ui.client.widget.form.DateField field)
          Mutator for the Date field.
 FCKEditor editor()
          Accessor for the FCKEditor field.
 void editor(FCKEditor editor)
          Mutator for the FCKEditor field.
 com.extjs.gxt.ui.client.widget.Text editorLabel()
          Accessor for the editorLabel.
 void editorLabel(com.extjs.gxt.ui.client.widget.Text editorLabel)
          Mutator for the editorLabel.
 com.extjs.gxt.ui.client.widget.form.Field<java.lang.String> field()
          Accessor for the String field.
 void field(com.extjs.gxt.ui.client.widget.form.Field<java.lang.String> field)
          Mutator for the String field.
 PageElement.FieldType fieldType()
          Accessor for the type of the page element.
 void fieldType(PageElement.FieldType fieldType)
          Mutator for the type of the page element.
 java.lang.String id()
          Accessor for the id of the page element.
 void id(java.lang.String id)
          Mutator for the id of the page element.
 ImageTriggerField image()
          Accessor.
 void image(ImageTriggerField image)
          Mutator.
 com.extjs.gxt.ui.client.widget.form.ListField<com.extjs.gxt.ui.client.data.BaseModelData> list()
          Accessor.
 void list(com.extjs.gxt.ui.client.widget.form.ListField<com.extjs.gxt.ui.client.data.BaseModelData> list)
          Mutator.
 com.extjs.gxt.ui.client.widget.form.NumberField number()
          Accessor.
 void number(com.extjs.gxt.ui.client.widget.form.NumberField number)
          Mutator.
 com.extjs.gxt.ui.client.widget.form.RadioGroup radioGroup()
          Accessor.
 void radioGroup(com.extjs.gxt.ui.client.widget.form.RadioGroup radioGroup)
          Mutator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageElement

public PageElement(java.lang.String id)
Constructor.

Parameters:
id - Id of the page element.
Method Detail

id

public java.lang.String id()
Accessor for the id of the page element.

Returns:
The id.

id

public void id(java.lang.String id)
Mutator for the id of the page element.

Parameters:
id - The id of the page element.

fieldType

public PageElement.FieldType fieldType()
Accessor for the type of the page element.

Returns:
The type.

fieldType

public void fieldType(PageElement.FieldType fieldType)
Mutator for the type of the page element.

Parameters:
fieldType - The type of the page element.

editor

public FCKEditor editor()
Accessor for the FCKEditor field.

Returns:
The field.

editor

public void editor(FCKEditor editor)
Mutator for the FCKEditor field.

Parameters:
editor - The value of the field.

dateField

public com.extjs.gxt.ui.client.widget.form.DateField dateField()
Accessor for the Date field.

Returns:
The field.

dateField

public void dateField(com.extjs.gxt.ui.client.widget.form.DateField field)
Mutator for the Date field.

Parameters:
field - The value of the field.

field

public com.extjs.gxt.ui.client.widget.form.Field<java.lang.String> field()
Accessor for the String field.

Returns:
The field.

field

public void field(com.extjs.gxt.ui.client.widget.form.Field<java.lang.String> field)
Mutator for the String field.

Parameters:
field - The value of the field.

editorLabel

public com.extjs.gxt.ui.client.widget.Text editorLabel()
Accessor for the editorLabel.

Returns:
The label.

editorLabel

public void editorLabel(com.extjs.gxt.ui.client.widget.Text editorLabel)
Mutator for the editorLabel.

Parameters:
editorLabel - The value of the field.

checkBoxGroup

public void checkBoxGroup(com.extjs.gxt.ui.client.widget.form.CheckBoxGroup checkBoxGroup)
Mutator.

Parameters:
checkBoxGroup - The checkBoxGroup to set.

checkBoxGroup

public com.extjs.gxt.ui.client.widget.form.CheckBoxGroup checkBoxGroup()
Accessor.

Returns:
Returns the checkBoxGroup.

radioGroup

public void radioGroup(com.extjs.gxt.ui.client.widget.form.RadioGroup radioGroup)
Mutator.

Parameters:
radioGroup - The radioGroup to set.

radioGroup

public com.extjs.gxt.ui.client.widget.form.RadioGroup radioGroup()
Accessor.

Returns:
Returns the radioGroup.

combobox

public void combobox(com.extjs.gxt.ui.client.widget.form.ComboBox<com.extjs.gxt.ui.client.data.BaseModelData> combobox)
Mutator.

Parameters:
combobox - The combobox to set.

combobox

public com.extjs.gxt.ui.client.widget.form.ComboBox<com.extjs.gxt.ui.client.data.BaseModelData> combobox()
Accessor.

Returns:
Returns the combobox.

list

public void list(com.extjs.gxt.ui.client.widget.form.ListField<com.extjs.gxt.ui.client.data.BaseModelData> list)
Mutator.

Parameters:
list - The list to set.

list

public com.extjs.gxt.ui.client.widget.form.ListField<com.extjs.gxt.ui.client.data.BaseModelData> list()
Accessor.

Returns:
Returns the list.

image

public void image(ImageTriggerField image)
Mutator.

Parameters:
image - The field for the image selector.

image

public ImageTriggerField image()
Accessor.

Returns:
The field of the image selector.

number

public final com.extjs.gxt.ui.client.widget.form.NumberField number()
Accessor.

Returns:
Returns the number.

number

public final void number(com.extjs.gxt.ui.client.widget.form.NumberField number)
Mutator.

Parameters:
number - The number to set.


Copyright © 2010. All Rights Reserved.