Package com.formdev.flatlaf.ui
Class FlatPopupFactory.DropShadowPopup
- java.lang.Object
-
- javax.swing.Popup
-
- com.formdev.flatlaf.ui.FlatPopupFactory.NonFlashingPopup
-
- com.formdev.flatlaf.ui.FlatPopupFactory.DropShadowPopup
-
- Enclosing class:
- FlatPopupFactory
private class FlatPopupFactory.DropShadowPopup extends FlatPopupFactory.NonFlashingPopup
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.Popup
dropShadowDelegate
private javax.swing.JPanel
dropShadowPanel
private javax.swing.JPanel
dropShadowPanel2
private java.awt.Window
dropShadowWindow
private javax.swing.JComponent
lightComp
private java.awt.event.ComponentListener
mediumPanelListener
private java.awt.Panel
mediumWeightPanel
private boolean
mediumWeightShown
private javax.swing.border.Border
oldBorder
private java.awt.Color
oldDropShadowWindowBackground
private boolean
oldOpaque
-
Fields inherited from class com.formdev.flatlaf.ui.FlatPopupFactory.NonFlashingPopup
owner, popupWindow
-
-
Constructor Summary
Constructors Modifier Constructor Description private
DropShadowPopup(FlatPopupFactory.DropShadowPopup reusePopup)
(package private)
DropShadowPopup(javax.swing.Popup delegate, java.awt.Component owner, java.awt.Component contents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) FlatPopupFactory.NonFlashingPopup
cloneForReuse()
private javax.swing.border.Border
createDropShadowBorder()
(package private) void
hideImpl()
private void
hideMediumWeightDropShadow()
private void
moveMediumWeightDropShadow()
(package private) void
reset(java.awt.Component contents, int ownerX, int ownerY)
private void
resizeMediumWeightDropShadow()
(package private) void
showImpl()
private void
showMediumWeightDropShadow()
-
Methods inherited from class com.formdev.flatlaf.ui.FlatPopupFactory.NonFlashingPopup
hide, show
-
-
-
-
Field Detail
-
lightComp
private javax.swing.JComponent lightComp
-
oldBorder
private javax.swing.border.Border oldBorder
-
oldOpaque
private boolean oldOpaque
-
mediumWeightShown
private boolean mediumWeightShown
-
mediumWeightPanel
private java.awt.Panel mediumWeightPanel
-
dropShadowPanel
private javax.swing.JPanel dropShadowPanel
-
mediumPanelListener
private java.awt.event.ComponentListener mediumPanelListener
-
dropShadowDelegate
private javax.swing.Popup dropShadowDelegate
-
dropShadowWindow
private java.awt.Window dropShadowWindow
-
dropShadowPanel2
private javax.swing.JPanel dropShadowPanel2
-
oldDropShadowWindowBackground
private java.awt.Color oldDropShadowWindowBackground
-
-
Constructor Detail
-
DropShadowPopup
DropShadowPopup(javax.swing.Popup delegate, java.awt.Component owner, java.awt.Component contents)
-
DropShadowPopup
private DropShadowPopup(FlatPopupFactory.DropShadowPopup reusePopup)
-
-
Method Detail
-
cloneForReuse
FlatPopupFactory.NonFlashingPopup cloneForReuse()
- Overrides:
cloneForReuse
in classFlatPopupFactory.NonFlashingPopup
-
createDropShadowBorder
private javax.swing.border.Border createDropShadowBorder()
-
showImpl
void showImpl()
- Overrides:
showImpl
in classFlatPopupFactory.NonFlashingPopup
-
hideImpl
void hideImpl()
- Overrides:
hideImpl
in classFlatPopupFactory.NonFlashingPopup
-
showMediumWeightDropShadow
private void showMediumWeightDropShadow()
-
hideMediumWeightDropShadow
private void hideMediumWeightDropShadow()
-
moveMediumWeightDropShadow
private void moveMediumWeightDropShadow()
-
resizeMediumWeightDropShadow
private void resizeMediumWeightDropShadow()
-
reset
void reset(java.awt.Component contents, int ownerX, int ownerY)
- Overrides:
reset
in classFlatPopupFactory.NonFlashingPopup
-
-