com.hack23.cia.web.impl.ui.form.common
Class AbstractBaseEntityForm<FORM_OBJECT extends ModelObject>

Package class diagram package AbstractBaseEntityForm
java.lang.Object
  extended by com.vaadin.ui.AbstractComponent
      extended by com.vaadin.ui.AbstractField
          extended by com.vaadin.ui.Form
              extended by com.hack23.cia.web.impl.ui.form.common.AbstractBaseEntityForm<FORM_OBJECT>
Type Parameters:
FORM_OBJECT - the generic type
All Implemented Interfaces:
com.vaadin.data.Buffered, com.vaadin.data.BufferedValidatable, com.vaadin.data.Item, com.vaadin.data.Item.Editor, com.vaadin.data.Item.Viewer, com.vaadin.data.Property, com.vaadin.data.Property.Editor, com.vaadin.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.data.Property.ValueChangeListener, com.vaadin.data.Property.ValueChangeNotifier, com.vaadin.data.Property.Viewer, com.vaadin.data.Validatable, com.vaadin.event.Action.Container, com.vaadin.event.Action.Notifier, com.vaadin.event.Action.ShortcutNotifier, com.vaadin.event.MethodEventSource, com.vaadin.terminal.Paintable, com.vaadin.terminal.Sizeable, com.vaadin.terminal.VariableOwner, com.vaadin.ui.Component, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Field, Serializable, EventListener
Direct Known Subclasses:
AbstractUserForm, AgencyForm, AgentOperationForm, BallotForm, CommitteeForm, CommitteeReportForm, ElectionForm, LanguageContentForm, LanguageForm, ParliamentForm, ParliamentMemberForm, ParliamentYearForm, PoliticalPartyForm, PortalForm, VoteForm

public abstract class AbstractBaseEntityForm<FORM_OBJECT extends ModelObject>
extends com.vaadin.ui.Form

The Class AbstractBaseEntityForm.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractField
com.vaadin.ui.AbstractField.FocusShortcut, com.vaadin.ui.AbstractField.ReadOnlyStatusChangeEvent
 
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
 
Nested classes/interfaces inherited from interface com.vaadin.data.Buffered
com.vaadin.data.Buffered.SourceException
 
Nested classes/interfaces inherited from interface com.vaadin.data.Item
com.vaadin.data.Item.Editor, com.vaadin.data.Item.PropertySetChangeEvent, com.vaadin.data.Item.PropertySetChangeListener, com.vaadin.data.Item.PropertySetChangeNotifier, com.vaadin.data.Item.Viewer
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Field
com.vaadin.ui.Field.ValueChangeEvent
 
Nested classes/interfaces inherited from interface com.vaadin.data.Property
com.vaadin.data.Property.ConversionException, com.vaadin.data.Property.Editor, com.vaadin.data.Property.ReadOnlyException, com.vaadin.data.Property.ReadOnlyStatusChangeListener, com.vaadin.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.data.Property.ValueChangeListener, com.vaadin.data.Property.ValueChangeNotifier, com.vaadin.data.Property.Viewer
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
 
Field Summary
Modifier and Type Field and Description
 
Fields inherited from interface com.vaadin.terminal.Sizeable
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
Modifier Constructor and Description
protected AbstractBaseEntityForm(UserSessionDto userSessionDTO, FORM_OBJECT formObject, Object[] itemProperties)
          Instantiates a new abstract base entity form.
 
Method Summary
Modifier and Type Method and Description
protected abstract  void createActionBarButtons(com.vaadin.ui.HorizontalLayout actionBar, UserSessionDto userSessionDTO, FORM_OBJECT formObject)
          Creates the action bar buttons.
protected  com.vaadin.ui.HorizontalLayout getActionBar()
          Gets the action bar.
 
Methods inherited from class com.vaadin.ui.Form
addAction, addActionHandler, addField, addItemProperty, addValidator, attach, attachField, changeVariables, commit, detach, discard, focus, getErrorMessage, getField, getFieldFactory, getFooter, getFormFieldFactory, getItemDataSource, getItemProperty, getItemPropertyIds, getLayout, getOwnActionManager, getType, getVisibleItemProperties, isEmpty, isInvalidAllowed, isModified, isReadThrough, isValid, isValidationVisibleOnCommit, isWriteThrough, paintContent, removeAction, removeActionHandler, removeAllActionHandlers, removeAllProperties, removeItemProperty, replaceWithSelect, setEnabled, setFieldFactory, setFooter, setFormDataSource, setFormFieldFactory, setImmediate, setInternalValue, setInvalidAllowed, setItemDataSource, setItemDataSource, setLayout, setReadOnly, setReadThrough, setTabIndex, setValidationVisibleOnCommit, setVisibleItemProperties, setVisibleItemProperties, setWriteThrough, validate
 
Methods inherited from class com.vaadin.ui.AbstractField
addListener, addListener, addShortcutListener, constructField, fireReadOnlyStatusChange, fireValueChange, getActionManager, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, getValue, isInvalidCommitted, isReadOnly, isRequired, isValidationVisible, removeListener, removeListener, removeShortcutListener, removeValidator, setCurrentBufferedSourceException, setInvalidCommitted, setPropertyDataSource, setRequired, setRequiredError, setValidationVisible, setValue, setValue, toString, valueChange
 
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getHeight, getHeightUnits, getIcon, getLocale, getParent, getStyle, getStyleName, getTag, getWidth, getWidthUnits, getWindow, handleError, isEnabled, isImmediate, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeight, setHeightUnits, setIcon, setLocale, setParent, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidth, setWidthUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.vaadin.data.Validatable
getValidators, removeValidator
 
Methods inherited from interface com.vaadin.ui.Field
getDescription, setCaption, setDescription
 
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isVisible, removeListener, removeStyleName, setIcon, setParent, setStyleName, setVisible
 
Methods inherited from interface com.vaadin.terminal.Paintable
addListener, getDebugId, paint, removeListener, requestRepaint, requestRepaintRequests, setDebugId
 
Methods inherited from interface com.vaadin.terminal.VariableOwner
isImmediate
 
Methods inherited from interface com.vaadin.terminal.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidth, setWidthUnits
 

Constructor Detail

AbstractBaseEntityForm

protected AbstractBaseEntityForm(UserSessionDto userSessionDTO,
                                 FORM_OBJECT formObject,
                                 Object[] itemProperties)
Instantiates a new abstract base entity form.

Parameters:
userSessionDTO - the user session dto
formObject - the form object
itemProperties - the item properties
Method Detail

createActionBarButtons

protected abstract void createActionBarButtons(com.vaadin.ui.HorizontalLayout actionBar,
                                               UserSessionDto userSessionDTO,
                                               FORM_OBJECT formObject)
Creates the action bar buttons.

Parameters:
actionBar - the action bar
userSessionDTO - the user session dto
formObject - the form object

getActionBar

protected final com.vaadin.ui.HorizontalLayout getActionBar()
Gets the action bar.

Returns:
the action bar


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.