Class JmixDateCell

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.vaadin.v7.client.ui.calendar.schedule.FocusableComplexPanel
com.vaadin.v7.client.ui.calendar.schedule.DateCell
io.jmix.ui.widget.client.calendar.schedule.JmixDateCell
All Implemented Interfaces:
com.google.gwt.event.dom.client.ContextMenuHandler, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.dom.client.MouseDownHandler, com.google.gwt.event.dom.client.MouseMoveHandler, com.google.gwt.event.dom.client.MouseUpHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, 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.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.vaadin.client.Focusable, Iterable<com.google.gwt.user.client.ui.Widget>

public class JmixDateCell extends com.vaadin.v7.client.ui.calendar.schedule.DateCell
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.v7.client.ui.calendar.schedule.DateCell

    com.vaadin.v7.client.ui.calendar.schedule.DateCell.DateCellSlot

    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

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

    com.google.gwt.user.client.ui.HasWidgets.ForIsWidget

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

    com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
    static final String
     

    Fields inherited from class com.vaadin.v7.client.ui.calendar.schedule.DateCell

    firstHour, slots, weekgrid

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

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    JmixDateCell(com.vaadin.v7.client.ui.calendar.schedule.WeekGrid parent, Date date)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected boolean
    containsSlotNumber(String className, String slotNumberStyle)
     
    protected String
    getSlotNumberStyle(com.google.gwt.dom.client.Element element)
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    void
    onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
     

    Methods inherited from class com.vaadin.v7.client.ui.calendar.schedule.DateCell

    addEmphasisStyle, addEmphasisStyle, addEvent, addEvent, createDateCellDayEvent, getDate, getFirstHour, getLastHour, getNumberOfSlots, getOverlappingEvents, getSlot, getSlotBorder, getSlotHeight, getSlotIndex, getTodaybarElement, isDisabled, isToday, onAttach, onContextMenu, onDetach, onKeyDown, onMouseDown, onMouseMove, recalculateEventWidths, removeEmphasisStyle, removeEmphasisStyle, removeEvent, setDate, setDateColor, setDisabled, setHeightPX, setHorizontalSized, setTimeBarWidth, setToday, setTodaybarWidth, setVerticalSized, setWidthPX

    Methods inherited from class com.vaadin.v7.client.ui.calendar.schedule.FocusableComplexPanel

    addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, focus, makeFocusable, setFocus

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

    add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove

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

    add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove

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

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, 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, resolvePotentialElement, 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

    Methods inherited from interface com.google.gwt.event.shared.HasHandlers

    fireEvent

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

    • SLOT_NUMBER_STYLENAME

      public static final String SLOT_NUMBER_STYLENAME
      See Also:
    • rangeSelect

      protected boolean rangeSelect
  • Constructor Details

    • JmixDateCell

      public JmixDateCell(com.vaadin.v7.client.ui.calendar.schedule.WeekGrid parent, Date date)
  • Method Details

    • onMouseUp

      public void onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
      Specified by:
      onMouseUp in interface com.google.gwt.event.dom.client.MouseUpHandler
      Overrides:
      onMouseUp in class com.vaadin.v7.client.ui.calendar.schedule.DateCell
    • cancelRangeSelect

      public void cancelRangeSelect()
      Overrides:
      cancelRangeSelect in class com.vaadin.v7.client.ui.calendar.schedule.DateCell
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
      Overrides:
      onBrowserEvent in class com.google.gwt.user.client.ui.Widget
    • getSlotNumberStyle

      protected String getSlotNumberStyle(com.google.gwt.dom.client.Element element)
    • containsSlotNumber

      protected boolean containsSlotNumber(String className, String slotNumberStyle)