|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.effects.Falloff
public class Falloff
The Falloff class.
Nested Class Summary | |
---|---|
static class |
Falloff.HoverFalloffConstraint
falloff constraint. |
static class |
Falloff.HoverFalloffType
falloff type. |
Field Summary | |
---|---|
static String |
HOVER_FALLOFF_CONSTRAINT
falloff constraint. |
static String |
HOVER_FALLOFF_TYPE
fallofftype. |
static String |
HOVER_HEIGHT
hover height. |
static String |
HOVER_WIDTH
hover width. |
Constructor Summary | |
---|---|
Falloff()
|
|
Falloff(Properties parameter)
Falloff constructor. |
Method Summary | |
---|---|
void |
applyProperties(Properties parameter)
apply properties. |
Falloff.HoverFalloffConstraint |
getFalloffConstraint()
|
float |
getFalloffValue()
|
boolean |
isInside(Element widget,
int x,
int y)
|
void |
updateFalloffValue(Element element,
int mouseX,
int mouseY)
calc falloff diszance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HOVER_FALLOFF_TYPE
public static final String HOVER_FALLOFF_CONSTRAINT
public static final String HOVER_WIDTH
public static final String HOVER_HEIGHT
Constructor Detail |
---|
public Falloff(Properties parameter)
parameter
- parameter propertiespublic Falloff()
Method Detail |
---|
public void applyProperties(Properties parameter)
parameter
- parameterpublic final boolean isInside(Element widget, int x, int y)
widget
- x
- y
-
public void updateFalloffValue(Element element, int mouseX, int mouseY)
element
- the element to checkmouseX
- the mouse position xmouseY
- the mouse position ypublic float getFalloffValue()
public Falloff.HoverFalloffConstraint getFalloffConstraint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |