public final class MacLayoutStyle extends LayoutStyle
LayoutStyle that aims to provide layout constants as defined by
Microsoft's User Experience Guidelines.| Modifier and Type | Method and Description |
|---|---|
ConstantSize |
getButtonBarPad()
Returns a pad used to separate a button bar from a component.
|
Size |
getDefaultButtonHeight()
Returns this style's default button height.
|
Size |
getDefaultButtonWidth()
Returns this style's default button width.
|
ConstantSize |
getDialogMarginX()
Returns this style's horizontal margin for general dialogs.
|
ConstantSize |
getDialogMarginY()
Returns this style's vertical margin for general dialogs.
|
ConstantSize |
getLabelComponentPadX()
Returns a gap used to separate a label and associated control.
|
ConstantSize |
getLabelComponentPadY()
Returns a gap used to separate a label and associated control.
|
ConstantSize |
getLinePad()
Returns a narrow vertical pad used to separate lines.
|
ConstantSize |
getNarrowLinePad()
Returns a narrow vertical pad used to separate lines.
|
ConstantSize |
getParagraphPad()
Returns a pad used to separate paragraphs.
|
ConstantSize |
getRelatedComponentsPadX()
Returns a horizontal gap used to separate related controls.
|
ConstantSize |
getRelatedComponentsPadY()
Returns a vertical gap used to separate related controls.
|
ConstantSize |
getTabbedDialogMarginX()
Returns this style's horizontal margin for dialogs that consist of
a tabbed pane.
|
ConstantSize |
getTabbedDialogMarginY()
Returns this style's vertical margin for dialogs that consist of
a tabbed pane.
|
ConstantSize |
getUnrelatedComponentsPadX()
Returns a horizontal gap used to separate unrelated controls.
|
ConstantSize |
getUnrelatedComponentsPadY()
Returns a vertical gap used to separate unrelated controls.
|
getCurrent, setCurrentpublic Size getDefaultButtonWidth()
LayoutStylegetDefaultButtonWidth in class LayoutStyleLayoutStyle.getDefaultButtonHeight()public Size getDefaultButtonHeight()
LayoutStylegetDefaultButtonHeight in class LayoutStyleLayoutStyle.getDefaultButtonWidth()public ConstantSize getDialogMarginX()
LayoutStylegetDialogMarginX in class LayoutStyleLayoutStyle.getDialogMarginY(),
LayoutStyle.getTabbedDialogMarginX()public ConstantSize getDialogMarginY()
LayoutStylegetDialogMarginY in class LayoutStyleLayoutStyle.getDialogMarginX(),
LayoutStyle.getTabbedDialogMarginY()public ConstantSize getTabbedDialogMarginX()
LayoutStylegetTabbedDialogMarginX in class LayoutStyleLayoutStyle.getTabbedDialogMarginY(),
LayoutStyle.getDialogMarginX()public ConstantSize getTabbedDialogMarginY()
LayoutStylegetTabbedDialogMarginY in class LayoutStyleLayoutStyle.getTabbedDialogMarginX(),
LayoutStyle.getDialogMarginY()public ConstantSize getLabelComponentPadX()
LayoutStylegetLabelComponentPadX in class LayoutStyleLayoutStyle.getRelatedComponentsPadX(),
LayoutStyle.getUnrelatedComponentsPadX()public ConstantSize getLabelComponentPadY()
LayoutStylegetLabelComponentPadY in class LayoutStyleLayoutStyle.getRelatedComponentsPadY(),
LayoutStyle.getUnrelatedComponentsPadY()public ConstantSize getRelatedComponentsPadX()
LayoutStylegetRelatedComponentsPadX in class LayoutStyleLayoutStyle.getLabelComponentPadX(),
LayoutStyle.getRelatedComponentsPadY(),
LayoutStyle.getUnrelatedComponentsPadX()public ConstantSize getRelatedComponentsPadY()
LayoutStylegetRelatedComponentsPadY in class LayoutStyleLayoutStyle.getRelatedComponentsPadX(),
LayoutStyle.getUnrelatedComponentsPadY()public ConstantSize getUnrelatedComponentsPadX()
LayoutStylegetUnrelatedComponentsPadX in class LayoutStyleLayoutStyle.getLabelComponentPadX(),
LayoutStyle.getUnrelatedComponentsPadY(),
LayoutStyle.getRelatedComponentsPadX()public ConstantSize getUnrelatedComponentsPadY()
LayoutStylegetUnrelatedComponentsPadY in class LayoutStyleLayoutStyle.getUnrelatedComponentsPadX(),
LayoutStyle.getRelatedComponentsPadY()public ConstantSize getNarrowLinePad()
LayoutStylegetNarrowLinePad in class LayoutStyleLayoutStyle.getLinePad(),
LayoutStyle.getParagraphPad()public ConstantSize getLinePad()
LayoutStylegetLinePad in class LayoutStyleLayoutStyle.getNarrowLinePad(),
LayoutStyle.getParagraphPad()public ConstantSize getParagraphPad()
LayoutStylegetParagraphPad in class LayoutStyleLayoutStyle.getNarrowLinePad(),
LayoutStyle.getLinePad()public ConstantSize getButtonBarPad()
LayoutStylegetButtonBarPad in class LayoutStyleLayoutStyle.getRelatedComponentsPadY(),
LayoutStyle.getUnrelatedComponentsPadY()Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.