info.magnolia.module.googlesitemap.app.field
Class GoogleSiteMapSelectFieldFactory

java.lang.Object
  extended by info.magnolia.ui.form.AbstractFormItem
      extended by info.magnolia.ui.form.field.factory.AbstractFieldFactory<D,Object>
          extended by info.magnolia.ui.form.field.factory.SelectFieldFactory<GoogleSiteMapSelectFieldFactoryDefinition>
              extended by info.magnolia.module.googlesitemap.app.field.GoogleSiteMapSelectFieldFactory
All Implemented Interfaces:
info.magnolia.ui.form.field.factory.FieldFactory, info.magnolia.ui.form.FormItem

public class GoogleSiteMapSelectFieldFactory
extends info.magnolia.ui.form.field.factory.SelectFieldFactory<GoogleSiteMapSelectFieldFactoryDefinition>

Specific implementation of SelectFieldFactory in order to set the default values coming from the GoogleSiteMapConfiguration.


Field Summary
 
Fields inherited from class info.magnolia.ui.form.field.factory.SelectFieldFactory
select
 
Fields inherited from class info.magnolia.ui.form.field.factory.AbstractFieldFactory
definition, field, item
 
Constructor Summary
GoogleSiteMapSelectFieldFactory(GoogleSiteMapSelectFieldFactoryDefinition definition, com.vaadin.data.Item relatedFieldItem, GoogleSiteMapConfiguration configuration)
           
 
Method Summary
protected  Object createDefaultValue(com.vaadin.data.Property<?> dataSource)
           
 
Methods inherited from class info.magnolia.ui.form.field.factory.SelectFieldFactory
createFieldComponent, createRemoteOptionFilterPredicate, createSelectionField, getDefinitionType, getIconResource, getRemoteOptionsName, getRemoteOptionsValue, getSelectFieldOptionDefinition, setPropertyDataSourceAndDefaultValue
 
Methods inherited from class info.magnolia.ui.form.field.factory.AbstractFieldFactory
createField, getDefaultFieldType, getFieldDefinition, getFieldType, getI18nBasename, getView, initializeConverter, initializeTransformer, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setPropertyDataSourceDefaultValue
 
Methods inherited from class info.magnolia.ui.form.AbstractFormItem
getMessage, getMessages, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.ui.form.FormItem
getMessages, getParent, setParent
 

Constructor Detail

GoogleSiteMapSelectFieldFactory

@Inject
public GoogleSiteMapSelectFieldFactory(GoogleSiteMapSelectFieldFactoryDefinition definition,
                                              com.vaadin.data.Item relatedFieldItem,
                                              GoogleSiteMapConfiguration configuration)
Method Detail

createDefaultValue

protected Object createDefaultValue(com.vaadin.data.Property<?> dataSource)
Overrides:
createDefaultValue in class info.magnolia.ui.form.field.factory.SelectFieldFactory<GoogleSiteMapSelectFieldFactoryDefinition>


Copyright © 2014 Magnolia International Ltd.. All rights reserved.