Interface ICalendarableItemControl
- All Known Implementing Classes:
DayEditorCalendarableItemControl
,MonthCalendarableItemControl
public interface ICalendarableItemControl
- Since:
- 3.2
-
Method Summary
Modifier and Type Method Description void
addMouseListener(org.eclipse.swt.events.MouseListener listener)
void
dispose()
CalendarableItem
getCalendarableItem()
int
getClipping()
int
getContinued()
void
removeMouseListener(org.eclipse.swt.events.MouseListener listener)
void
setCalendarableItem(CalendarableItem calendarable)
Method setCalendarable.void
setClipping(int clipping)
Sets the clipping style bitsvoid
setContinued(int continued)
Sets the continued style bitsvoid
setImage(org.eclipse.swt.graphics.Image image)
void
setMenu(org.eclipse.swt.widgets.Menu menu)
void
setSelected(boolean selected)
Set or clear the selection indicator in the UI.void
setText(java.lang.String text)
void
setToolTipText(java.lang.String text)
-
Method Details
-
dispose
void dispose() -
setMenu
void setMenu(org.eclipse.swt.widgets.Menu menu) -
setText
void setText(java.lang.String text)- Parameters:
text
-
-
setImage
void setImage(org.eclipse.swt.graphics.Image image)- Parameters:
image
-
-
setToolTipText
void setToolTipText(java.lang.String text) -
setClipping
void setClipping(int clipping)Sets the clipping style bits- Parameters:
clipping
- One of SWT.TOP or SWT.BOTTOM
-
getClipping
int getClipping()- Returns:
- The clipping style bits
-
setContinued
void setContinued(int continued)Sets the continued style bits- Parameters:
continued
- One of SWT.TOP or SWT.BOTTOM
-
getContinued
int getContinued()- Returns:
- the continued style bits
-
setSelected
void setSelected(boolean selected)Set or clear the selection indicator in the UI.- Parameters:
selected
- true if this control should appear selected; false otherwise.
-
addMouseListener
void addMouseListener(org.eclipse.swt.events.MouseListener listener) -
removeMouseListener
void removeMouseListener(org.eclipse.swt.events.MouseListener listener) -
setCalendarableItem
Method setCalendarable. Sets the associated model.- Parameters:
calendarable
-
-
getCalendarableItem
CalendarableItem getCalendarableItem()- Returns:
- Returns the calendarable.
-