Class FlatPanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
javax.swing.plaf.basic.BasicPanelUI
com.formdev.flatlaf.ui.FlatPanelUI
- All Implemented Interfaces:
FlatStylingSupport.StyleableUI, PropertyChangeListener, EventListener
public class FlatPanelUI
extends BasicPanelUI
implements FlatStylingSupport.StyleableUI, PropertyChangeListener
Provides the Flat LaF UI delegate for
JPanel.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyStyle(JPanel c, Object style) protected ObjectapplyStyleProperty(JPanel c, String key, Object value) static ComponentUIstatic voidfillRoundedBackground(Graphics g, JComponent c, int arc) getStyleableValue(JComponent c, String key) protected voidprotected voidvoidvoidpaint(Graphics g, JComponent c) voidvoidvoidupdate(Graphics g, JComponent c) Methods inherited from class BasicPanelUI
getBaseline, getBaselineResizeBehavior, uninstallDefaultsMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize
-
Field Details
-
arc
protected int arc- Since:
- 2
-
oldStyleValues
-
-
Constructor Details
-
FlatPanelUI
protected FlatPanelUI(boolean shared) - Since:
- 2
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUIin classBasicPanelUI
-
uninstallUI
- Overrides:
uninstallUIin classBasicPanelUI
-
installDefaults
- Overrides:
installDefaultsin classBasicPanelUI
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener- Since:
- 2.0.1
-
installStyle
- Since:
- 2
-
applyStyle
-
applyStyleProperty
-
getStyleableInfos
- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableUI- Since:
- 2
-
getStyleableValue
- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableUI- Since:
- 2.5
-
update
- Overrides:
updatein classComponentUI
-
fillRoundedBackground
- Since:
- 3.5
-
getPreferredSize
- Overrides:
getPreferredSizein classComponentUI
-
paint
- Overrides:
paintin classComponentUI
-