|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.style.util.FontProxy | +--oracle.cabo.style.util.MutableFontProxy
MutableFontProxy is a FontProxy subclass which allows FontProxy values to be modified. This class is provided to allow clients (such as the UIX Components Renderers) to reuse a single FontProxy object to represent different fonts over a short period of time. Most clients should use the immutable FontProxy class.
FontProxy
Constructor Summary | |
MutableFontProxy(java.lang.String name,
int style,
int size)
Creates a MutableFontProxy. |
Method Summary | |
void |
setName(java.lang.String name)
Sets the name of the font. |
void |
setSize(int size)
Sets the size of the font |
void |
setStyle(int style)
Sets the style of the font, using AWT Font style flags. |
Methods inherited from class oracle.cabo.style.util.FontProxy |
equals, getFont, getName, getSize, getStyle, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MutableFontProxy(java.lang.String name, int style, int size)
name
- The logical name of the fontstyle
- The font style, using the java.awt.Font bitmask constants.size
- he point size of the fontMethod Detail |
public void setName(java.lang.String name)
public void setSize(int size)
public void setStyle(int style)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |