| java.lang.Object org.eclipse.ui.examples.propertysheet.OrganizationElement org.eclipse.ui.examples.propertysheet.UserElement
P_ID_HAIRCOLOR | final public static String P_ID_HAIRCOLOR(Code) | | |
P_ID_PHONENUMBER | final public static String P_ID_PHONENUMBER(Code) | | |
P_PERSONALINFO | final public static String P_PERSONALINFO(Code) | | |
P_PERSONELINFO | final public static String P_PERSONELINFO(Code) | | |
P_VALUE_FALSE_LABEL | final public static String P_VALUE_FALSE_LABEL(Code) | | |
P_VALUE_TRUE_LABEL | final public static String P_VALUE_TRUE_LABEL(Code) | | |
UserElement | UserElement(String name, GroupElement parent)(Code) | | Constructor. Default visibility only called from GroupElement.createSubGroup()
Creates a new UserElement within the passed parent GroupElement,
Parameters: name - the name Parameters: parent - the parent |
getDescriptors | static Vector getDescriptors()(Code) | | Returns the descriptors
|
getPropertyValue | public Object getPropertyValue(Object propKey)(Code) | | The Userment implementation of this
IPropertySource method returns the following properties
1) P_ADDRESS returns Address (IPropertySource), the address of this user
2) P_FULLNAME returns Name (IPropertySource), the full name of this user
3) P_PHONENUMBER returns String, the phone number of this user
4) P_EMAIL returns EmailAddress (IPropertySource), the email address of this user
5) P_COOP returns Boolean, whether the individual is a coop student or not
6) P_BDAY returns Birthday
7) P_SALARY return java.lang.Float
8) P_HAIRCOLOR, expects RGB
9) P_EYECOLOR, expects RGB
|
isPropertySet | public boolean isPropertySet(Object property)(Code) | | |
isUser | public boolean isUser()(Code) | | |
resetPropertyValue | public void resetPropertyValue(Object property)(Code) | | |
setAddress | public void setAddress(Address newAddress)(Code) | | Sets the address
|
setBirthday | public void setBirthday(Birthday newBirthday)(Code) | | Sets the birthday
|
setEmailAddress | public void setEmailAddress(EmailAddress newEmailAddress)(Code) | | Sets the email address
|
setEyeColor | public void setEyeColor(RGB newEyeColor)(Code) | | Sets eye color
|
setFullName | public void setFullName(Name newFullName)(Code) | | Sets full name
|
setHairColor | public void setHairColor(RGB newHairColor)(Code) | | Sets hair color
|
setPhoneNumber | public void setPhoneNumber(String newPhoneNumber)(Code) | | Sets phone number
|
setPropertyValue | public void setPropertyValue(Object propKey, Object val)(Code) | | The OrganizationElement implementation of this
IPropertySource method
defines the following Setable properties
1) P_ADDRESS, expects Address
2) P_FULLNAME, expects Name
3) P_PHONENUMBER, expects String
4) P_EMAIL, expects EmailAddress.
5) P_BOOLEAN, expects Boolean, whether the individual is a coop student or not
6) P_BDAY, expects Birthday
7) P_SALARY, expects java.lang.Float
8) P_HAIRCOLOR, expects RGB
9) P_EYECOLOR, expects RGB
|
setSalary | void setSalary(Float newSalary)(Code) | | Sets the salary
|
|
|