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 interface
static interface
Interface 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, XXL
Fields 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 TypeMethodDescriptionvoid
setColorFilter
(RadianceIcon.ColorFilter colorFilter) void
setDimension
(Dimension newDimension) Changes the dimension ofthis
icon.boolean
default BufferedImage
toImage
(double scale) Methods inherited from interface javax.swing.Icon
getIconHeight, getIconWidth, paintIcon
Methods inherited from interface org.jdesktop.swingx.icon.JXIcon
getRotation, isReflection, setReflection, setReflection, setRotation, setRotation
-
Method Details
-
setDimension
Changes the dimension ofthis
icon.- Parameters:
newDimension
- New dimension forthis
icon.
-
toImage
-
supportsColorFilter
boolean supportsColorFilter() -
setColorFilter
-