net.sourceforge.barbecue.output
Class LabelLayout
java.lang.Object
net.sourceforge.barbecue.output.LabelLayout
- Direct Known Subclasses:
- CenteredLabelLayout, DefaultLabelLayout, MarginLabelLayout
- public abstract class LabelLayout
- extends java.lang.Object
Constructor Summary |
protected |
LabelLayout(int x,
int y,
int width,
int height)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
protected final int x
y
protected final int y
width
protected final int width
height
protected final int height
textLayout
protected java.awt.font.TextLayout textLayout
textX
protected float textX
textY
protected float textY
bgX
protected int bgX
bgY
protected int bgY
bgWidth
protected int bgWidth
bgHeight
protected int bgHeight
LabelLayout
protected LabelLayout(int x,
int y,
int width,
int height)
setTextLayout
public void setTextLayout(java.awt.font.TextLayout textLayout)
calculate
protected abstract void calculate()
getTextX
public float getTextX()
getTextY
public float getTextY()
getBackgroundX
public int getBackgroundX()
getBackgroundY
public int getBackgroundY()
getBackgroundWidth
public int getBackgroundWidth()
getBackgroundHeight
public int getBackgroundHeight()
Copyright © 2003-2007 barbecue.sourceforge.net. All Rights Reserved.