|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface RolloverIcon.IconRolloverSupport
An interface that should be implemented on a component if you want to use an icon that supports rollover and fade (fade in or fade out) effect.
Method Summary | |
---|---|
float |
getIconAlpha()
Gets the icon alpha value. |
boolean |
isIconFade()
Checks if the icon should be faded. |
boolean |
isIconRollover(int x,
int y,
int width,
int height)
Checks if the mouse is over an icon. |
Method Detail |
---|
boolean isIconRollover(int x, int y, int width, int height)
x
- x of the icony
- y of the iconwidth
- icon widthheight
- icon height
boolean isIconFade()
getIconAlpha()
immediately to find out the alpha value of the fade. In your implementation, you can use an Animator or any
other animation frameworks to change the iconAlpha value and ask the icon to repaint itself again.
getIconAlpha()
will be called to find
out the alpha value.float getIconAlpha()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |