public class SnmpCollectionPanel
extends com.vaadin.ui.VerticalLayout
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.MarginInfo, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
Constructor and Description |
---|
SnmpCollectionPanel(DataCollectionConfigDao dataCollectionConfigDao,
Logger logger)
Instantiates a new SNMP collection panel.
|
Modifier and Type | Method and Description |
---|---|
List<SnmpCollection> |
getSnmpCollections()
Gets the SNMP collections.
|
void |
saveSnmpCollections(DataCollectionConfigDao dataCollectionConfigDao,
Logger logger)
Save SNMP collections.
|
void |
setIsNew(boolean isNew)
Sets the value of the ifNew flag.
|
addComponent, addComponent, addComponentAsFirst, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, paintContent, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacing
changeVariables, fireClick, getMargin, setMargin, setMargin, setMargin
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addListener, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll
addListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
public SnmpCollectionPanel(DataCollectionConfigDao dataCollectionConfigDao, Logger logger)
dataCollectionConfigDao
- the data collection configuration DAOlogger
- the loggerpublic List<SnmpCollection> getSnmpCollections()
public void setIsNew(boolean isNew)
isNew
- true, if the resource type is new.public void saveSnmpCollections(DataCollectionConfigDao dataCollectionConfigDao, Logger logger)
dataCollectionConfigDao
- the OpenNMS data collection configuration DAOlogger
- the loggerCopyright © 2015. All Rights Reserved.