JML

net.sf.jqql.beans
Class FontStyle

java.lang.Object
  extended by net.sf.jqql.beans.FontStyle

public class FontStyle
extends Object

font info Bean 字体信息Bean

Author:
luma
See Also:
SendIMPacket

Constructor Summary
FontStyle()
           
 
Method Summary
 int getBlue()
           
 String getEncoding()
           
 char getEncodingCode()
           
 String getFontName()
           
 int getFontSize()
           
 int getGreen()
           
 int getRed()
           
 boolean isBold()
           
 boolean isItalic()
           
 boolean isUnderline()
           
 void readBean(ByteBuffer buf)
           
 void setBlue(int blue)
           
 void setBold(boolean bold)
           
 void setEncodingCode(char encodingCode)
           
 void setFontName(String fontName)
           
 void setFontSize(int fontSize)
           
 void setGreen(int green)
           
 void setItalic(boolean italic)
           
 void setRed(int red)
           
 void setUnderline(boolean underline)
           
 void writeBean(ByteBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontStyle

public FontStyle()
Method Detail

writeBean

public void writeBean(ByteBuffer buf)

readBean

public void readBean(ByteBuffer buf)

getBlue

public int getBlue()
Returns:
Returns the blue.

setBlue

public void setBlue(int blue)
Parameters:
blue - The blue to set.

isBold

public boolean isBold()
Returns:
Returns the bold.

setBold

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

getEncoding

public String getEncoding()
Returns:
Returns the encoding.

getFontName

public String getFontName()
Returns:
Returns the fontName.

setFontName

public void setFontName(String fontName)
Parameters:
fontName - The fontName to set.

getGreen

public int getGreen()
Returns:
Returns the green.

setGreen

public void setGreen(int green)
Parameters:
green - The green to set.

isItalic

public boolean isItalic()
Returns:
Returns the italic.

setItalic

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

getRed

public int getRed()
Returns:
Returns the red.

setRed

public void setRed(int red)
Parameters:
red - The red to set.

isUnderline

public boolean isUnderline()
Returns:
Returns the underline.

setUnderline

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

getFontSize

public int getFontSize()
Returns:
Returns the fontSize.

setFontSize

public void setFontSize(int fontSize)
Parameters:
fontSize - The fontSize to set.

getEncodingCode

public char getEncodingCode()
Returns:
Returns the encodingCode.

setEncodingCode

public void setEncodingCode(char encodingCode)
Parameters:
encodingCode - The encodingCode to set.

JML