ui
Class UiUtils

java.lang.Object
  extended by ui.UiUtils

public class UiUtils
extends java.lang.Object

Author:
Lauren Dempster http://www.laurendempster.com/source

Constructor Summary
UiUtils()
           
 
Method Summary
static java.awt.Font changeFontSize(java.awt.Font f, float size)
          returns the font with the new size
static java.awt.Font changeFontStyle(java.awt.Font f, int... fontStyles)
          Changes the style of the font to be Font.BOLD, Font.ITALICS etc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiUtils

public UiUtils()
Method Detail

changeFontStyle

public static java.awt.Font changeFontStyle(java.awt.Font f,
                                            int... fontStyles)
Changes the style of the font to be Font.BOLD, Font.ITALICS etc

Parameters:
f -
fontStyles -
Returns:
Font

changeFontSize

public static java.awt.Font changeFontSize(java.awt.Font f,
                                           float size)
returns the font with the new size

Parameters:
f -
size -
Returns:
Font


Copyright © 2007 Lauren Dempster. All Rights Reserved.