Package com.iizigo.clientpref
Class KeyPref
java.lang.Object
com.iizigo.clientpref.KeyPref
- All Implemented Interfaces:
IClientPref
Key preference: 64=none, 1=shift, 2=ctrl, 4=alt (or bitmask).
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionApplies the settings.void
createContents
(Composite parent, PropCnr settings, ValidatorManager manager) Creates the contents.void
Assigns 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
KeyPref
Constructor.
Method Details
createContents
Creates the contents. The parent has a GridLayout of 2 columns and the first column is used for the text prompt.- Specified by:
createContents
in interfaceIClientPref
- Parameters:
parent
- The parent composite.settings
- The property container.manager
- The validator manager.
setDefaults
public void setDefaults()Assigns the defaults for the property.- Specified by:
setDefaults
in interfaceIClientPref
apply
Applies the settings.- Specified by:
apply
in interfaceIClientPref
- Parameters:
settings
- The settings.- Returns:
- The error if this failed, or null for OK.