|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.visual.layout.SceneLayout
public abstract class SceneLayout
This is used for a one-time operations that had to be invoked after the scene is initialized and/or validated. This is usually used for applying graph-oriented layouts where the layout requires to calculate boundaries of widgets before the layout is invokes.
The SceneLayout can be invoked by SceneLayout.invokeLayout method. This method just schedules the scene layout to be performed after the scene validation is done.
Constructor Summary | |
---|---|
protected |
SceneLayout(Scene scene)
Creates a scene layout that is related to a specific scene. |
Method Summary | |
---|---|
void |
invokeLayout()
Schedules the performing of this scene layout just immediately after the scene validation. |
void |
invokeLayoutImmediately()
Schedules the performing of this scene layout just immediately after the scene validation. |
protected abstract void |
performLayout()
Called immediately after the scene validation and is responsible for performing the logic e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SceneLayout(Scene scene)
scene
- the related sceneMethod Detail |
---|
public final void invokeLayout()
public final void invokeLayoutImmediately()
protected abstract void performLayout()
|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |