public abstract class EventForm
extends com.vaadin.ui.Form
implements com.vaadin.ui.Button.ClickListener
com.vaadin.ui.AbstractField.FocusShortcut, com.vaadin.ui.AbstractField.ReadOnlyStatusChangeEvent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.data.Buffered.SourceException
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
com.vaadin.ui.Field.ValueChangeEvent
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
Modifier and Type | Field and Description |
---|---|
static String[] |
FORM_ITEMS
The Constant FORM_ITEMS.
|
Constructor and Description |
---|
EventForm()
Instantiates a new event form.
|
Modifier and Type | Method and Description |
---|---|
void |
buttonClick(com.vaadin.ui.Button.ClickEvent event) |
abstract void |
deleteEvent(Event event)
Delete event.
|
abstract void |
saveEvent(Event event)
Save event.
|
void |
setEventDataSource(Event event)
Sets the Event Data Source
|
void |
setReadOnly(boolean readOnly) |
addAction, addActionHandler, addField, addItemProperty, addValidator, attach, attachField, bindPropertyToField, changeVariables, commit, detach, detachField, 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, setReadThrough, setTabIndex, setValidationVisibleOnCommit, setVisibleItemProperties, setVisibleItemProperties, setWriteThrough, validate
addListener, addListener, addShortcutListener, constructField, fireReadOnlyStatusChange, fireValueChange, getActionManager, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, getValue, isInvalidCommitted, isReadOnly, isRequired, isValidationVisible, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeShortcutListener, removeValidator, setCurrentBufferedSourceException, setInvalidCommitted, setPropertyDataSource, setRequired, setRequiredError, setValidationVisible, setValue, setValue, shouldHideErrors, toString, valueChange
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isVisible, removeListener, removeStyleName, setIcon, setParent, setStyleName, setVisible
public static final String[] FORM_ITEMS
public void setEventDataSource(Event event)
event
- the OpenNMS eventpublic void setReadOnly(boolean readOnly)
setReadOnly
in interface com.vaadin.data.Property
setReadOnly
in interface com.vaadin.ui.Component
setReadOnly
in class com.vaadin.ui.Form
public void buttonClick(com.vaadin.ui.Button.ClickEvent event)
buttonClick
in interface com.vaadin.ui.Button.ClickListener
public abstract void saveEvent(Event event)
event
- the eventpublic abstract void deleteEvent(Event event)
event
- the eventCopyright © 2015. All Rights Reserved.