Package com.privatejgoodies.forms.util
Class MacLayoutStyle
- java.lang.Object
-
- com.privatejgoodies.forms.util.LayoutStyle
-
- com.privatejgoodies.forms.util.MacLayoutStyle
-
public final class MacLayoutStyle extends LayoutStyle
ALayoutStylethat aims to provide layout constants as defined by Microsoft's User Experience Guidelines.- Version:
- $Revision: 1.12 $
- Author:
- Karsten Lentzsch
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstantSizegetButtonBarPad()Returns a pad used to separate a button bar from a component.SizegetDefaultButtonHeight()Returns this style's default button height.SizegetDefaultButtonWidth()Returns this style's default button width.ConstantSizegetDialogMarginX()Returns this style's horizontal margin for general dialogs.ConstantSizegetDialogMarginY()Returns this style's vertical margin for general dialogs.ConstantSizegetLabelComponentPadX()Returns a gap used to separate a label and associated control.ConstantSizegetLabelComponentPadY()Returns a gap used to separate a label and associated control.ConstantSizegetLinePad()Returns a narrow vertical pad used to separate lines.ConstantSizegetNarrowLinePad()Returns a narrow vertical pad used to separate lines.ConstantSizegetParagraphPad()Returns a pad used to separate paragraphs.ConstantSizegetRelatedComponentsPadX()Returns a horizontal gap used to separate related controls.ConstantSizegetRelatedComponentsPadY()Returns a vertical gap used to separate related controls.ConstantSizegetTabbedDialogMarginX()Returns this style's horizontal margin for dialogs that consist of a tabbed pane.ConstantSizegetTabbedDialogMarginY()Returns this style's vertical margin for dialogs that consist of a tabbed pane.ConstantSizegetUnrelatedComponentsPadX()Returns a horizontal gap used to separate unrelated controls.ConstantSizegetUnrelatedComponentsPadY()Returns a vertical gap used to separate unrelated controls.-
Methods inherited from class com.privatejgoodies.forms.util.LayoutStyle
getCurrent, setCurrent
-
-
-
-
Method Detail
-
getDefaultButtonWidth
public Size getDefaultButtonWidth()
Description copied from class:LayoutStyleReturns this style's default button width.- Specified by:
getDefaultButtonWidthin classLayoutStyle- Returns:
- the default button width
- See Also:
LayoutStyle.getDefaultButtonHeight()
-
getDefaultButtonHeight
public Size getDefaultButtonHeight()
Description copied from class:LayoutStyleReturns this style's default button height.- Specified by:
getDefaultButtonHeightin classLayoutStyle- Returns:
- the default button height
- See Also:
LayoutStyle.getDefaultButtonWidth()
-
getDialogMarginX
public ConstantSize 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:
LayoutStyle.getDialogMarginY(),LayoutStyle.getTabbedDialogMarginX()
-
getDialogMarginY
public ConstantSize 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:
LayoutStyle.getDialogMarginX(),LayoutStyle.getTabbedDialogMarginY()
-
getTabbedDialogMarginX
public ConstantSize 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:
LayoutStyle.getTabbedDialogMarginY(),LayoutStyle.getDialogMarginX()
-
getTabbedDialogMarginY
public ConstantSize 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:
LayoutStyle.getTabbedDialogMarginX(),LayoutStyle.getDialogMarginY()
-
getLabelComponentPadX
public ConstantSize 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:
LayoutStyle.getRelatedComponentsPadX(),LayoutStyle.getUnrelatedComponentsPadX()
-
getLabelComponentPadY
public ConstantSize 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:
LayoutStyle.getRelatedComponentsPadY(),LayoutStyle.getUnrelatedComponentsPadY()
-
getRelatedComponentsPadX
public ConstantSize 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:
LayoutStyle.getLabelComponentPadX(),LayoutStyle.getRelatedComponentsPadY(),LayoutStyle.getUnrelatedComponentsPadX()
-
getRelatedComponentsPadY
public ConstantSize 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:
LayoutStyle.getRelatedComponentsPadX(),LayoutStyle.getUnrelatedComponentsPadY()
-
getUnrelatedComponentsPadX
public ConstantSize getUnrelatedComponentsPadX()
Description copied from class:LayoutStyleReturns a horizontal gap used to separate unrelated controls.- Specified by:
getUnrelatedComponentsPadXin classLayoutStyle- Returns:
- a horizontal gap between unrelated controls
- See Also:
LayoutStyle.getLabelComponentPadX(),LayoutStyle.getUnrelatedComponentsPadY(),LayoutStyle.getRelatedComponentsPadX()
-
getUnrelatedComponentsPadY
public ConstantSize getUnrelatedComponentsPadY()
Description copied from class:LayoutStyleReturns a vertical gap used to separate unrelated controls.- Specified by:
getUnrelatedComponentsPadYin classLayoutStyle- Returns:
- a vertical gap between unrelated controls
- See Also:
LayoutStyle.getUnrelatedComponentsPadX(),LayoutStyle.getRelatedComponentsPadY()
-
getNarrowLinePad
public ConstantSize 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:
LayoutStyle.getLinePad(),LayoutStyle.getParagraphPad()
-
getLinePad
public ConstantSize 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:
LayoutStyle.getNarrowLinePad(),LayoutStyle.getParagraphPad()
-
getParagraphPad
public ConstantSize 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:
LayoutStyle.getNarrowLinePad(),LayoutStyle.getLinePad()
-
getButtonBarPad
public ConstantSize 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:
LayoutStyle.getRelatedComponentsPadY(),LayoutStyle.getUnrelatedComponentsPadY()
-
-