FontInfo
Inheritance: java.lang.Object
public class FontInfo
The FontInfo represents font-related style information for a web control..
Constructors
Constructor | Description |
---|---|
FontInfo() |
Methods
Method | Description |
---|---|
copyFrom(FontInfo f) | Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from. |
equals(Object arg0) | |
getBold() | indicates whether the font is bold. |
getClass() | |
getItalic() | indicates whether the font is italic. |
getName() | Gets the primary font name. |
getOverline() | indicates whether the font is overlined. |
getSize() | Gets the font size. |
getStrikeout() | indicates whether the font is strikethrough. |
getUnderline() | indicates whether the font is underlined.. |
hashCode() | |
notify() | |
notifyAll() | |
setBold(boolean value) | set whether the font is bold.. |
setItalic(boolean value) | set whether the font is italic. |
setName(String value) | or sets the primary font name |
setOverline(boolean value) | set whether the font is overlined. |
setSize(FontUnit value) | sets the font size |
setStrikeout(boolean value) | set whether the font is strikethrough. |
setUnderline(boolean value) | set whether the font is underlined. |
toString() | Returns a string that contains the font name and size for an instance of the FontInfo class. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
FontInfo()
public FontInfo()
copyFrom(FontInfo f)
public void copyFrom(FontInfo f)
Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from.
Parameters:
Parameter | Type | Description |
---|---|---|
f | FontInfo |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBold()
public boolean getBold()
indicates whether the font is bold.
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getItalic()
public boolean getItalic()
indicates whether the font is italic.
Returns: boolean
getName()
public String getName()
Gets the primary font name.
Returns: java.lang.String
getOverline()
public boolean getOverline()
indicates whether the font is overlined.
Returns: boolean
getSize()
public FontUnit getSize()
Gets the font size.
Returns: FontUnit
getStrikeout()
public boolean getStrikeout()
indicates whether the font is strikethrough.
Returns: boolean
getUnderline()
public boolean getUnderline()
indicates whether the font is underlined..
Returns: boolean
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBold(boolean value)
public void setBold(boolean value)
set whether the font is bold..
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setItalic(boolean value)
public void setItalic(boolean value)
set whether the font is italic.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setName(String value)
public void setName(String value)
or sets the primary font name
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setOverline(boolean value)
public void setOverline(boolean value)
set whether the font is overlined.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSize(FontUnit value)
public void setSize(FontUnit value)
sets the font size
Parameters:
Parameter | Type | Description |
---|---|---|
value | FontUnit |
setStrikeout(boolean value)
public void setStrikeout(boolean value)
set whether the font is strikethrough.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setUnderline(boolean value)
public void setUnderline(boolean value)
set whether the font is underlined.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
toString()
public String toString()
Returns a string that contains the font name and size for an instance of the FontInfo class.
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |