Class FlatPopupMenuBorder
- All Implemented Interfaces:
FlatStylingSupport.StyleableObject, Serializable, Border, UIResource
public class FlatPopupMenuBorder
extends FlatLineBorder
implements FlatStylingSupport.StyleableObject
Border for
JPopupMenu.- See Also:
- UiDefault:
- PopupMenu.borderInsets Insets, PopupMenu.borderColor Color
-
Field Summary
Fields inherited from class EmptyBorder
bottom, left, right, top -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyStyleProperty(String key, Object value) Applies the given value to this object.getBorderInsets(Component c, Insets insets) Returns a map of all styleable properties.getStyleableValue(String key) Returns the current value for the given property key.Methods inherited from class FlatLineBorder
getArc, getLineThickness, paintBorderMethods inherited from class FlatEmptyBorder
applyStyleProperty, getBorderInsets, getStyleableValue, getUnscaledBorderInsets, scaleInsetsMethods inherited from class EmptyBorder
isBorderOpaqueMethods inherited from class AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
FlatPopupMenuBorder
public FlatPopupMenuBorder()
-
-
Method Details
-
applyStyleProperty
Description copied from interface:FlatStylingSupport.StyleableObjectApplies the given value to this object.The default implementation invokes
FlatStylingSupport.applyToAnnotatedObject(Object, String, Object).- Specified by:
applyStylePropertyin interfaceFlatStylingSupport.StyleableObject- Parameters:
key- the name of the propertyvalue- the new value- Returns:
- the old value of the property
- Since:
- 2
-
getStyleableInfos
Description copied from interface:FlatStylingSupport.StyleableObjectReturns a map of all styleable properties. The key is the name of the property and the value the type of the property.The default implementation invokes
FlatStylingSupport.getAnnotatedStyleableInfos(Object).- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableObject- Since:
- 2
-
getStyleableValue
Description copied from interface:FlatStylingSupport.StyleableObjectReturns the current value for the given property key.The default implementation invokes
FlatStylingSupport.getAnnotatedStyleableValue(Object, String).- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableObject- Parameters:
key- the name of the property- Returns:
- the current value of the property
- Since:
- 2.5
-
getLineColor
- Overrides:
getLineColorin classFlatLineBorder
-
getBorderInsets
- Overrides:
getBorderInsetsin classFlatEmptyBorder
-