Package org.jdesktop.swingx.icon
Class DeletedIcon
java.lang.Object
org.jdesktop.swingx.icon.DeletedIcon
- All Implemented Interfaces:
Icon
,SwingConstants
,JXIcon
,RadianceIcon
,SizingConstants
This class has been automatically generated using
Radiance SVG converter.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdesktop.swingx.icon.RadianceIcon
RadianceIcon.ColorFilter, RadianceIcon.Factory
-
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 TypeMethodDescriptionstatic RadianceIcon.Factory
factory()
Returns a factory that returns instances of this icon on demand.int
int
static double
Returns the height of the bounding box of the original SVG image.static double
Returns the width of the bounding box of the original SVG image.static double
getOrigX()
Returns the X of the bounding box of the original SVG image.static double
getOrigY()
Returns the Y of the bounding box of the original SVG image.double
boolean
static RadianceIcon
of
(int width, int height) Returns a new instance of this icon with specified dimensions.void
void
setColorFilter
(RadianceIcon.ColorFilter colorFilter) void
setDimension
(Dimension newDimension) Changes the dimension ofthis
icon.void
setReflection
(boolean horizontal, boolean vertical) A hint for point/axis reflection (mirroring) the icon when painting.void
setRotation
(double theta) A hint to rotate the icon when paintingboolean
static RadianceIconUIResource
uiResourceOf
(int width, int height) Returns a newUIResource
instance of this icon with specified dimensions.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdesktop.swingx.icon.JXIcon
setReflection, setRotation
Methods inherited from interface org.jdesktop.swingx.icon.RadianceIcon
toImage
-
Method Details
-
setReflection
public void setReflection(boolean horizontal, boolean vertical) Description copied from interface:JXIcon
A hint for point/axis reflection (mirroring) the icon when painting.setReflection(true, true)
means point reflection- Specified by:
setReflection
in interfaceJXIcon
- Parameters:
horizontal
- will mirror the icon horizontal (X axis)vertical
- will mirror the icon vertical (Y axis)
-
isReflection
public boolean isReflection()- Specified by:
isReflection
in interfaceJXIcon
-
setRotation
public void setRotation(double theta) Description copied from interface:JXIcon
A hint to rotate the icon when painting- Specified by:
setRotation
in interfaceJXIcon
- Parameters:
theta
- the angle of rotation in radians, zero means no rotation
-
getRotation
public double getRotation()- Specified by:
getRotation
in interfaceJXIcon
-
getOrigX
public static double getOrigX()Returns the X of the bounding box of the original SVG image.- Returns:
- The X of the bounding box of the original SVG image.
-
getOrigY
public static double getOrigY()Returns the Y of the bounding box of the original SVG image.- Returns:
- The Y of the bounding box of the original SVG image.
-
getOrigWidth
public static double getOrigWidth()Returns the width of the bounding box of the original SVG image.- Returns:
- The width of the bounding box of the original SVG image.
-
getOrigHeight
public static double getOrigHeight()Returns the height of the bounding box of the original SVG image.- Returns:
- The height of the bounding box of the original SVG image.
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
setDimension
Description copied from interface:RadianceIcon
Changes the dimension ofthis
icon.- Specified by:
setDimension
in interfaceRadianceIcon
- Parameters:
newDimension
- New dimension forthis
icon.
-
supportsColorFilter
public boolean supportsColorFilter()- Specified by:
supportsColorFilter
in interfaceRadianceIcon
-
setColorFilter
- Specified by:
setColorFilter
in interfaceRadianceIcon
-
paintIcon
-
of
Returns a new instance of this icon with specified dimensions.- Parameters:
width
- Required width of the iconheight
- Required height of the icon- Returns:
- A new instance of this icon with specified dimensions.
-
uiResourceOf
Returns a newUIResource
instance of this icon with specified dimensions.- Parameters:
width
- Required width of the iconheight
- Required height of the icon- Returns:
- A new
UIResource
instance of this icon with specified dimensions.
-
factory
Returns a factory that returns instances of this icon on demand.- Returns:
- Factory that returns instances of this icon on demand.
-