public class BlacklistView
extends com.vaadin.ui.Panel
implements com.vaadin.navigator.View
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
com.vaadin.server.Sizeable.Unit
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
Modifier and Type | Field and Description |
---|---|
private com.vaadin.data.util.IndexedContainer |
blacklist |
private com.vaadin.ui.Table |
blackList |
private com.vaadin.ui.Table |
blackListDetails |
private static java.lang.String[] |
blackListDetailsFieldNames |
private com.vaadin.data.util.IndexedContainer |
blackListDetailsList |
private com.vaadin.ui.FormLayout |
blacklistEditorLayout |
private static java.lang.String |
blacklistedPattern |
private static java.lang.String |
blacklistedPatternName |
private static java.lang.String[] |
blacklistFieldNames |
private static java.lang.String |
datePattern |
private com.vaadin.ui.Button |
deleteFromBlacklistButton |
private com.vaadin.ui.VerticalLayout |
header |
private static java.lang.String |
hostPattern |
private java.lang.Object |
lineId |
private static java.lang.String |
linePattern |
static java.lang.String |
NAME |
private com.vaadin.navigator.Navigator |
navigator |
private java.lang.String |
selectedPattern |
Constructor and Description |
---|
BlacklistView(com.vaadin.navigator.Navigator navigator)
Constructor for class BackListView
|
Modifier and Type | Method and Description |
---|---|
private static com.vaadin.data.util.IndexedContainer |
createBlacklistDatasource()
Initializing Data Sources for Tables in UI
|
private com.vaadin.data.util.IndexedContainer |
createBlacklistDetailsDatasource(java.lang.String pattern)
Method for initialization of details table content
|
void |
enter(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event) |
private static java.lang.String |
getSelectedPattern(java.lang.String sPattern) |
private void |
init()
Initialization method which handles composition of UI for given class
|
private void |
initBlackList()
Initialization method for preparing the main table of the view
|
private void |
initBlackListEditor()
Initialization method for editor layout
|
private void |
initBlacklistLayout() |
addAction, addActionHandler, addClickListener, addListener, focus, getActionManager, getScrollLeft, getScrollTop, getState, getTabIndex, changeVariables, paintContent, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, removeListener, setCaption, setScrollLeft, setScrollTop, setTabIndex
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public static final java.lang.String NAME
private com.vaadin.navigator.Navigator navigator
private com.vaadin.ui.VerticalLayout header
private com.vaadin.data.util.IndexedContainer blacklist
private com.vaadin.ui.Button deleteFromBlacklistButton
private com.vaadin.ui.FormLayout blacklistEditorLayout
private static java.lang.String blacklistedPattern
private static java.lang.String blacklistedPatternName
private static final java.lang.String[] blacklistFieldNames
private com.vaadin.ui.Table blackList
private com.vaadin.data.util.IndexedContainer blackListDetailsList
private com.vaadin.ui.Table blackListDetails
private static java.lang.String datePattern
private static java.lang.String hostPattern
private static java.lang.String linePattern
private static final java.lang.String[] blackListDetailsFieldNames
private java.lang.String selectedPattern
private java.lang.Object lineId
public BlacklistView(com.vaadin.navigator.Navigator navigator)
navigator
- variable representing UI navigator class which handles UI element switchingprivate void init()
private void initBlacklistLayout()
private void initBlackListEditor()
private void initBlackList()
private static com.vaadin.data.util.IndexedContainer createBlacklistDatasource()
private com.vaadin.data.util.IndexedContainer createBlacklistDetailsDatasource(java.lang.String pattern)
pattern
- Pattern whose details are to be displayedpublic void enter(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event)
enter
in interface com.vaadin.navigator.View
private static java.lang.String getSelectedPattern(java.lang.String sPattern)