public class PaletteSliderThumbIcon extends MultiIcon
Constructor and Description |
---|
PaletteSliderThumbIcon(javax.swing.Icon[] icons)
Creates a new instance.
|
PaletteSliderThumbIcon(javax.swing.Icon e,
javax.swing.Icon ep,
javax.swing.Icon d,
javax.swing.Icon i,
javax.swing.Icon di)
Creates a new instance.
|
PaletteSliderThumbIcon(java.awt.Image[] images)
Creates a new instance.
|
PaletteSliderThumbIcon(java.awt.Image tiledImage,
int tileCount,
boolean isTiledHorizontaly)
Creates a new instance.
|
PaletteSliderThumbIcon(java.lang.String resource,
int tileCount,
boolean isTiledHorizontaly)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
generateMissingIcons() |
protected javax.swing.Icon |
getIcon(java.awt.Component c) |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
getIconHeight, getIconWidth
public PaletteSliderThumbIcon(javax.swing.Icon e, javax.swing.Icon ep, javax.swing.Icon d, javax.swing.Icon i, javax.swing.Icon di)
public PaletteSliderThumbIcon(java.awt.Image[] images)
public PaletteSliderThumbIcon(javax.swing.Icon[] icons)
public PaletteSliderThumbIcon(java.awt.Image tiledImage, int tileCount, boolean isTiledHorizontaly)
public PaletteSliderThumbIcon(java.lang.String resource, int tileCount, boolean isTiledHorizontaly)
resource
- A resource URL.tileCount
- The number of tiles.isTiledHorizontaly
- True if the image is to be tilled horizontally,
false for vertically.protected void generateMissingIcons()
generateMissingIcons
in class MultiIcon
protected javax.swing.Icon getIcon(java.awt.Component c)