public abstract class AbstractSettings extends java.lang.Object implements ISettings
| Constructor and Description |
|---|
AbstractSettings() |
| 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 |
isWindows7() |
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.
|
public boolean isWindows7()
public int getArrowLeftSpacing()
ISettingsgetArrowLeftSpacing in interface ISettingspublic int getArrowTopSpacing()
ISettingsgetArrowTopSpacing in interface ISettingspublic int getOneDateBoxSize()
ISettingsgetOneDateBoxSize in interface ISettingspublic int getBoxSpacer()
ISettingsgetBoxSpacer in interface ISettingspublic int getCalendarHeight()
ISettingsgetCalendarHeight in interface ISettingspublic int getCalendarWidth()
ISettingsgetCalendarWidth in interface ISettingspublic int getCalendarWidthMacintosh()
ISettingsgetCalendarWidthMacintosh in interface ISettingspublic int getCalendarHeightMacintosh()
ISettingsgetCalendarHeightMacintosh in interface ISettingspublic int getDatesLeftMargin()
ISettingsgetDatesLeftMargin in interface ISettingspublic int getDatesRightMargin()
ISettingsgetDatesRightMargin in interface ISettingspublic int getHeaderHeight()
ISettingsgetHeaderHeight in interface ISettingspublic int getHeaderLeftMargin()
ISettingsgetHeaderLeftMargin in interface ISettingspublic int getHeaderRightMargin()
ISettingsgetHeaderRightMargin in interface ISettingspublic int getHeaderTopMargin()
ISettingsgetHeaderTopMargin in interface ISettingspublic boolean showCalendarInRightCorner()
ISettingsshowCalendarInRightCorner in interface ISettingspublic java.lang.String getDateFormat()
ISettingsgetDateFormat in interface ISettingsDateFormatpublic int getButtonHeight()
ISettingsgetButtonHeight in interface ISettingspublic int getButtonsHorizontalSpace()
ISettingsgetButtonsHorizontalSpace in interface ISettingspublic int getCarbonButtonsHorizontalSpace()
ISettingsgetCarbonButtonsHorizontalSpace in interface ISettingspublic int getButtonVerticalSpace()
ISettingsgetButtonVerticalSpace in interface ISettingspublic int getCarbonButtonVerticalSpace()
ISettingsgetCarbonButtonVerticalSpace in interface ISettingspublic int getButtonWidth()
ISettingsgetButtonWidth in interface ISettingspublic int getButtonWidthCarbon()
ISettingsgetButtonWidthCarbon in interface ISettingspublic java.lang.String getNoneText()
ISettingsgetNoneText in interface ISettingspublic java.lang.String getTodayText()
ISettingsgetTodayText in interface ISettingspublic java.lang.String getNoDateSetText()
ISettingsgetNoDateSetText in interface ISettingspublic boolean showMonthPickerOnMonthNameMousePress()
ISettingsshowMonthPickerOnMonthNameMousePress in interface ISettingspublic int getCarbonButtonHeight()
ISettingsgetCarbonButtonHeight in interface ISettingspublic int getCarbonButtonWidth()
ISettingsgetCarbonButtonWidth in interface ISettingspublic int getGTKButtonWidth()
ISettingsgetGTKButtonWidth in interface ISettingspublic int getWindowsButtonWidth()
ISettingsgetWindowsButtonWidth in interface ISettingspublic java.util.Locale getLocale()
ISettingspublic org.eclipse.swt.graphics.Font getCarbonDrawFont()
ISettingsgetCarbonDrawFont in interface ISettingspublic org.eclipse.swt.graphics.Font getWindowsMonthPopupDrawFont()
ISettingsgetWindowsMonthPopupDrawFont in interface ISettingspublic java.util.List getAdditionalDateFormats()
ISettingsgetAdditionalDateFormats in interface ISettingsDateFormat,
ISettings.getDateFormat()public boolean keyboardNavigatesCalendar()
ISettingskeyboardNavigatesCalendar in interface ISettingspublic char[] getAcceptedDateSeparatorChars()
ISettingsgetAcceptedDateSeparatorChars in interface ISettingspublic char getCarbonArrowUpChar()
ISettingsISettings.keyboardNavigatesCalendar() returns true.getCarbonArrowUpChar in interface ISettingspublic char getCarbonArrowDownChar()
ISettingsISettings.keyboardNavigatesCalendar() returns true.getCarbonArrowDownChar in interface ISettings