jwx!
v0.0.2


wx
Class Font

java.lang.Object
  extended bywx.Object
      extended bywx.GDIObject
          extended bywx.Font

public class Font
extends GDIObject


Field Summary
static int FONTFLAG_ANTIALIASED
           
static int FONTFLAG_BOLD
           
static int FONTFLAG_DEFAULT
           
static int FONTFLAG_ITALIC
           
static int FONTFLAG_LIGHT
           
static int FONTFLAG_MASK
           
static int FONTFLAG_NOT_ANTIALIASED
           
static int FONTFLAG_SLANT
           
static int FONTFLAG_STRIKETHROUGH
           
static int FONTFLAG_UNDERLINED
           
static Font ITALIC_FONT
           
static Font NORMAL_FONT
           
static Font NullFont
           
static Font SMALL_FONT
           
static Font SWISS_FONT
           
 
Constructor Summary
Font()
           
Font(int pointSize, int family, int style, int weight)
           
Font(int pointSize, int family, int style, int weight, boolean underline)
           
Font(int pointSize, int family, int style, int weight, boolean underline, java.lang.String faceName)
           
Font(int pointSize, int family, int style, int weight, boolean underline, java.lang.String faceName, int encoding)
           
 
Method Summary
 void delete()
           
static int getDefaultEncoding()
           
 java.lang.String getFaceName()
           
 int getFamily()
           
 java.lang.String getNativeFontInfoDesc()
           
 int getPointSize()
           
 int getStyle()
           
 boolean getUnderlined()
           
 int getWeight()
           
 boolean isFixedWidth()
           
static Font newFont(int pointSize, int family)
           
static Font newFont(int pointSize, int family, int flags)
           
static Font newFont(int pointSize, int family, int style, int weight, boolean underline)
           
static Font newFont(int pointSize, int family, int style, int weight, boolean underline, java.lang.String faceName)
           
static Font newFont(int pointSize, int family, int style, int weight, boolean underline, java.lang.String faceName, int encoding)
           
static Font newFont(int pointSize, int family, int flags, java.lang.String faceName)
           
static Font newFont(int pointSize, int family, int flags, java.lang.String faceName, int encoding)
           
static Font newFont(Size pixelSize, int family)
           
static Font newFont(Size pixelSize, int family, int flags)
           
static Font newFont(Size pixelSize, int family, int style, int weight, boolean underline)
           
static Font newFont(Size pixelSize, int family, int style, int weight, boolean underline, java.lang.String faceName)
           
static Font newFont(Size pixelSize, int family, int style, int weight, boolean underline, java.lang.String faceName, int encoding)
           
static Font newFont(Size pixelSize, int family, int flags, java.lang.String faceName)
           
static Font newFont(Size pixelSize, int family, int flags, java.lang.String faceName, int encoding)
           
 boolean ok()
           
static void setDefaultEncoding(int encoding)
           
 void setFaceName(java.lang.String faceName)
           
 void setFamily(int family)
           
 void setNativeFontInfo(java.lang.String info)
           
 void setPointSize(int pointSize)
           
 void setStyle(int style)
           
 void setUnderlined(boolean underlined)
           
 void setWeight(int weight)
           
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORMAL_FONT

public static Font NORMAL_FONT

SWISS_FONT

public static Font SWISS_FONT

SMALL_FONT

public static Font SMALL_FONT

ITALIC_FONT

public static Font ITALIC_FONT

NullFont

public static final Font NullFont

FONTFLAG_DEFAULT

public static final int FONTFLAG_DEFAULT

FONTFLAG_ITALIC

public static final int FONTFLAG_ITALIC

FONTFLAG_SLANT

public static final int FONTFLAG_SLANT

FONTFLAG_LIGHT

public static final int FONTFLAG_LIGHT

FONTFLAG_BOLD

public static final int FONTFLAG_BOLD

FONTFLAG_ANTIALIASED

public static final int FONTFLAG_ANTIALIASED

FONTFLAG_NOT_ANTIALIASED

public static final int FONTFLAG_NOT_ANTIALIASED

FONTFLAG_UNDERLINED

public static final int FONTFLAG_UNDERLINED

FONTFLAG_STRIKETHROUGH

public static final int FONTFLAG_STRIKETHROUGH

FONTFLAG_MASK

public static final int FONTFLAG_MASK
Constructor Detail

Font

public Font()

Font

public Font(int pointSize,
            int family,
            int style,
            int weight,
            boolean underline,
            java.lang.String faceName,
            int encoding)

Font

public Font(int pointSize,
            int family,
            int style,
            int weight,
            boolean underline,
            java.lang.String faceName)

Font

public Font(int pointSize,
            int family,
            int style,
            int weight,
            boolean underline)

Font

public Font(int pointSize,
            int family,
            int style,
            int weight)
Method Detail

delete

public void delete()
Overrides:
delete in class GDIObject

isFixedWidth

public boolean isFixedWidth()

getDefaultEncoding

public static int getDefaultEncoding()

getFaceName

public java.lang.String getFaceName()

getFamily

public int getFamily()

getNativeFontInfoDesc

public java.lang.String getNativeFontInfoDesc()

getPointSize

public int getPointSize()

getStyle

public int getStyle()

getUnderlined

public boolean getUnderlined()

getWeight

public int getWeight()

newFont

public static Font newFont(int pointSize,
                           int family,
                           int style,
                           int weight,
                           boolean underline,
                           java.lang.String faceName,
                           int encoding)

newFont

public static Font newFont(int pointSize,
                           int family,
                           int style,
                           int weight,
                           boolean underline,
                           java.lang.String faceName)

newFont

public static Font newFont(int pointSize,
                           int family,
                           int style,
                           int weight,
                           boolean underline)

newFont

public static Font newFont(int pointSize,
                           int family,
                           int flags,
                           java.lang.String faceName,
                           int encoding)

newFont

public static Font newFont(int pointSize,
                           int family,
                           int flags,
                           java.lang.String faceName)

newFont

public static Font newFont(int pointSize,
                           int family,
                           int flags)

newFont

public static Font newFont(int pointSize,
                           int family)

newFont

public static Font newFont(Size pixelSize,
                           int family,
                           int style,
                           int weight,
                           boolean underline,
                           java.lang.String faceName,
                           int encoding)

newFont

public static Font newFont(Size pixelSize,
                           int family,
                           int style,
                           int weight,
                           boolean underline,
                           java.lang.String faceName)

newFont

public static Font newFont(Size pixelSize,
                           int family,
                           int style,
                           int weight,
                           boolean underline)

newFont

public static Font newFont(Size pixelSize,
                           int family,
                           int flags,
                           java.lang.String faceName,
                           int encoding)

newFont

public static Font newFont(Size pixelSize,
                           int family,
                           int flags,
                           java.lang.String faceName)

newFont

public static Font newFont(Size pixelSize,
                           int family,
                           int flags)

newFont

public static Font newFont(Size pixelSize,
                           int family)

ok

public boolean ok()

setDefaultEncoding

public static void setDefaultEncoding(int encoding)

setFaceName

public void setFaceName(java.lang.String faceName)

setFamily

public void setFamily(int family)

setNativeFontInfo

public void setNativeFontInfo(java.lang.String info)

setPointSize

public void setPointSize(int pointSize)

setStyle

public void setStyle(int style)

setUnderlined

public void setUnderlined(boolean underlined)

setWeight

public void setWeight(int weight)

jwx!
v0.0.2


© 2006 Amit G Mendapara.