Package com.formdev.flatlaf.ui
Class FlatTitlePane.FlatTitleLabelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.LabelUI
-
- javax.swing.plaf.basic.BasicLabelUI
-
- com.formdev.flatlaf.ui.FlatLabelUI
-
- com.formdev.flatlaf.ui.FlatTitlePane.FlatTitleLabelUI
-
- All Implemented Interfaces:
FlatStylingSupport.StyleableUI,java.beans.PropertyChangeListener,java.util.EventListener
- Enclosing class:
- FlatTitlePane
protected class FlatTitlePane.FlatTitleLabelUI extends FlatLabelUI
- Since:
- 1.1
-
-
Field Summary
-
Fields inherited from class com.formdev.flatlaf.ui.FlatLabelUI
arc, disabledForeground
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFlatTitleLabelUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleanhasLeadingMenus(javax.swing.JMenuBar menuBar)protected voidinstallDefaults(javax.swing.JLabel c)protected java.lang.StringlayoutCL(javax.swing.JLabel label, java.awt.FontMetrics fontMetrics, java.lang.String text, javax.swing.Icon icon, java.awt.Rectangle viewR, java.awt.Rectangle iconR, java.awt.Rectangle textR)Overridden to scale iconTextGap.-
Methods inherited from class com.formdev.flatlaf.ui.FlatLabelUI
applyStyle, applyStyleProperty, createGraphicsHTMLTextYCorrection, createUI, getStyleableInfos, getStyleableValue, installComponents, installStyle, installUI, paint, paintDisabledText, paintEnabledText, propertyChange, uninstallDefaults, update
-
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
installDefaults
protected void installDefaults(javax.swing.JLabel c)
- Overrides:
installDefaultsin classFlatLabelUI
-
layoutCL
protected java.lang.String layoutCL(javax.swing.JLabel label, java.awt.FontMetrics fontMetrics, java.lang.String text, javax.swing.Icon icon, java.awt.Rectangle viewR, java.awt.Rectangle iconR, java.awt.Rectangle textR)Description copied from class:FlatLabelUIOverridden to scale iconTextGap.- Overrides:
layoutCLin classFlatLabelUI
-
hasLeadingMenus
private boolean hasLeadingMenus(javax.swing.JMenuBar menuBar)
-
-