net.sf.jqql.beans
Class FontStyle
java.lang.Object
net.sf.jqql.beans.FontStyle
public class FontStyle
- extends Object
font info Bean
字体信息Bean
- Author:
- luma
- See Also:
SendIMPacket
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontStyle
public FontStyle()
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.