public interface ISettings
Modifier and Type | Method and Description |
---|---|
char[] |
getAcceptedDateSeparatorChars()
Returns a list of chars that can be used to separate dates.
|
java.util.List |
getAdditionalDateFormats()
Returns a list of date formats that can be parsed into a Date.
|
int |
getArrowLeftSpacing()
Returns the left spacing before the arrow.
|
int |
getArrowTopSpacing()
Returns the top margin size of the arrows.
|
int |
getBoxSpacer()
Returns the width between each calendar date.
|
int |
getButtonHeight()
Returns the height of the "Today" and "None" buttons.
|
int |
getButtonsHorizontalSpace()
Returns the horizontal spacing between the "Today" and the "None" button.
|
int |
getButtonVerticalSpace()
Returns the spacing between the bottom of the calendar dates and where the "Today" and "None" buttons are.
|
int |
getButtonWidth()
Returns the width of the "Today" and "None" buttons.
|
int |
getButtonWidthCarbon()
Returns the width of the "Today" and "None" buttons for Carbon.
|
int |
getCalendarHeight()
Returns the height of the calendar.
|
int |
getCalendarHeightMacintosh()
CALLED ON MACINTOSH ONLY!
Returns the height of the calendar.
|
int |
getCalendarWidth()
Returns the width of the calendar.
|
int |
getCalendarWidthMacintosh()
CALLED ON MACINTOSH ONLY!
Returns the width of the calendar.
|
char |
getCarbonArrowDownChar()
On OSX/Carbon the arrow up/down don't work due to an eclipse bug so they need alternative keys.
|
char |
getCarbonArrowUpChar()
On OSX/Carbon the arrow up/down don't work due to an eclipse bug so they need alternative keys.
|
int |
getCarbonButtonHeight()
Returns the height of the "Today" and "None" buttons for Carbon.
|
int |
getCarbonButtonsHorizontalSpace()
Returns the horizontal spacing between the "Today" and the "None" button.
|
int |
getCarbonButtonVerticalSpace()
Returns the spacing between the bottom of the calendar dates and where the "Today" and "None" buttons are.
|
int |
getCarbonButtonWidth()
Returns the arrow width of the combo button itself for Carbon.
|
org.eclipse.swt.graphics.Font |
getCarbonDrawFont()
Returns the font to draw on Carbon.
|
java.lang.String |
getDateFormat()
Returns the date format to be used in the text display area.
|
int |
getDatesLeftMargin()
Returns the left margin size where the dates are shown.
|
int |
getDatesRightMargin()
Returns the right margin size where the dates are shown.
|
int |
getGTKButtonWidth()
Returns the arrow width of the combo button itself for GTK.
|
int |
getHeaderHeight()
Returns the height of the header.
|
int |
getHeaderLeftMargin()
Returns the left margin size of the header.
|
int |
getHeaderRightMargin()
Returns the right margin size of the header.
|
int |
getHeaderTopMargin()
Returns the top margin size of the header.
|
java.util.Locale |
getLocale()
Returns the Locale that the calendar should use when calculating dates etc.
|
java.lang.String |
getNoDateSetText()
Returns the text shown in the text area of the combo when there is no date selected.
|
java.lang.String |
getNoneText()
Returns the text written on the "None" button
|
int |
getOneDateBoxSize()
Returns the size (width) of the box that one date is contained in.
|
java.lang.String |
getTodayText()
Returns the text written on the "Today" button
|
int |
getWindowsButtonWidth()
Returns the arrow width of the combo button itself for Windows.
|
org.eclipse.swt.graphics.Font |
getWindowsMonthPopupDrawFont()
Returns the font used to draw the month selector text on Windows.
|
boolean |
keyboardNavigatesCalendar()
If it returns true, keyboard down key etc will open the calendar and navigate the calendar through the keyboard.
|
boolean |
showCalendarInRightCorner()
True if the calendar should be drawn with the right hand side of the calendar aligned with the drop down button.
|
boolean |
showMonthPickerOnMonthNameMousePress()
Whether to show the month selector pop-up when the mouse is pressed and held on the month name in the calendar window.
|
int getCalendarWidth()
int getCalendarHeight()
int getCalendarWidthMacintosh()
int getCalendarHeightMacintosh()
int getHeaderLeftMargin()
int getHeaderRightMargin()
int getHeaderTopMargin()
int getHeaderHeight()
int getArrowLeftSpacing()
int getArrowTopSpacing()
int getDatesLeftMargin()
int getDatesRightMargin()
int getOneDateBoxSize()
int getBoxSpacer()
boolean showCalendarInRightCorner()
java.lang.String getDateFormat()
DateFormat
int getButtonHeight()
int getButtonWidth()
int getButtonWidthCarbon()
int getCarbonButtonHeight()
int getButtonVerticalSpace()
int getCarbonButtonVerticalSpace()
int getButtonsHorizontalSpace()
int getCarbonButtonsHorizontalSpace()
java.lang.String getTodayText()
java.lang.String getNoneText()
java.lang.String getNoDateSetText()
boolean showMonthPickerOnMonthNameMousePress()
int getWindowsButtonWidth()
int getCarbonButtonWidth()
int getGTKButtonWidth()
java.util.Locale getLocale()
org.eclipse.swt.graphics.Font getCarbonDrawFont()
org.eclipse.swt.graphics.Font getWindowsMonthPopupDrawFont()
java.util.List getAdditionalDateFormats()
DateFormat
,
getDateFormat()
boolean keyboardNavigatesCalendar()
char[] getAcceptedDateSeparatorChars()
char getCarbonArrowUpChar()
keyboardNavigatesCalendar()
returns true.char getCarbonArrowDownChar()
keyboardNavigatesCalendar()
returns true.