Package com.iizigo.clientpref
Class ColorPref
java.lang.Object
com.iizigo.clientpref.ColorPref
- All Implemented Interfaces:
- IClientPref
Color preference.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescriptionApplies the settings.- void- createContents- (org.eclipse.swt.widgets.Composite parent, PropCnr settings, ValidatorManager manager) Creates the contents.- voidAssigns the defaults for the property.- Methods inherited from class java.lang.Object- clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait- Methods inherited from interface com.iizigo.clientpref.IClientPref- getHeading
- Constructor Details- ColorPrefConstructor.
 
- Method Details- createContentspublic void createContents- (org.eclipse.swt.widgets.Composite parent, PropCnr settings, ValidatorManager manager) Creates the contents. The parent has a GridLayout of 2 columns and the first column is used for the text prompt.- Specified by:
- createContentsin interface- IClientPref
- Parameters:
- parent- The parent composite.
- settings- The property container.
- manager- The validator manager.
 
- setDefaultspublic void setDefaults()Assigns the defaults for the property.- Specified by:
- setDefaultsin interface- IClientPref
 
- applyApplies the settings.- Specified by:
- applyin interface- IClientPref
- Parameters:
- settings- The settings.
- Returns:
- The error if this failed, or null for OK.