class CalendarComposite
extends org.eclipse.swt.widgets.Canvas
implements org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.MouseMoveListener
Modifier and Type | Class and Description |
---|---|
(package private) class |
CalendarComposite.ButtonSectionLayout |
(package private) class |
CalendarComposite.CalDay |
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
canJumpPrevMonth |
Constructor and Description |
---|
CalendarComposite(org.eclipse.swt.widgets.Composite parent,
java.util.Calendar selectedDay,
java.util.Calendar disallowBeforeDate,
java.util.Calendar disallowAfterDate,
IColorManager colorManager,
ISettings settings,
boolean dateRange,
java.util.Calendar rangeStart,
java.util.Calendar rangeEnd) |
Modifier and Type | Method and Description |
---|---|
void |
addCalendarListener(ICalendarListener listener) |
(package private) void |
addMainCalendarListener(ICalendarListener listener) |
boolean |
externalClick(org.eclipse.swt.graphics.Point p) |
void |
goToToday() |
boolean |
isMonthPopupActive() |
(package private) void |
keyPressed(int keyCode,
int stateMask) |
void |
mouseDoubleClick(org.eclipse.swt.events.MouseEvent event) |
void |
mouseDown(org.eclipse.swt.events.MouseEvent event) |
void |
mouseMove(org.eclipse.swt.events.MouseEvent e) |
void |
mouseUp(org.eclipse.swt.events.MouseEvent event) |
void |
nextMonth() |
void |
prevMonth() |
void |
removeCalendarListener(ICalendarListener listener) |
void |
setDate(java.util.Calendar date) |
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public CalendarComposite(org.eclipse.swt.widgets.Composite parent, java.util.Calendar selectedDay, java.util.Calendar disallowBeforeDate, java.util.Calendar disallowAfterDate, IColorManager colorManager, ISettings settings, boolean dateRange, java.util.Calendar rangeStart, java.util.Calendar rangeEnd)
public void setDate(java.util.Calendar date)
public void nextMonth()
public void prevMonth()
public void goToToday()
public void mouseMove(org.eclipse.swt.events.MouseEvent e)
mouseMove
in interface org.eclipse.swt.events.MouseMoveListener
public void mouseDoubleClick(org.eclipse.swt.events.MouseEvent event)
mouseDoubleClick
in interface org.eclipse.swt.events.MouseListener
public void mouseDown(org.eclipse.swt.events.MouseEvent event)
mouseDown
in interface org.eclipse.swt.events.MouseListener
public void mouseUp(org.eclipse.swt.events.MouseEvent event)
mouseUp
in interface org.eclipse.swt.events.MouseListener
void addMainCalendarListener(ICalendarListener listener)
public void addCalendarListener(ICalendarListener listener)
public void removeCalendarListener(ICalendarListener listener)
public boolean externalClick(org.eclipse.swt.graphics.Point p)
public boolean isMonthPopupActive()
void keyPressed(int keyCode, int stateMask)