Package com.jgoodies.forms.util
Class MacLayoutStyle
java.lang.Object
com.jgoodies.forms.util.LayoutStyle
com.jgoodies.forms.util.MacLayoutStyle
A
LayoutStyle
that aims to provide layout constants as defined by
Microsoft's User Experience Guidelines.- Version:
- $Revision: 1.12 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ConstantSize
private static final Size
private static final Size
private static final ConstantSize
private static final ConstantSize
(package private) static final MacLayoutStyle
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private static final ConstantSize
private 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 com.jgoodies.forms.util.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
-
MacLayoutStyle
private MacLayoutStyle()
-
-
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:
-