Class JobBoardView
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.HorizontalLayout
-
- com.group21.jobTracker.ui.jobBoard.JobBoardView
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.HorizontalLayout>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasOrderedComponents,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.orderedlayout.FlexComponent,com.vaadin.flow.component.orderedlayout.ThemableLayout,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.HasUrlParameter<String>,com.vaadin.flow.router.internal.BeforeEnterHandler,Serializable
@Route(value="Dashboard", layout=MainLayout.class) @RouteAlias(value="", layout=MainLayout.class) public class JobBoardView extends com.vaadin.flow.component.orderedlayout.HorizontalLayout implements com.vaadin.flow.router.HasUrlParameter<String>, com.vaadin.flow.router.BeforeEnterObserverThe JobBoardView class is used to generate the frontend page for the "Dashboard" tab on the UI. It generates several Horizontal and Vertical layouts to format the contents of the page.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobBoardView()JobBoardView constructor to initialize all the instance like JobDataProvider, initiating the Job Grid Job form in the Job Board page.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)Before-entering to the app one can access the job-tracker site as null user.voidsetParameter(com.vaadin.flow.router.BeforeEvent event, String parameter)-
Methods inherited from class com.vaadin.flow.component.orderedlayout.HorizontalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultVerticalComponentAlignment, getVerticalComponentAlignment, setAlignItems, setAlignSelf, setDefaultVerticalComponentAlignment, setSpacing, setVerticalComponentAlignment
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
-
-
-
Field Detail
-
VIEW_NAME
public static final String VIEW_NAME
private static final parameter representing the name of the page view- See Also:
- Constant Field Values
-
-
Method Detail
-
setParameter
public void setParameter(com.vaadin.flow.router.BeforeEvent event, @OptionalParameter String parameter)- Specified by:
setParameterin interfacecom.vaadin.flow.router.HasUrlParameter<String>
-
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)
Before-entering to the app one can access the job-tracker site as null user.- Specified by:
beforeEnterin interfacecom.vaadin.flow.router.internal.BeforeEnterHandler- Parameters:
event- a before-enter event
-
-