org.kabeja.dxf.helpers
Class StyledTextParagraph

java.lang.Object
  extended by org.kabeja.dxf.helpers.StyledTextParagraph

public class StyledTextParagraph
extends java.lang.Object

Author:
Field Summary
static int VERTICAL_ALIGNMENT_BASELINE
           
static int VERTICAL_ALIGNMENT_BOTTOM
           
static int VERTICAL_ALIGNMENT_CENTER
           
static int VERTICAL_ALIGNMENT_TOP
           
 
Constructor Summary
StyledTextParagraph()
           
 
Method Summary
 void append(char c)
           
 void append(java.lang.String text)
           
 double getCharacterspace()
           
 java.lang.String getFont()
           
 java.lang.String getFontFile()
           
 double getFontHeight()
           
 Point getInsertPoint()
           
 int getLength()
           
 int getLineIndex()
           
 double getObliquiAngle()
           
 java.lang.String getText()
           
 int getValign()
           
 double getWidth()
           
 boolean isBold()
           
 boolean isItalic()
           
 boolean isNewline()
           
 boolean isOverline()
           
 boolean isUnderline()
           
 void setBold(boolean bold)
           
 void setCharacterspace(double characterspace)
           
 void setFont(java.lang.String font)
           
 void setFontFile(java.lang.String fontFile)
           
 void setFontHeight(double height)
           
 void setInsertPoint(Point insertPoint)
           
 void setItalic(boolean italic)
           
 void setLineIndex(int linecount)
           
 void setNewline(boolean newline)
           
 void setObliquiAngle(double obliquiAngle)
           
 void setOverline(boolean overline)
           
 void setText(java.lang.String text)
           
 void setUnderline(boolean underline)
           
 void setValign(int alignment)
           
 void setWidth(double width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERTICAL_ALIGNMENT_TOP

public static final int VERTICAL_ALIGNMENT_TOP
See Also:
Constant Field Values

VERTICAL_ALIGNMENT_BASELINE

public static final int VERTICAL_ALIGNMENT_BASELINE
See Also:
Constant Field Values

VERTICAL_ALIGNMENT_BOTTOM

public static final int VERTICAL_ALIGNMENT_BOTTOM
See Also:
Constant Field Values

VERTICAL_ALIGNMENT_CENTER

public static final int VERTICAL_ALIGNMENT_CENTER
See Also:
Constant Field Values
Constructor Detail

StyledTextParagraph

public StyledTextParagraph()
Method Detail

getInsertPoint

public Point getInsertPoint()
Returns:
Returns the insertPoint.

setInsertPoint

public void setInsertPoint(Point insertPoint)
Parameters:
insertPoint - The insertPoint to set.

getFontFile

public java.lang.String getFontFile()
Returns:
Returns the fontFile.

setFontFile

public void setFontFile(java.lang.String fontFile)
Parameters:
fontFile - The fontFile to set.

getCharacterspace

public double getCharacterspace()
Returns:
Returns the characterspace.

setCharacterspace

public void setCharacterspace(double characterspace)
Parameters:
characterspace - The characterspace to set.

getValign

public int getValign()
Returns:
Returns the alignment.

setValign

public void setValign(int alignment)
Parameters:
alignment - The alignment to set.

isBold

public boolean isBold()
Returns:
Returns the bold.

setBold

public void setBold(boolean bold)
Parameters:
bold - The bold to set.

getFont

public java.lang.String getFont()
Returns:
Returns the font.

setFont

public void setFont(java.lang.String font)
Parameters:
font - The font to set.

getFontHeight

public double getFontHeight()
Returns:
Returns the height.

setFontHeight

public void setFontHeight(double height)
Parameters:
height - The height to set.

isItalic

public boolean isItalic()
Returns:
Returns the italic.

setItalic

public void setItalic(boolean italic)
Parameters:
italic - The italic to set.

getObliquiAngle

public double getObliquiAngle()
Returns:
Returns the obliquiAngle.

setObliquiAngle

public void setObliquiAngle(double obliquiAngle)
Parameters:
obliquiAngle - The obliquiAngle to set.

isOverline

public boolean isOverline()
Returns:
Returns the overline.

setOverline

public void setOverline(boolean overline)
Parameters:
overline - The overline to set.

getText

public java.lang.String getText()
Returns:
Returns the text.

setText

public void setText(java.lang.String text)
Parameters:
text - The text to set.

isUnderline

public boolean isUnderline()
Returns:
Returns the underline.

setUnderline

public void setUnderline(boolean underline)
Parameters:
underline - The underline to set.

getWidth

public double getWidth()
Returns:
Returns the width.

setWidth

public void setWidth(double width)
Parameters:
width - The width to set.

getLineIndex

public int getLineIndex()
Returns:
Returns the linecount.

setLineIndex

public void setLineIndex(int linecount)
Parameters:
linecount - The linecount to set.

isNewline

public boolean isNewline()
Returns:
Returns the newline.

setNewline

public void setNewline(boolean newline)
Parameters:
newline - The newline to set.

append

public void append(java.lang.String text)

append

public void append(char c)

getLength

public int getLength()