Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.style.util
Class MutableFontProxy

java.lang.Object
  |
  +--oracle.cabo.style.util.FontProxy
        |
        +--oracle.cabo.style.util.MutableFontProxy

public class MutableFontProxy
extends FontProxy

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.

See Also:
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

MutableFontProxy

public MutableFontProxy(java.lang.String name,
                        int style,
                        int size)
Creates a MutableFontProxy.
Parameters:
name - The logical name of the font
style - The font style, using the java.awt.Font bitmask constants.
size - he point size of the font
Method Detail

setName

public void setName(java.lang.String name)
Sets the name of the font.

setSize

public void setSize(int size)
Sets the size of the font

setStyle

public void setStyle(int style)
Sets the style of the font, using AWT Font style flags.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.