final class WindowsLayoutStyle extends LayoutStyle
LayoutStyle that aims to provide layout constants as defined by
Microsoft's User Experience Guidelines.| Modifier and Type | Field and Description |
|---|---|
private static ConstantSize |
BUTTON_BAR_PAD |
private static Size |
BUTTON_HEIGHT |
private static Size |
BUTTON_WIDTH |
private static ConstantSize |
DIALOG_MARGIN_X |
private static ConstantSize |
DIALOG_MARGIN_Y |
(package private) static WindowsLayoutStyle |
INSTANCE |
private static ConstantSize |
LABEL_COMPONENT_PADX |
private static ConstantSize |
LABEL_COMPONENT_PADY |
private static ConstantSize |
LINE_PAD |
private static ConstantSize |
NARROW_LINE_PAD |
private static ConstantSize |
PARAGRAPH_PAD |
private static ConstantSize |
RELATED_COMPONENTS_PADX |
private static ConstantSize |
RELATED_COMPONENTS_PADY |
private static ConstantSize |
TABBED_DIALOG_MARGIN_X |
private static ConstantSize |
TABBED_DIALOG_MARGIN_Y |
private static ConstantSize |
UNRELATED_COMPONENTS_PADX |
private static ConstantSize |
UNRELATED_COMPONENTS_PADY |
| Modifier | Constructor and Description |
|---|---|
private |
WindowsLayoutStyle() |
| 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, setCurrentstatic final WindowsLayoutStyle INSTANCE
private static final Size BUTTON_WIDTH
private static final Size BUTTON_HEIGHT
private static final ConstantSize DIALOG_MARGIN_X
private static final ConstantSize DIALOG_MARGIN_Y
private static final ConstantSize TABBED_DIALOG_MARGIN_X
private static final ConstantSize TABBED_DIALOG_MARGIN_Y
private static final ConstantSize LABEL_COMPONENT_PADX
private static final ConstantSize RELATED_COMPONENTS_PADX
private static final ConstantSize UNRELATED_COMPONENTS_PADX
private static final ConstantSize LABEL_COMPONENT_PADY
private static final ConstantSize RELATED_COMPONENTS_PADY
private static final ConstantSize UNRELATED_COMPONENTS_PADY
private static final ConstantSize NARROW_LINE_PAD
private static final ConstantSize LINE_PAD
private static final ConstantSize PARAGRAPH_PAD
private static final ConstantSize BUTTON_BAR_PAD
public 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()