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:LayoutStyle
Returns this style's default button width.- Specified by:
getDefaultButtonWidth
in classLayoutStyle
- Returns:
- the default button width
- See Also:
-
getDefaultButtonHeight
Description copied from class:LayoutStyle
Returns this style's default button height.- Specified by:
getDefaultButtonHeight
in classLayoutStyle
- Returns:
- the default button height
- See Also:
-
getDialogMarginX
Description copied from class:LayoutStyle
Returns this style's horizontal margin for general dialogs.- Specified by:
getDialogMarginX
in classLayoutStyle
- Returns:
- the horizontal margin for general dialogs
- See Also:
-
getDialogMarginY
Description copied from class:LayoutStyle
Returns this style's vertical margin for general dialogs.- Specified by:
getDialogMarginY
in classLayoutStyle
- Returns:
- the vertical margin for general dialogs
- See Also:
-
getTabbedDialogMarginX
Description copied from class:LayoutStyle
Returns this style's horizontal margin for dialogs that consist of a tabbed pane.- Specified by:
getTabbedDialogMarginX
in classLayoutStyle
- Returns:
- the horizontal margin for dialogs that consist of a tabbed pane
- See Also:
-
getTabbedDialogMarginY
Description copied from class:LayoutStyle
Returns this style's vertical margin for dialogs that consist of a tabbed pane.- Specified by:
getTabbedDialogMarginY
in classLayoutStyle
- Returns:
- the vertical margin for dialogs that consist of a tabbed pane
- See Also:
-
getLabelComponentPadX
Description copied from class:LayoutStyle
Returns a gap used to separate a label and associated control.- Specified by:
getLabelComponentPadX
in classLayoutStyle
- Returns:
- a gap between label and associated control
- See Also:
-
getLabelComponentPadY
Description copied from class:LayoutStyle
Returns a gap used to separate a label and associated control.- Specified by:
getLabelComponentPadY
in classLayoutStyle
- Returns:
- a gap between label and associated control
- See Also:
-
getRelatedComponentsPadX
Description copied from class:LayoutStyle
Returns a horizontal gap used to separate related controls.- Specified by:
getRelatedComponentsPadX
in classLayoutStyle
- Returns:
- a horizontal gap between related controls
- See Also:
-
getRelatedComponentsPadY
Description copied from class:LayoutStyle
Returns a vertical gap used to separate related controls.- Specified by:
getRelatedComponentsPadY
in classLayoutStyle
- Returns:
- a vertical gap between related controls
- See Also:
-
getNarrowLinePad
Description copied from class:LayoutStyle
Returns a narrow vertical pad used to separate lines.- Specified by:
getNarrowLinePad
in classLayoutStyle
- Returns:
- a narrow vertical pad used to separate lines
- See Also:
-
getLinePad
Description copied from class:LayoutStyle
Returns a narrow vertical pad used to separate lines.- Specified by:
getLinePad
in classLayoutStyle
- Returns:
- a vertical pad used to separate lines
- See Also:
-
getParagraphPad
Description copied from class:LayoutStyle
Returns a pad used to separate paragraphs.- Specified by:
getParagraphPad
in classLayoutStyle
- Returns:
- a vertical pad used to separate paragraphs
- See Also:
-
getButtonBarPad
Description copied from class:LayoutStyle
Returns a pad used to separate a button bar from a component.- Specified by:
getButtonBarPad
in classLayoutStyle
- Returns:
- a vertical pad used to separate paragraphs
- See Also:
-