Class JmixCalendarWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.vaadin.v7.client.ui.VCalendar
io.jmix.ui.widget.client.calendar.JmixCalendarWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, com.vaadin.client.ui.dd.VHasDropHandler

public class JmixCalendarWidget extends com.vaadin.v7.client.ui.VCalendar
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.v7.client.ui.VCalendar

    com.vaadin.v7.client.ui.VCalendar.BackwardListener, com.vaadin.v7.client.ui.VCalendar.DateClickListener, com.vaadin.v7.client.ui.VCalendar.EventClickListener, com.vaadin.v7.client.ui.VCalendar.EventMovedListener, com.vaadin.v7.client.ui.VCalendar.EventResizeListener, com.vaadin.v7.client.ui.VCalendar.ForwardListener, com.vaadin.v7.client.ui.VCalendar.MouseEventListener, com.vaadin.v7.client.ui.VCalendar.RangeSelectListener, com.vaadin.v7.client.ui.VCalendar.ScrollListener, com.vaadin.v7.client.ui.VCalendar.WeekClickListener

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

    com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Consumer<Date>
     

    Fields inherited from class com.vaadin.v7.client.ui.VCalendar

    ATTR_FIRSTDAYOFWEEK, ATTR_FIRSTHOUROFDAY, ATTR_LASTDAYOFWEEK, ATTR_LASTHOUROFDAY, dateformat_date, dateformat_datetime, time12format_date, time24format_date, weekGrid

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.vaadin.v7.client.ui.calendar.schedule.SimpleDayCell
    createSimpleDayCell(int y, int x)
     
    protected void
     
     
    protected boolean
    isEventInDayWithTime(Date from, Date to, Date date, Date endTime, boolean isAllDay)
     
    void
    setDayClickListener(Consumer<Date> dayClickListener)
     

    Methods inherited from class com.vaadin.v7.client.ui.VCalendar

    addDateToWeekGrid, areDatesEqualToSecond, createMonthGrid, createSimpleDayToolbar, distributeSize, getBackwardListener, getDateClickListener, getDateFormat, getDateTimeFormat, getDayNames, getDropHandler, getEventClickListener, getEventComparator, getEventMovedListener, getEventResizeListener, getFirstDayNumber, getFirstHourOfTheDay, getForwardListener, getLastDayNumber, getLastHourOfTheDay, getMonthGrid, getMonthNames, getMouseEventListener, getRangeSelectListener, getScrollListener, getSortOrder, getTimeFormat, getWeekClickListener, getWeekGrid, getWeekGridVerticalScrollPosition, initSizeWeekGrid, is24HFormat, isBackwardNavigationEnabled, isDisabled, isDisabledOrReadOnly, isEventCaptionAsHtml, isEventMoveAllowed, isEventResizeAllowed, isForwardNavigationEnabled, isMidnight, isRangeMoveAllowed, isRangeSelectAllowed, isReadOnly, isRepaint, isScroll, isZeroLengthMidnightEvent, needDeleteEvent, recalculateHeights, recalculateWidths, removeMonthEvent, set24HFormat, setBackwardNavigationEnabled, setCellStyle, setCellToday, setDayNames, setDisabled, setDropHandler, setEventCaptionAsHtml, setEventMoveAllowed, setEventResizeAllowed, setFirstDayNumber, setFirstHourOfTheDay, setForwardNavigationEnabled, setLastDayNumber, setLastHourOfTheDay, setListener, setListener, setListener, setListener, setListener, setListener, setListener, setListener, setListener, setListener, setMonthNames, setRangeMoveAllowed, setRangeSelectAllowed, setReadOnly, setSimpleDayCellStyle, setSizeForChildren, setSortOrder, sortEvents, sortEventsByDuration, updateEventsToMonthGrid, updateEventToMonthGrid, updateMonthGrid, updateMonthView, updateWeekGrid, updateWeekView

    Methods inherited from class com.google.gwt.user.client.ui.Composite

    claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents

    Methods inherited from class com.google.gwt.user.client.ui.UIObject

    addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • dayClickListener

      protected Consumer<Date> dayClickListener
  • Constructor Details

    • JmixCalendarWidget

      public JmixCalendarWidget()
  • Method Details

    • isEventInDayWithTime

      protected boolean isEventInDayWithTime(Date from, Date to, Date date, Date endTime, boolean isAllDay)
      Overrides:
      isEventInDayWithTime in class com.vaadin.v7.client.ui.VCalendar
    • createSimpleDayCell

      protected com.vaadin.v7.client.ui.calendar.schedule.SimpleDayCell createSimpleDayCell(int y, int x)
      Overrides:
      createSimpleDayCell in class com.vaadin.v7.client.ui.VCalendar
    • getDayClickListener

      public Consumer<Date> getDayClickListener()
    • setDayClickListener

      public void setDayClickListener(Consumer<Date> dayClickListener)
    • createWeekGrid

      protected void createWeekGrid()
      Overrides:
      createWeekGrid in class com.vaadin.v7.client.ui.VCalendar