Method Summary |
|
public static float | getAdjustedSize(int fontSize, float baseSize, int forEachBase, float toAdjustBy) Gets the adjusted size. |
public static int | getAdjustedSize(int fontSize, int baseSize, int forEachBase, int toAdjustBy, boolean toRoundAsEven) Gets the adjusted size. |
public static int | getArrowIconHeight(int fontSize) Returns the height of arrow icons under the specified font size.
Parameters: fontSize - Font size. |
public static int | getArrowIconWidth(int fontSize) Returns the width of arrow icons under the specified font size.
Parameters: fontSize - Font size. |
public static float | getArrowStrokeWidth(int fontSize) Returns the stroke width of arrow icons under the specified font size.
Parameters: fontSize - Font size. |
public static int | getBigDragBumpDiameter(int fontSize) Returns the diameter of a big drag bump dot under the specified font
size.
Parameters: fontSize - Font size. |
public static float | getBorderStrokeWidth(int fontSize) Returns the stroke width of borders under the specified font size.
Parameters: fontSize - Font size. |
public static Border | getCheckBoxBorder(int fontSize) Returns the border for check boxes under the specified font size.
Parameters: fontSize - Font size. |
public static int | getCheckBoxMarkSize(int fontSize) Returns the check mark size for check boxes under the specified font
size.
Parameters: fontSize - Font size. |
public static float | getClassicButtonCornerRadius(int fontSize) Returns the corner radius for
ClassicButtonShaper under the
specified font size.
Parameters: fontSize - Font size. |
public static Insets | getComboBorderInsets(int fontSize) Returns the combo box border insets under the specified font size.
Parameters: fontSize - Font size. |
public static Insets | getComboTextBorderInsets(int fontSize) Returns the combo box text border insets under the specified font size.
Parameters: fontSize - Font size. |
public static int | getComponentFontSize(Component c) Computes the font size for the specified component. |
public static int | getControlFontSize() Gets the current control font size. |
public static Insets | getDefaultBorderInsets(int fontSize) Returns the default border insets under the specified font size.
Parameters: fontSize - Font size. |
public static float | getDoubleArrowStrokeWidth(int fontSize) Returns the stroke width of double arrow icons under the specified font
size.
Parameters: fontSize - Font size. |
public static int | getDragBumpDiameter(int fontSize) Returns the diameter of a drag bump dot under the specified font size.
Parameters: fontSize - Font size. |
public static int | getExtraPadding(int fontSize) Returns the extra padding amount under the specified font size.
Parameters: fontSize - Font size. |
public static float | getFocusStrokeWidth(int fontSize) Returns the stroke width of focus rings under the specified font size.
Parameters: fontSize - Font size. |
public static Insets | getListCellRendererInsets(int fontSize) Returns the list cell renderer insets under the specified font size.
Parameters: fontSize - Font size. |
public static int | getMenuCheckMarkSize(int fontSize) Returns the check mark size of check box menu items and radio button menu
items under the specified font size.
Parameters: fontSize - Font size. |
public static int | getMenuItemMargin(int fontSize) Returns the margin for menu items under the specified font size.
Parameters: fontSize - Font size. |
public static int | getMenuTextIconGap(int fontSize) Returns the gap between text and icon in menu items under the specified
font size.
Parameters: fontSize - Font size. |
public static int | getMinButtonHeight(int fontSize) Returns the minimum button height under the specified font size.
Parameters: fontSize - Font size. |
public static int | getMinButtonWidth(int fontSize) Returns the maximum button height under the specified font size.
Parameters: fontSize - Font size. |
public static int | getPasswordDotDiameter(int fontSize) Returns the password dot diameter for password fields under the specified
font size.
Parameters: fontSize - Font size. |
public static int | getPasswordDotGap(int fontSize) Returns the password dot gap for password fields under the specified font
size.
Parameters: fontSize - Font size. |
public static double | getPointsToPixelsRatio() |
public static Border | getRadioButtonBorder(int fontSize) Returns the border for radio buttons under the specified font size.
Parameters: fontSize - Font size. |
public static int | getRadioButtonMarkSize(int fontSize) Returns the check mark size for radio buttons under the specified font
size.
Parameters: fontSize - Font size. |
public static int | getScrollBarWidth(int fontSize) Returns the width of scroll bars under the specified font size.
Parameters: fontSize - Font size. |
public static int | getSliderIconSize(int fontSize) Returns the slider thumb icon size under the specified font size.
Parameters: fontSize - Font size. |
public static int | getSliderTickSize(int fontSize) Returns the slider tick size under the specified font size.
Parameters: fontSize - Font size. |
public static int | getSliderTrackSize(int fontSize) Returns the slider track size under the specified font size.
Parameters: fontSize - Font size. |
public static Insets | getSpinnerArrowButtonInsets(int fontSize) Returns the spinner arrow button insets under the specified font size.
Parameters: fontSize - Font size. |
public static Insets | getSpinnerBorderInsets(int fontSize) Returns the spinner border insets under the specified font size.
Parameters: fontSize - Font size. |
public static int | getSpinnerButtonWidth(int fontSize) Returns the spinner button width under the specified font size.
Parameters: fontSize - Font size. |
public static Insets | getSpinnerTextBorderInsets(int fontSize) Returns the spinner text border insets under the specified font size.
Parameters: fontSize - Font size. |
public static float | getTabCloseButtonStrokeWidth(int fontSize) Returns the stroke width of tab close buttons under the specified size.
Parameters: fontSize - Font size. |
public static int | getTabCloseIconSize(int fontSize) Returns the icon size of tab close buttons under the specified size.
Parameters: fontSize - Font size. |
public static Insets | getTabbedPaneContentInsets(int fontSize) Returns the tabbed pane content insets under the specified size. |
public static Insets | getTableCellRendererInsets(int fontSize) Returns the table cell renderer insets under the specified font size.
Parameters: fontSize - Font size. |
public static Insets | getTextBorderInsets(int fontSize) Returns the text border insets under the specified font size.
Parameters: fontSize - Font size. |
public static int | getTitlePaneIconSize() Returns the icon size of title pane buttons under the specified size.
Parameters: fontSize - Font size. |
public static int | getToolBarDragInset(int fontSize) Returns the tool bar drag inset under the specified font size.
Parameters: fontSize - Font size. |
public static Insets | getToolBarInsets(int fontSize) Returns the tool bar insets under the specified font size.
Parameters: fontSize - Font size. |
public static int | getTreeIconSize(int fontSize) Returns the icon size of tree expand / collapse icons under the specified
size.
Parameters: fontSize - Font size. |
public static void | resetPointsToPixelsRatio(FontPolicy fontPolicy) |
public static void | setControlFontSize(int size) Sets the new value for the control font size. |