trassare.com

com.trassare.calculator.ui
Class LandFLoader

java.lang.Object
  extended by com.trassare.calculator.ui.LandFLoader

public class LandFLoader
extends Object

LandFLoader manages the OYOAHA look and feel for the application.

Version:
11 October 2005
Author:
Samuel Trassare

Constructor Summary
LandFLoader(JFrame inFrame, Properties inAppProps)
          Default constructor.
 
Method Summary
 String getLandF()
          Get the name of the current look and feel.
 void setLandF(String landf)
          Sets the look and feel using a given filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LandFLoader

public LandFLoader(JFrame inFrame,
                   Properties inAppProps)
Default constructor.

Parameters:
inFrame - the application's frame.
inAppProps - the application properties.
Method Detail

getLandF

public final String getLandF()
Get the name of the current look and feel.

Returns:
the name of the current look and feel

setLandF

public final void setLandF(String landf)
Sets the look and feel using a given filename.

Parameters:
landf - the name of the look-and-feel file to load.

trassare.com