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 BasicDesktopIconUI
BasicDesktopIconUI.MouseInputHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MouseInputListenerListener on the title label (for the dragging purposes).private Set<RadianceThemingWidget<JComponent>> private intWidth of minimized component (desktop icon).Fields inherited from class BasicDesktopIconUI
desktopIcon, frame, iconPane -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent comp) Returns the component for desktop icon hover (internal frame preview) functionality.protected voidprotected void(package private) voidInstalls the UI delegate on the desktop icon if necessary.protected voidvoid(package private) voidsetWindowModified(boolean isWindowModified) protected voidprotected void(package private) voidUninstalls the UI delegate from the desktop icon if necessary.protected voidvoidMethods inherited from class BasicDesktopIconUI
createMouseInputListener, deiconize, getInsetsMethods inherited from class 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:
installDefaultsin classBasicDesktopIconUI
-
uninstallDefaults
protected void uninstallDefaults()- Overrides:
uninstallDefaultsin classBasicDesktopIconUI
-
installComponents
protected void installComponents()- Overrides:
installComponentsin classBasicDesktopIconUI
-
uninstallComponents
protected void uninstallComponents()- Overrides:
uninstallComponentsin classBasicDesktopIconUI
-
installListeners
protected void installListeners()- Overrides:
installListenersin classBasicDesktopIconUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListenersin classBasicDesktopIconUI
-
getPreferredSize
- Overrides:
getPreferredSizein classBasicDesktopIconUI
-
getMinimumSize
- Overrides:
getMinimumSizein classBasicDesktopIconUI
-
getMaximumSize
- Overrides:
getMaximumSizein classBasicDesktopIconUI
-
installUI
- Overrides:
installUIin classBasicDesktopIconUI
-
uninstallUI
- Overrides:
uninstallUIin 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)
-