C - public static class ComponentFaderFactory.MouseOverFadePolicy extends ComponentFaderFactory.BasicFadePolicy
PROPERTY_FADE| Constructor and Description |
|---|
MouseOverFadePolicy(java.awt.Component... component)
Policy will fade when the mouse isn't over the given component(s), or when none of the components have focus.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.awt.Component component)
Add the given component to this policy.
|
float |
getMaxFadeOut() |
void |
remove(java.awt.Component component)
Remove the given component from this policy.
|
void |
setMaxFadeOut(float maxFadeOut)
Set the maximum amount to fade out the component when the mouse isn't over it.
|
addPropertyChangeListener, getFade, removePropertyChangeListener, setFadepublic MouseOverFadePolicy(java.awt.Component... component)
component - component or components to monitor focus and mouse over.public void add(java.awt.Component component)
component - the component to be added to this policypublic void remove(java.awt.Component component)
component - the component to be removed from this policypublic final void setMaxFadeOut(float maxFadeOut)
maxFadeOut - public final float getMaxFadeOut()