|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.app.Block
The class Block provides a container for a Textblock
Field Summary | |
private java.util.Vector |
blockLines
The vector that holds the formatted text lines |
private int |
height
Contains the height in pixels |
private int |
subtitleLine
Contains the number of subtitle lines |
private int |
titleCount
Contains the number of headlines |
Constructor Summary | |
Block()
Constructor for Block Creates the vector blockLines |
Method Summary | |
void |
addLine(java.lang.String s)
Add a line to the block |
int |
getBlockHeight()
Gets the block height in pixel |
java.lang.String |
getLine(int i)
Gets a line from the block |
int |
getLineCount()
Returns the number of lines in the block |
int |
getSubtitleLine()
Gets the number of subscription lines from the block |
int |
getTitleCount()
Gets the number of title lines from the block |
void |
setBlockHeight(int h)
Sets the block height in pixel |
void |
setSubtitleLine(int s)
Sets the number of subscription lines from the block |
void |
setTitleCount(int c)
Sets the number of title lines of the block |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Vector blockLines
private int height
private int titleCount
private int subtitleLine
Constructor Detail |
public Block()
Method Detail |
public void addLine(java.lang.String s)
s
- The object added.public java.lang.String getLine(int i)
i
- No description provided
public int getLineCount()
public void setBlockHeight(int h)
h
- The new blockHeight valuepublic int getBlockHeight()
public void setTitleCount(int c)
c
- The new titleCount valuepublic int getTitleCount()
public void setSubtitleLine(int s)
s
- The new subtitleLine valuepublic int getSubtitleLine()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |