|
JHotDraw 7.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jhotdraw.gui.plaf.palette.MultiIcon org.jhotdraw.gui.plaf.palette.SliderThumbIcon
public class SliderThumbIcon
An Icon with different visuals reflecting the state of the slider on which it draws on.
Field Summary |
---|
Fields inherited from class org.jhotdraw.gui.plaf.palette.MultiIcon |
---|
icons |
Constructor Summary | |
---|---|
SliderThumbIcon(javax.swing.Icon[] icons)
Creates a new instance. |
|
SliderThumbIcon(javax.swing.Icon e,
javax.swing.Icon ep,
javax.swing.Icon d,
javax.swing.Icon i,
javax.swing.Icon di)
Creates a new instance. |
|
SliderThumbIcon(java.awt.Image[] images)
Creates a new instance. |
|
SliderThumbIcon(java.awt.Image tiledImage,
int tileCount,
boolean isTiledHorizontaly)
Creates a new instance. |
Method Summary | |
---|---|
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)
|
Methods inherited from class org.jhotdraw.gui.plaf.palette.MultiIcon |
---|
getIconHeight, getIconWidth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SliderThumbIcon(javax.swing.Icon e, javax.swing.Icon ep, javax.swing.Icon d, javax.swing.Icon i, javax.swing.Icon di)
public SliderThumbIcon(java.awt.Image[] images)
public SliderThumbIcon(javax.swing.Icon[] icons)
public SliderThumbIcon(java.awt.Image tiledImage, int tileCount, boolean isTiledHorizontaly)
Method Detail |
---|
protected void generateMissingIcons()
generateMissingIcons
in class MultiIcon
protected javax.swing.Icon getIcon(java.awt.Component c)
getIcon
in class MultiIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
paintIcon
in class MultiIcon
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |