|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.lafwidget.layout.TransitionLayoutManager
public class TransitionLayoutManager
Transition layout manager. Contains method for installing / uninstalling
transition layout effects on containers. Application code should use the
methods in this class instead of using the TransitionLayout class
directly.
| Method Summary | |
|---|---|
static TransitionLayoutManager |
getInstance()
Returns the manager instance. |
void |
track(java.awt.Container container,
boolean hasFades)
Starts tracking the specified container adding the transition layout effects. |
void |
track(java.awt.Container container,
boolean hasFades,
boolean doImmediateRepaint)
Starts tracking the specified container adding the transition layout effects. |
void |
untrack(java.awt.Container container)
Removes the transition layout effects from the specified container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TransitionLayoutManager getInstance()
public void track(java.awt.Container container,
boolean hasFades)
container - Container for transition layout effects.hasFades - Indication whether the fade effects should be applied. Use
true only for look-and-feels that honour the
TransitionLayout.ALPHA client property (directly, via
calls to
TransitionLayout.getAlphaComposite(java.awt.Component) /
TransitionLayout.getAlphaComposite(java.awt.Component, float)
or with the bytecode augmentation.
public void track(java.awt.Container container,
boolean hasFades,
boolean doImmediateRepaint)
true for the
doImmediateRepaint parameter will result in very
CPU-intensive code - this is not recommended for now. This method can be
called on a container that already has transition layout effects
installed - in this case the call will have no effect (preserving the
transition layout effects).
container - Container for transition layout effects.hasFades - Indication whether the fade effects should be applied. Use
true only for look-and-feels that honour the
TransitionLayout.ALPHA client property (directly, via
calls to
TransitionLayout.getAlphaComposite(java.awt.Component) /
TransitionLayout.getAlphaComposite(java.awt.Component, float)
or with the bytecode augmentation.doImmediateRepaint - If true, every transition step will result in
repainting the relevant component. Recommended value is
false for better performance.public void untrack(java.awt.Container container)
track(Container, boolean) or
track(Container, boolean, boolean).
container - Container.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||