Package com.privatejgoodies.forms.util
Class MacLayoutStyle
java.lang.Object
com.privatejgoodies.forms.util.LayoutStyle
com.privatejgoodies.forms.util.MacLayoutStyle
A
LayoutStyle that aims to provide layout constants as defined by Microsoft's User
Experience Guidelines.- Version:
- $Revision: 1.12 $
- Author:
- Karsten Lentzsch
-
Method Summary
Modifier and TypeMethodDescriptionReturns a pad used to separate a button bar from a component.Returns this style's default button height.Returns this style's default button width.Returns this style's horizontal margin for general dialogs.Returns this style's vertical margin for general dialogs.Returns a gap used to separate a label and associated control.Returns a gap used to separate a label and associated control.Returns a narrow vertical pad used to separate lines.Returns a narrow vertical pad used to separate lines.Returns a pad used to separate paragraphs.Returns a horizontal gap used to separate related controls.Returns a vertical gap used to separate related controls.Returns this style's horizontal margin for dialogs that consist of a tabbed pane.Returns this style's vertical margin for dialogs that consist of a tabbed pane.Returns a horizontal gap used to separate unrelated controls.Returns a vertical gap used to separate unrelated controls.Methods inherited from class com.privatejgoodies.forms.util.LayoutStyle
getCurrent, setCurrent
-
Method Details
-
getDefaultButtonWidth
Description copied from class:LayoutStyleReturns this style's default button width.- Specified by:
getDefaultButtonWidthin classLayoutStyle- Returns:
- the default button width
- See Also:
-
getDefaultButtonHeight
Description copied from class:LayoutStyleReturns this style's default button height.- Specified by:
getDefaultButtonHeightin classLayoutStyle- Returns:
- the default button height
- See Also:
-
getDialogMarginX
Description copied from class:LayoutStyleReturns this style's horizontal margin for general dialogs.- Specified by:
getDialogMarginXin classLayoutStyle- Returns:
- the horizontal margin for general dialogs
- See Also:
-
getDialogMarginY
Description copied from class:LayoutStyleReturns this style's vertical margin for general dialogs.- Specified by:
getDialogMarginYin classLayoutStyle- Returns:
- the vertical margin for general dialogs
- See Also:
-
getTabbedDialogMarginX
Description copied from class:LayoutStyleReturns this style's horizontal margin for dialogs that consist of a tabbed pane.- Specified by:
getTabbedDialogMarginXin classLayoutStyle- Returns:
- the horizontal margin for dialogs that consist of a tabbed pane
- See Also:
-
getTabbedDialogMarginY
Description copied from class:LayoutStyleReturns this style's vertical margin for dialogs that consist of a tabbed pane.- Specified by:
getTabbedDialogMarginYin classLayoutStyle- Returns:
- the vertical margin for dialogs that consist of a tabbed pane
- See Also:
-
getLabelComponentPadX
Description copied from class:LayoutStyleReturns a gap used to separate a label and associated control.- Specified by:
getLabelComponentPadXin classLayoutStyle- Returns:
- a gap between label and associated control
- See Also:
-
getLabelComponentPadY
Description copied from class:LayoutStyleReturns a gap used to separate a label and associated control.- Specified by:
getLabelComponentPadYin classLayoutStyle- Returns:
- a gap between label and associated control
- See Also:
-
getRelatedComponentsPadX
Description copied from class:LayoutStyleReturns a horizontal gap used to separate related controls.- Specified by:
getRelatedComponentsPadXin classLayoutStyle- Returns:
- a horizontal gap between related controls
- See Also:
-
getRelatedComponentsPadY
Description copied from class:LayoutStyleReturns a vertical gap used to separate related controls.- Specified by:
getRelatedComponentsPadYin classLayoutStyle- Returns:
- a vertical gap between related controls
- See Also:
-
getNarrowLinePad
Description copied from class:LayoutStyleReturns a narrow vertical pad used to separate lines.- Specified by:
getNarrowLinePadin classLayoutStyle- Returns:
- a narrow vertical pad used to separate lines
- See Also:
-
getLinePad
Description copied from class:LayoutStyleReturns a narrow vertical pad used to separate lines.- Specified by:
getLinePadin classLayoutStyle- Returns:
- a vertical pad used to separate lines
- See Also:
-
getParagraphPad
Description copied from class:LayoutStyleReturns a pad used to separate paragraphs.- Specified by:
getParagraphPadin classLayoutStyle- Returns:
- a vertical pad used to separate paragraphs
- See Also:
-
getButtonBarPad
Description copied from class:LayoutStyleReturns a pad used to separate a button bar from a component.- Specified by:
getButtonBarPadin classLayoutStyle- Returns:
- a vertical pad used to separate paragraphs
- See Also:
-