Package com.jgoodies.looks.common
Class ExtBasicPopupMenuSeparatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SeparatorUI
javax.swing.plaf.basic.BasicSeparatorUI
javax.swing.plaf.basic.BasicPopupMenuSeparatorUI
com.jgoodies.looks.common.ExtBasicPopupMenuSeparatorUI
Renders the separator in popup and pull-down menus.
Unlike its superclass we use a setting for the insets and
it uses a shared UI delegate.
- Version:
- $Revision: 1.8 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Insetsprivate static ComponentUIShared UI object.private static final intFields inherited from class javax.swing.plaf.basic.BasicSeparatorUI
highlight, shadow -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIprotected voidvoidpaint(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI
getMaximumSize, getMinimumSize, installListeners, installUI, uninstallDefaults, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Field Details
-
SEPARATOR_HEIGHT
private static final int SEPARATOR_HEIGHT- See Also:
-
insets
-
popupMenuSeparatorUI
Shared UI object.
-
-
Constructor Details
-
ExtBasicPopupMenuSeparatorUI
public ExtBasicPopupMenuSeparatorUI()
-
-
Method Details
-
createUI
-
installDefaults
- Overrides:
installDefaultsin classBasicSeparatorUI
-
paint
- Overrides:
paintin classBasicPopupMenuSeparatorUI
-
getPreferredSize
- Overrides:
getPreferredSizein classBasicPopupMenuSeparatorUI
-