jwx!
v0.0.2


wx
Class TextAttr

java.lang.Object
  extended bywx.TextAttr

public class TextAttr
extends java.lang.Object


Field Summary
static int ALIGNMENT
           
static int BACKGROUND_COLOUR
           
static int FONT
           
static int FONT_FACE
           
static int FONT_ITALIC
           
static int FONT_SIZE
           
static int FONT_UNDERLINE
           
static int FONT_WEIGHT
           
static int LEFT_INDENT
           
static int RIGHT_INDENT
           
static int TABS
           
static int TEXT_ATTR_ALIGNMENT
           
static int TEXT_ATTR_BACKGROUND_COLOUR
           
static int TEXT_ATTR_FONT
           
static int TEXT_ATTR_FONT_FACE
           
static int TEXT_ATTR_FONT_ITALIC
           
static int TEXT_ATTR_FONT_SIZE
           
static int TEXT_ATTR_FONT_UNDERLINE
           
static int TEXT_ATTR_FONT_WEIGHT
           
static int TEXT_ATTR_LEFT_INDENT
           
static int TEXT_ATTR_RIGHT_INDENT
           
static int TEXT_ATTR_TABS
           
static int TEXT_ATTR_TEXT_COLOUR
           
static int TEXT_COLOUR
           
 
Constructor Summary
TextAttr()
           
TextAttr(Colour colText)
           
TextAttr(Colour colText, Colour colBack)
           
TextAttr(Colour colText, Colour colBack, Font font)
           
TextAttr(Colour colText, Colour colBack, Font font, int alignment)
           
 
Method Summary
 void delete()
           
 int getAlignment()
           
 Colour getBackgroundColour()
           
 int getFlags()
           
 Font getFont()
           
 int getLeftIndent()
           
 int getLeftSubIndent()
           
 int getRightIndent()
           
 int[] getTabs()
           
 Colour getTextColour()
           
 boolean hasBackgroundColour()
           
 boolean hasFont()
           
 boolean hasTextColour()
           
 boolean isDefault()
           
 void setAlignment(int alignment)
           
 void setBackgroundColour(Colour colour)
           
 void setFlags(int flags)
           
 void setFont(Font font)
           
 void setLeftIndent(int indent)
           
 void setLeftIndent(int indent, int subIndent)
           
 void setRightIndent(int indent)
           
 void setTabs(int[] tabs)
           
 void setTextColour(Colour colour)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_ATTR_TEXT_COLOUR

public static final int TEXT_ATTR_TEXT_COLOUR
See Also:
Constant Field Values

TEXT_ATTR_BACKGROUND_COLOUR

public static final int TEXT_ATTR_BACKGROUND_COLOUR
See Also:
Constant Field Values

TEXT_ATTR_FONT_FACE

public static final int TEXT_ATTR_FONT_FACE
See Also:
Constant Field Values

TEXT_ATTR_FONT_SIZE

public static final int TEXT_ATTR_FONT_SIZE
See Also:
Constant Field Values

TEXT_ATTR_FONT_WEIGHT

public static final int TEXT_ATTR_FONT_WEIGHT
See Also:
Constant Field Values

TEXT_ATTR_FONT_ITALIC

public static final int TEXT_ATTR_FONT_ITALIC
See Also:
Constant Field Values

TEXT_ATTR_FONT_UNDERLINE

public static final int TEXT_ATTR_FONT_UNDERLINE
See Also:
Constant Field Values

TEXT_ATTR_FONT

public static final int TEXT_ATTR_FONT
See Also:
Constant Field Values

TEXT_ATTR_ALIGNMENT

public static final int TEXT_ATTR_ALIGNMENT
See Also:
Constant Field Values

TEXT_ATTR_LEFT_INDENT

public static final int TEXT_ATTR_LEFT_INDENT
See Also:
Constant Field Values

TEXT_ATTR_RIGHT_INDENT

public static final int TEXT_ATTR_RIGHT_INDENT
See Also:
Constant Field Values

TEXT_ATTR_TABS

public static final int TEXT_ATTR_TABS
See Also:
Constant Field Values

TEXT_COLOUR

public static final int TEXT_COLOUR
See Also:
Constant Field Values

BACKGROUND_COLOUR

public static final int BACKGROUND_COLOUR
See Also:
Constant Field Values

FONT_FACE

public static final int FONT_FACE
See Also:
Constant Field Values

FONT_SIZE

public static final int FONT_SIZE
See Also:
Constant Field Values

FONT_WEIGHT

public static final int FONT_WEIGHT
See Also:
Constant Field Values

FONT_ITALIC

public static final int FONT_ITALIC
See Also:
Constant Field Values

FONT_UNDERLINE

public static final int FONT_UNDERLINE
See Also:
Constant Field Values

FONT

public static final int FONT
See Also:
Constant Field Values

ALIGNMENT

public static final int ALIGNMENT
See Also:
Constant Field Values

LEFT_INDENT

public static final int LEFT_INDENT
See Also:
Constant Field Values

RIGHT_INDENT

public static final int RIGHT_INDENT
See Also:
Constant Field Values

TABS

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

TextAttr

public TextAttr()

TextAttr

public TextAttr(Colour colText,
                Colour colBack,
                Font font,
                int alignment)

TextAttr

public TextAttr(Colour colText,
                Colour colBack,
                Font font)

TextAttr

public TextAttr(Colour colText,
                Colour colBack)

TextAttr

public TextAttr(Colour colText)
Method Detail

delete

public void delete()

getAlignment

public int getAlignment()

getBackgroundColour

public Colour getBackgroundColour()

getFont

public Font getFont()

getLeftIndent

public int getLeftIndent()

getLeftSubIndent

public int getLeftSubIndent()

getRightIndent

public int getRightIndent()

getTabs

public int[] getTabs()

getTextColour

public Colour getTextColour()

hasBackgroundColour

public boolean hasBackgroundColour()

hasFont

public boolean hasFont()

hasTextColour

public boolean hasTextColour()

getFlags

public int getFlags()

isDefault

public boolean isDefault()

setAlignment

public void setAlignment(int alignment)

setBackgroundColour

public void setBackgroundColour(Colour colour)

setFlags

public void setFlags(int flags)

setFont

public void setFont(Font font)

setLeftIndent

public void setLeftIndent(int indent,
                          int subIndent)

setLeftIndent

public void setLeftIndent(int indent)

setRightIndent

public void setRightIndent(int indent)

setTabs

public void setTabs(int[] tabs)

setTextColour

public void setTextColour(Colour colour)

jwx!
v0.0.2


© 2006 Amit G Mendapara.