inputEx-library

inputEx  0.7.1

inputEx-library > inputEx > inputEx.TypeField
Search:
 
Filters

Class inputEx.TypeField - extends inputEx.Field

TypeField is a field to create fields. The user can create any value he wants by switching fields.

Constructor

inputEx.TypeField ( options )
Parameters:
options <Object> Standard inputEx options definition

Properties inherited from inputEx.Field:

Methods

getValue

Object getValue ( )
Return the config for a entry in an Group
Returns: Object
Type object configuration

initEvents

void initEvents ( )
Adds 2 event listeners: - on the button to toggel the propertiesPanel

onChangeGroupOptions

void onChangeGroupOptions ( )
Update the fieldValue with the changed properties

onTogglePropertiesPanel

void onTogglePropertiesPanel ( )
Toggle the property panel

rebuildGroupOptions

void rebuildGroupOptions ( )
Regenerate the property form

renderComponent

void renderComponent ( )
Render the TypeField: create a button with a property panel that contains the field options

setValue

void setValue ( value , [sendUpdatedEvt] )
Set the value of the label, typeProperties and group
Parameters:
value <Object> Type object configuration
[sendUpdatedEvt] <boolean> (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

updateFieldValue

void updateFieldValue ( )
Update the fieldValue

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.