public class SnmpCollectionForm
extends com.vaadin.ui.CustomComponent
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
SnmpCollectionForm(DataCollectionConfigDao dataCollectionConfigDao)
Instantiates a new SNMP collection form.
|
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commit.
|
SnmpCollection |
createBasicSnmpCollection()
Creates the basic SNMP collection.
|
void |
discard()
Discard.
|
Integer |
getRrdStep()
Gets the RRD step.
|
SnmpCollection |
getSnmpCollection()
Gets the SNMP Collection.
|
String |
getSnmpCollectionName()
Gets the SNMP collection name.
|
boolean |
isReadOnly() |
void |
setReadOnly(boolean readOnly) |
void |
setSnmpCollection(SnmpCollection snmpCollection)
Sets the SNMP Collection.
|
getComponentCount, getCompositionRoot, getState, getState, iterator, setCompositionRoot
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
forEach, spliterator
public SnmpCollectionForm(DataCollectionConfigDao dataCollectionConfigDao)
dataCollectionConfigDao
- the data collection configuration DAOpublic SnmpCollection getSnmpCollection()
public void setSnmpCollection(SnmpCollection snmpCollection)
snmpCollection
- the new SNMP collectionpublic SnmpCollection createBasicSnmpCollection()
public void discard()
public void commit() throws com.vaadin.v7.data.fieldgroup.FieldGroup.CommitException
com.vaadin.v7.data.fieldgroup.FieldGroup.CommitException
- the commit exceptionpublic void setReadOnly(boolean readOnly)
setReadOnly
in class com.vaadin.ui.AbstractComponent
public boolean isReadOnly()
isReadOnly
in class com.vaadin.ui.AbstractComponent
public String getSnmpCollectionName()
public Integer getRrdStep()
Copyright © 2021. All rights reserved.