程序包 | 说明 |
---|---|
org.opencms.gwt.client.property | |
org.opencms.gwt.client.ui.input |
GWT input widget classes for form input widgets.
|
org.opencms.gwt.client.ui.input.form |
GWT input widget classes for forms.
|
org.opencms.gwt.client.validation |
This package contains interfaces and classes for form field validation.
|
限定符和类型 | 字段和说明 |
---|---|
protected I_CmsFormField |
A_CmsPropertyEditor.m_urlNameField
The URL name field.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
A_CmsPropertyEditor.setGhostValue(I_CmsFormField field,
java.lang.String value,
boolean ghostMode)
Sets the ghost value for a form field if its normal value is empty and the field's widget supports ghost values.
|
void |
CmsUrlNameValidator.validate(I_CmsFormField field,
I_CmsValidationController controller) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsPropertyPanel.renderExtendedTab(java.util.Collection<I_CmsFormField> fields,
com.google.gwt.user.client.ui.FlowPanel tab)
Renders a extended tab.
|
void |
CmsPropertyPanel.renderFields(java.util.Collection<I_CmsFormField> fields) |
void |
CmsPropertyPanel.rerenderFields(java.lang.String tab,
java.util.Collection<I_CmsFormField> fields) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsNonEmptyValidator.validate(I_CmsFormField field,
I_CmsValidationController controller) |
void |
CmsRegexValidator.validate(I_CmsFormField field,
I_CmsValidationController controller) |
限定符和类型 | 类和说明 |
---|---|
class |
CmsBasicFormField
Basic implementation of the I_CmsFormField class.
|
限定符和类型 | 字段和说明 |
---|---|
protected java.util.List<I_CmsFormField> |
CmsSimpleFormFieldPanel.m_fields
The list of form fields.
|
protected java.util.List<I_CmsFormField> |
CmsInfoBoxFormFieldPanel.m_fields
The list of form fields.
|
protected java.util.Map<java.lang.String,I_CmsFormField> |
CmsForm.m_fields
A map from field ids to the corresponding widgets.
|
protected java.util.List<I_CmsFormField> |
CmsFieldsetFormFieldPanel.m_fields
The list of form fields.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsFormField |
CmsForm.getField(java.lang.String id)
Returns the form field with a given id.
|
限定符和类型 | 方法和说明 |
---|---|
static java.util.Map<java.lang.String,I_CmsFormField> |
CmsBasicFormField.createFields(java.util.Collection<CmsXmlContentProperty> propertyConfigurations)
Creates a map of fields from a map of field configurations.
|
java.util.Map<java.lang.String,I_CmsFormField> |
CmsForm.getFields()
Returns a map of this form's field, indexed by their field name.
|
protected java.util.Collection<I_CmsFormField> |
CmsForm.getFieldsByModelId(java.lang.String modelId)
Gets the fields with a given model id.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsForm.addField(I_CmsFormField field,
java.lang.String initialValue)
Adds a form field.
|
void |
CmsForm.addField(java.lang.String fieldGroup,
I_CmsFormField formField)
Adds a form field to the form.
|
void |
CmsForm.addField(java.lang.String fieldGroup,
I_CmsFormField formField,
java.lang.String initialValue)
Adds a form field to the form and sets its initial value.
|
protected CmsFormRow |
A_CmsFormFieldPanel.createRow(I_CmsFormField field)
Helper method for creating a form row widget.
|
protected void |
CmsForm.defaultHandleKeyPress(I_CmsFormField field,
int keyCode)
The default keypress event handling function for form fields.
|
protected void |
CmsForm.defaultHandleValueChange(I_CmsFormField field,
java.lang.String newValue,
boolean inhibitValidation)
Default handler for value change events of form fields.
|
protected void |
CmsForm.updateFieldValidationStatus(I_CmsFormField field,
CmsValidationResult result)
Updates the field validation status.
|
void |
CmsForm.validateField(I_CmsFormField field)
Validates a single field.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
CmsForm.noFieldsInvalid(java.util.Collection<I_CmsFormField> fields)
Returns true if none of the fields in a collection are marked as invalid.
|
abstract void |
A_CmsFormFieldPanel.renderFields(java.util.Collection<I_CmsFormField> fields)
Renders a collection of fields.
|
void |
CmsSimpleFormFieldPanel.renderFields(java.util.Collection<I_CmsFormField> fields) |
void |
CmsInfoBoxFormFieldPanel.renderFields(java.util.Collection<I_CmsFormField> fields) |
void |
CmsFieldsetFormFieldPanel.renderFields(java.util.Collection<I_CmsFormField> fields) |
void |
A_CmsFormFieldPanel.rerenderFields(java.lang.String group,
java.util.Collection<I_CmsFormField> fieldsInGroup)
Re-renders the fields of a group.
|
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Collection<I_CmsFormField> |
CmsValidationController.m_fields
The list of form fields which should be validated.
|
限定符和类型 | 方法和说明 |
---|---|
void |
I_CmsValidator.validate(I_CmsFormField field,
I_CmsValidationController controller)
If this method is called, the object should either validate the form field and report the result to the
validation controller, or request asynchronous validation of the field from the validation controller.
|
构造器和说明 |
---|
CmsValidationController(I_CmsFormField field,
I_CmsValidationHandler handler)
Creates a new validation controller for a single form field.
|
构造器和说明 |
---|
CmsValidationController(java.util.Collection<I_CmsFormField> fields,
I_CmsValidationHandler handler)
Creates a new validation controller for a list of form fields.
|