|
|||||||||
| Home >> All >> virtuoso >> asaph >> util >> [ render overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
virtuoso.asaph.util.render
Class BodyLayout

java.lang.Objectvirtuoso.asaph.util.render.BodyLayout
- Direct Known Subclasses:
- EditableBodyLayout
- public class BodyLayout
- extends java.lang.Object
Object that lays out a song or song block for rendering.
| Field Summary | |
private java.util.List |
blockStarters_
|
private static float |
LARGE_VALUE
|
private float |
leftSide_
|
private java.util.List |
lineLayouts_
|
private float |
rightSide_
|
private static float |
SMALL_VALUE
|
| Constructor Summary | |
protected |
BodyLayout()
Constructor |
private |
BodyLayout(java.util.List layouts,
float leftSide,
float rightSide)
Constructor |
| Method Summary | |
int |
getBlockCount()
Get the number of blocks |
float |
getBottomPosition()
Get the bottom of the layout |
float |
getHeight()
Get the height |
LineLayout |
getLastLineLayout()
Get the last LineLayout |
float |
getLeftSide()
Get the left side horizontal position |
int |
getLineLayoutCount()
Get the number of LineLayouts |
java.util.List |
getLineLayouts()
Get the List of LineLayouts that make up this BodyLayout. |
BodyLayout |
getNthBlockLayout(int n)
Get a BodyLayout for the nth block |
LineLayout |
getNthLineLayout(int n)
Get the indexed LineLayout |
float |
getRightSide()
Get the right side horizontal position |
float |
getTopPosition()
Get the top of the layout |
protected void |
rawAddLineLayout(LineLayout layout,
boolean startingBlock)
|
protected float |
rawGetLeftSide()
|
protected float |
rawGetRightSide()
|
protected void |
rawSetLeftSide(float leftSide)
|
protected void |
rawSetRightSide(float rightSide)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
SMALL_VALUE
private static float SMALL_VALUE
LARGE_VALUE
private static float LARGE_VALUE
lineLayouts_
private java.util.List lineLayouts_
blockStarters_
private java.util.List blockStarters_
leftSide_
private float leftSide_
rightSide_
private float rightSide_
| Constructor Detail |
BodyLayout
protected BodyLayout()
- Constructor
BodyLayout
private BodyLayout(java.util.List layouts, float leftSide, float rightSide)
- Constructor
| Method Detail |
rawAddLineLayout
protected final void rawAddLineLayout(LineLayout layout, boolean startingBlock)
rawGetLeftSide
protected final float rawGetLeftSide()
rawGetRightSide
protected final float rawGetRightSide()
rawSetLeftSide
protected final void rawSetLeftSide(float leftSide)
rawSetRightSide
protected final void rawSetRightSide(float rightSide)
getBlockCount
public final int getBlockCount()
- Get the number of blocks
getNthBlockLayout
public final BodyLayout getNthBlockLayout(int n)
- Get a BodyLayout for the nth block
getLineLayoutCount
public final int getLineLayoutCount()
- Get the number of LineLayouts
getNthLineLayout
public final LineLayout getNthLineLayout(int n)
- Get the indexed LineLayout
getLastLineLayout
public final LineLayout getLastLineLayout()
- Get the last LineLayout
getLineLayouts
public final java.util.List getLineLayouts()
- Get the List of LineLayouts that make up this BodyLayout.
getLeftSide
public final float getLeftSide()
- Get the left side horizontal position
getRightSide
public final float getRightSide()
- Get the right side horizontal position
getTopPosition
public final float getTopPosition()
- Get the top of the layout
getBottomPosition
public final float getBottomPosition()
- Get the bottom of the layout
getHeight
public final float getHeight()
- Get the height
|
|||||||||
| Home >> All >> virtuoso >> asaph >> util >> [ render overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
virtuoso.asaph.util.render.BodyLayout