public static class ComponentFaderFactory.BasicFadePolicy extends java.lang.Object implements ComponentFaderFactory.FadePolicy
PROPERTY_FADE
Constructor and Description |
---|
ComponentFaderFactory.BasicFadePolicy(float fade) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
float |
getFade() |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
setFade(float fade)
Set how much to fade the component.
|
public ComponentFaderFactory.BasicFadePolicy(float fade)
fade
- 1f = fully transparent, 0f = fully opaquepublic float getFade()
getFade
in interface ComponentFaderFactory.FadePolicy
public void setFade(float fade)
fade
- 1f = fully transparent, 0f = fully opaquepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface ComponentFaderFactory.FadePolicy
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface ComponentFaderFactory.FadePolicy