Form.js | |
Constants | |
i18n_form_button_commit_text | {String} Button text |
i18n_form_button_commit_tooltip | {String} Button tooltip |
i18n_form_button_cancel_text | {String} Button text |
i18n_form_button_cancel_tooltip | {String} Button tooltip |
Properties | |
DEFAULT_WINDOW_OFFSET | {Object} The default offset value in pixels of the window. |
DEFAULT_WINDOW_OPTIONS | {Object} The default options of the window to be opened |
DEFAULT_DEFAULTS | {String} Default default properties of the items of this FormPanel |
window | {Ext.Window} The window container created if if this.inwindow=true |
commiting | {Boolean} Used to validate commits made from this FormPanel. |
Functions | |
addOwner | Called right after this FeaturePanel has been added to an owner. |
getActiveOwner | Return the current activated owner (OpenLayers.Control). |
setSingleFeature | Set the singlefeature property. |
showFeaturePanel | Called by an owner. |
hideFeaturePanel | Called by an owner. |
parseFeatureAttributesToFormFields | Copy each feature attributes in this form if it has a corresponding form field. |
parseFormFieldsToFeatureAttributes | Copy each form field value to its corresponding feature attribute. |
parseFormFieldsToFeatureAttributes | Called when the user click this form “Commit” button. |
Called right after this FeaturePanel has been added to an owner.
addOwner: function( owner )
Return the current activated owner (OpenLayers.Control).
getActiveOwner: function()
Set the singlefeature property.
setSingleFeature: function( singlefeature )
Called by an owner.
showFeaturePanel: function( features )
Called by an owner.
hideFeaturePanel: function()
Copy each feature attributes in this form if it has a corresponding form field.
parseFeatureAttributesToFormFields: function( feature )
Copy each form field value to its corresponding feature attribute.
parseFormFieldsToFeatureAttributes: function( feature )