public abstract class SystemDefForm
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 |
---|
SystemDefForm(DataCollectionConfigDao dataCollectionConfigDao,
DatacollectionGroup source)
Instantiates a new system definition form.
|
Modifier and Type | Method and Description |
---|---|
void |
buttonClick(com.vaadin.ui.Button.ClickEvent event) |
abstract void |
deleteSystemDef(SystemDef group)
Delete system definition.
|
abstract void |
saveSystemDef(SystemDef group)
Save system definition.
|
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 SystemDefForm(DataCollectionConfigDao dataCollectionConfigDao, DatacollectionGroup source)
dataCollectionConfigDao
- the OpenNMS Data Collection Configuration DAOsource
- the OpenNMS Data Collection Group objectpublic 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 saveSystemDef(SystemDef group)
group
- the grouppublic abstract void deleteSystemDef(SystemDef group)
group
- the groupCopyright © 2015. All Rights Reserved.