org.vizzini.ui
Class ColorConfigUtilities
java.lang.Object
   org.vizzini.ui.ColorConfigUtilities
org.vizzini.ui.ColorConfigUtilities
- public class ColorConfigUtilities 
- extends Object
Provides convenience methods for processing configuration properties.
- Since:
- v0.3
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ColorConfigUtilities
public ColorConfigUtilities()
getColorProperty
public static Color getColorProperty(Properties properties,
                                     String propertyName)
- Return the required value specified by the given property name from the
 given properties.
 
- 
- Parameters:
- properties- Source of data.
- propertyName- Property name.
- Since:
- v0.3
 
getColorProperty
public static Color getColorProperty(Properties properties,
                                     String propertyName,
                                     boolean isRequired)
- Return the value specified by the given property name from the given
 properties.
 
- 
- Parameters:
- properties- Source of data.
- propertyName- Property name.
- isRequired- Flag indicating if the property is required.
- Since:
- v0.3
 
checkInputs
protected static void checkInputs(Properties properties,
                                  String propertyName)
- Check the validity of the input arguments.
 
- 
- Since:
- v0.3
 
				
				
					| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |