net.sourceforge.barbecue.output
Class LabelLayout

java.lang.Object
  extended bynet.sourceforge.barbecue.output.LabelLayout
Direct Known Subclasses:
CenteredLabelLayout, DefaultLabelLayout, MarginLabelLayout

public abstract class LabelLayout
extends java.lang.Object


Field Summary
protected  int bgHeight
           
protected  int bgWidth
           
protected  int bgX
           
protected  int bgY
           
protected  int height
           
protected  java.awt.font.TextLayout textLayout
           
protected  float textX
           
protected  float textY
           
protected  int width
           
protected  int x
           
protected  int y
           
 
Constructor Summary
protected LabelLayout(int x, int y, int width, int height)
           
 
Method Summary
protected abstract  void calculate()
           
 int getBackgroundHeight()
           
 int getBackgroundWidth()
           
 int getBackgroundX()
           
 int getBackgroundY()
           
 float getTextX()
           
 float getTextY()
           
 void setTextLayout(java.awt.font.TextLayout textLayout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

LabelLayout

protected LabelLayout(int x,
                      int y,
                      int width,
                      int height)
Method Detail

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.