Package org.jdesktop.swingx.icon
Interface RadianceIcon
- All Superinterfaces:
Icon,JXIcon,SizingConstants,SwingConstants
- All Known Implementing Classes:
ArrowIcon,CalendarIcon,ChevronIcon,ChevronsIcon,CircleIcon,DeletedIcon,DeleteIcon,FileIcon,FolderIcon,FolderPlusIcon,PauseIcon,PlayIcon,PlayIconSolid,RadianceIconUIResource,SearchIcon,StopIcon,TrafficLightGreenIcon,TrafficLightRedIcon,TrafficLightYellowIcon
Extension of the core
Icon interface that adds more capabilities like
resizing and color filtering.- Author:
- Kirill Grouchnikov
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceInterface for creating Radiance icons. -
Field Summary
Fields inherited from interface org.jdesktop.swingx.icon.SizingConstants
ACTION_ICON, BUTTON_ICON, L, LAUNCHER_ICON, M, N, S, SMALL_ICON, XL, XS, XXLFields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST -
Method Summary
Modifier and TypeMethodDescriptionvoidsetColorFilter(RadianceIcon.ColorFilter colorFilter) voidsetDimension(Dimension newDimension) Changes the dimension ofthisicon.booleandefault BufferedImagetoImage(double scale) Methods inherited from interface javax.swing.Icon
getIconHeight, getIconWidth, paintIconMethods inherited from interface org.jdesktop.swingx.icon.JXIcon
getRotation, isReflection, setReflection, setReflection, setRotation, setRotation
-
Method Details
-
setDimension
Changes the dimension ofthisicon.- Parameters:
newDimension- New dimension forthisicon.
-
toImage
-
supportsColorFilter
boolean supportsColorFilter() -
setColorFilter
-