public class AbstractSettings extends java.lang.Object implements ISettings
| Constructor and Description |
|---|
AbstractSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowButtonResizing()
Whether buttons can be resized via the resize bar.
|
boolean |
drawBorder()
Whether to draw a 1 pixel border on the left, right and top side of the ButtonComposite.
|
int |
getButtonHeight()
Returns the height of a button.
|
IButtonPainter |
getButtonPainter()
Returns the IButtonPainter to use to paint buttons.
|
org.eclipse.swt.graphics.Color |
getButtonTextColor()
Returns the Color used for the text on the buttons.
|
org.eclipse.swt.graphics.Font |
getButtonTextFont(org.eclipse.swt.graphics.Font currentFont)
Returns the Font to use when drawing text on the buttons.
|
int |
getButtonTextImageSpacing()
Returns the spacing between the image and the text on a button.
|
int |
getLeftButtonTextSpacing()
Returns the spacing between the left side border and the text on a button.
|
org.eclipse.swt.graphics.Image |
getOutlook2005ArrowImage()
Returns the image for the Outlook 2005 styled arrow.
|
int |
getOutlook2005ResizeBarSize()
Returns the pixel height of the Outlook 2005 resize bar.
|
int |
getOutlook2005ResizeDotNumber()
Returns the number of dots shown on the resize bar for the Outlook 2005 styled resize bar.
|
org.eclipse.swt.graphics.Image |
getOutlook2007ArrowImage()
Returns the image for the Outlook 2007 styled arrow.
|
int |
getOutlook2007ResizeBarSize()
Returns the pixel height of the Outlook 2007 resize bar.
|
int |
getOutlook2007ResizeDotNumber()
Returns the number of dots shown on the resize bar for the Outlook 2007 styled resize bar.
|
int |
getToolBarLeftSpacer()
Returns the number of pixels left of an item on the toolbar that the selection area should cover.
|
int |
getToolBarRightSpacer()
Returns the number of pixels right of an item on the toolbar that the selection area should cover.
|
int |
getToolBarSpacing()
Returns the number of pixels between each item on the toolbar.
|
boolean |
showToolBar()
Whether to show the toolbar at the bottom or not.
|
public boolean allowButtonResizing()
ISettingsallowButtonResizing in interface ISettingspublic boolean drawBorder()
ISettingsdrawBorder in interface ISettingspublic int getButtonHeight()
ISettingsgetButtonHeight in interface ISettingspublic org.eclipse.swt.graphics.Image getOutlook2005ArrowImage()
ISettingsgetOutlook2005ArrowImage in interface ISettingspublic org.eclipse.swt.graphics.Image getOutlook2007ArrowImage()
ISettingsgetOutlook2007ArrowImage in interface ISettingspublic int getOutlook2005ResizeBarSize()
ISettingsgetOutlook2005ResizeBarSize in interface ISettingspublic int getOutlook2007ResizeBarSize()
ISettingsgetOutlook2007ResizeBarSize in interface ISettingspublic boolean showToolBar()
ISettingsshowToolBar in interface ISettingspublic int getOutlook2005ResizeDotNumber()
ISettingsgetOutlook2005ResizeDotNumber in interface ISettingspublic int getOutlook2007ResizeDotNumber()
ISettingsgetOutlook2007ResizeDotNumber in interface ISettingspublic IButtonPainter getButtonPainter()
ISettingsgetButtonPainter in interface ISettingspublic org.eclipse.swt.graphics.Font getButtonTextFont(org.eclipse.swt.graphics.Font currentFont)
ISettingsgetButtonTextFont in interface ISettingscurrentFont - The current font that it is recommended to modify and returnpublic org.eclipse.swt.graphics.Color getButtonTextColor()
ISettingsgetButtonTextColor in interface ISettingspublic int getToolBarLeftSpacer()
ISettingsgetToolBarLeftSpacer in interface ISettingspublic int getToolBarRightSpacer()
ISettingsgetToolBarRightSpacer in interface ISettingspublic int getToolBarSpacing()
ISettingsgetToolBarSpacing in interface ISettingspublic int getButtonTextImageSpacing()
ISettingsgetButtonTextImageSpacing in interface ISettingspublic int getLeftButtonTextSpacing()
ISettingsgetLeftButtonTextSpacing in interface ISettings