Class WindowsLayoutStyle
java.lang.Object
com.jgoodies.forms.util.LayoutStyle
com.jgoodies.forms.util.WindowsLayoutStyle
A
LayoutStyle that aims to provide layout constants as defined by
Microsoft's User Experience Guidelines.- Version:
- $Revision: 1.11 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ConstantSizeprivate static final Sizeprivate static final Sizeprivate static final ConstantSizeprivate static final ConstantSize(package private) static final WindowsLayoutStyleprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSizeprivate static final ConstantSize -
Constructor Summary
Constructors -
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 LayoutStyle
getCurrent, setCurrent
-
Field Details
-
INSTANCE
-
BUTTON_WIDTH
-
BUTTON_HEIGHT
-
DIALOG_MARGIN_X
-
DIALOG_MARGIN_Y
-
TABBED_DIALOG_MARGIN_X
-
TABBED_DIALOG_MARGIN_Y
-
LABEL_COMPONENT_PADX
-
RELATED_COMPONENTS_PADX
-
UNRELATED_COMPONENTS_PADX
-
LABEL_COMPONENT_PADY
-
RELATED_COMPONENTS_PADY
-
UNRELATED_COMPONENTS_PADY
-
NARROW_LINE_PAD
-
LINE_PAD
-
PARAGRAPH_PAD
-
BUTTON_BAR_PAD
-
-
Constructor Details
-
WindowsLayoutStyle
private WindowsLayoutStyle()
-
-
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:
-