Class RadianceDesktopIconUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.DesktopIconUI
javax.swing.plaf.basic.BasicDesktopIconUI
org.pushingpixels.radiance.theming.internal.ui.RadianceDesktopIconUI
UI for desktop icons in Radiance look and feel.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicDesktopIconUI
BasicDesktopIconUI.MouseInputHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MouseInputListener
Listener on the title label (for the dragging purposes).private Set
<RadianceThemingWidget<JComponent>> private int
Width of minimized component (desktop icon).Fields inherited from class javax.swing.plaf.basic.BasicDesktopIconUI
desktopIcon, frame, iconPane
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI
(JComponent comp) Returns the component for desktop icon hover (internal frame preview) functionality.protected void
protected void
(package private) void
Installs the UI delegate on the desktop icon if necessary.protected void
void
(package private) void
setWindowModified
(boolean isWindowModified) protected void
protected void
(package private) void
Uninstalls the UI delegate from the desktop icon if necessary.protected void
void
Methods inherited from class javax.swing.plaf.basic.BasicDesktopIconUI
createMouseInputListener, deiconize, getInsets
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
-
Field Details
-
radianceLabelMouseInputListener
Listener on the title label (for the dragging purposes). -
width
private int widthWidth of minimized component (desktop icon). -
themingWidgets
-
-
Constructor Details
-
RadianceDesktopIconUI
protected RadianceDesktopIconUI()
-
-
Method Details
-
createUI
-
installDefaults
protected void installDefaults()- Overrides:
installDefaults
in classBasicDesktopIconUI
-
uninstallDefaults
protected void uninstallDefaults()- Overrides:
uninstallDefaults
in classBasicDesktopIconUI
-
installComponents
protected void installComponents()- Overrides:
installComponents
in classBasicDesktopIconUI
-
uninstallComponents
protected void uninstallComponents()- Overrides:
uninstallComponents
in classBasicDesktopIconUI
-
installListeners
protected void installListeners()- Overrides:
installListeners
in classBasicDesktopIconUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListeners
in classBasicDesktopIconUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classBasicDesktopIconUI
-
getMinimumSize
- Overrides:
getMinimumSize
in classBasicDesktopIconUI
-
getMaximumSize
- Overrides:
getMaximumSize
in classBasicDesktopIconUI
-
installUI
- Overrides:
installUI
in classBasicDesktopIconUI
-
uninstallUI
- Overrides:
uninstallUI
in classBasicDesktopIconUI
-
getComponentForHover
Returns the component for desktop icon hover (internal frame preview) functionality.- Returns:
- The component for desktop icon hover (internal frame preview) functionality.
-
installIfNecessary
Installs the UI delegate on the desktop icon if necessary.- Parameters:
jdi
- Desktop icon.
-
uninstallIfNecessary
Uninstalls the UI delegate from the desktop icon if necessary.- Parameters:
jdi
- Desktop icon.
-
setWindowModified
void setWindowModified(boolean isWindowModified)
-