org.apache.myfaces.trinidadinternal.style.util
Class MutableFontProxy

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.style.util.FontProxy
      extended by org.apache.myfaces.trinidadinternal.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.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/style/util/MutableFontProxy.java#0 $) $Date: 10-nov-2005.18:58:51 $
Author:
The Oracle ADF Faces Team
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 org.apache.myfaces.trinidadinternal.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.



Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.