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, setCurrent
public Size getDefaultButtonWidth()
LayoutStyle
getDefaultButtonWidth
in class LayoutStyle
LayoutStyle.getDefaultButtonHeight()
public Size getDefaultButtonHeight()
LayoutStyle
getDefaultButtonHeight
in class LayoutStyle
LayoutStyle.getDefaultButtonWidth()
public ConstantSize getDialogMarginX()
LayoutStyle
getDialogMarginX
in class LayoutStyle
LayoutStyle.getDialogMarginY()
,
LayoutStyle.getTabbedDialogMarginX()
public ConstantSize getDialogMarginY()
LayoutStyle
getDialogMarginY
in class LayoutStyle
LayoutStyle.getDialogMarginX()
,
LayoutStyle.getTabbedDialogMarginY()
public ConstantSize getTabbedDialogMarginX()
LayoutStyle
getTabbedDialogMarginX
in class LayoutStyle
LayoutStyle.getTabbedDialogMarginY()
,
LayoutStyle.getDialogMarginX()
public ConstantSize getTabbedDialogMarginY()
LayoutStyle
getTabbedDialogMarginY
in class LayoutStyle
LayoutStyle.getTabbedDialogMarginX()
,
LayoutStyle.getDialogMarginY()
public ConstantSize getLabelComponentPadX()
LayoutStyle
getLabelComponentPadX
in class LayoutStyle
LayoutStyle.getRelatedComponentsPadX()
,
LayoutStyle.getUnrelatedComponentsPadX()
public ConstantSize getLabelComponentPadY()
LayoutStyle
getLabelComponentPadY
in class LayoutStyle
LayoutStyle.getRelatedComponentsPadY()
,
LayoutStyle.getUnrelatedComponentsPadY()
public ConstantSize getRelatedComponentsPadX()
LayoutStyle
getRelatedComponentsPadX
in class LayoutStyle
LayoutStyle.getLabelComponentPadX()
,
LayoutStyle.getRelatedComponentsPadY()
,
LayoutStyle.getUnrelatedComponentsPadX()
public ConstantSize getRelatedComponentsPadY()
LayoutStyle
getRelatedComponentsPadY
in class LayoutStyle
LayoutStyle.getRelatedComponentsPadX()
,
LayoutStyle.getUnrelatedComponentsPadY()
public ConstantSize getUnrelatedComponentsPadX()
LayoutStyle
getUnrelatedComponentsPadX
in class LayoutStyle
LayoutStyle.getLabelComponentPadX()
,
LayoutStyle.getUnrelatedComponentsPadY()
,
LayoutStyle.getRelatedComponentsPadX()
public ConstantSize getUnrelatedComponentsPadY()
LayoutStyle
getUnrelatedComponentsPadY
in class LayoutStyle
LayoutStyle.getUnrelatedComponentsPadX()
,
LayoutStyle.getRelatedComponentsPadY()
public ConstantSize getNarrowLinePad()
LayoutStyle
getNarrowLinePad
in class LayoutStyle
LayoutStyle.getLinePad()
,
LayoutStyle.getParagraphPad()
public ConstantSize getLinePad()
LayoutStyle
getLinePad
in class LayoutStyle
LayoutStyle.getNarrowLinePad()
,
LayoutStyle.getParagraphPad()
public ConstantSize getParagraphPad()
LayoutStyle
getParagraphPad
in class LayoutStyle
LayoutStyle.getNarrowLinePad()
,
LayoutStyle.getLinePad()
public ConstantSize getButtonBarPad()
LayoutStyle
getButtonBarPad
in class LayoutStyle
LayoutStyle.getRelatedComponentsPadY()
,
LayoutStyle.getUnrelatedComponentsPadY()
Copyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.