org.PingOO.DLAI.lib.directorytree
Class UserSheet
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--org.PingOO.DLAI.lib.directorytree.DirectoryComponent
|
+--org.PingOO.DLAI.lib.directorytree.DirectoryLeaf
|
+--org.PingOO.DLAI.lib.directorytree.SheetLeaf
|
+--org.PingOO.DLAI.lib.directorytree.UserSheet
- public final class UserSheet
- extends SheetLeaf
Defines the component used to describe a user in the directory.
- Since:
- PingOO 2.0
- Version:
- 2.0
- Author:
- Fabrice Bouyé (bouye@cur-archamps.fr)
- See Also:
- Serialized Form
| Inner classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration,
javax.swing.tree.DefaultMutableTreeNode.PathBetweenNodesEnumeration,
javax.swing.tree.DefaultMutableTreeNode.PostorderEnumeration,
javax.swing.tree.DefaultMutableTreeNode.PreorderEnumeration |
| Fields inherited from class org.PingOO.DLAI.lib.directorytree.DirectoryComponent |
accessTable,
attributeVector,
CREATION_DATE_KEY,
DESCRIPTION_KEY,
DN_SEPAPATOR,
EMPTY_ARRAY_ATTRIBUTE,
EXPIRATION_DATE_KEY,
exportationTable,
FIELD_SEPAPATOR,
ICON_KEY,
labelTable,
MODIFICATION_DATE_KEY,
modified,
OBJECT_CLASS_KEY,
PROGRAM_KEY,
requiredVector,
RESOURCE_KEY,
upToDate,
valueTable |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren,
children,
EMPTY_ENUMERATION,
parent,
userObject |
|
Constructor Summary |
UserSheet()
Creates a new sheet.
|
UserSheet(java.lang.String name)
Creates a new sheet. |
|
Method Summary |
java.lang.String |
getType()
Returns the type of this component. |
boolean |
hasRequiredAttributes()
Tests if this component has the required attributes. |
| Methods inherited from class org.PingOO.DLAI.lib.directorytree.DirectoryComponent |
add,
attributes,
getAccessValue,
getAccessValues,
getAttributeLabel,
getAttributeTextKeys,
getAttributeValue,
getAttributeValues,
getDN,
getExportationValue,
getName,
getNewDN,
getRDN,
isAccessible,
isModified,
isUpToDate,
prepareMessage,
remove,
requiredAttributes,
setAccessValue,
setAccessValues,
setAccessValues,
setAttributeValue,
setAttributeValues,
setAttributeValues,
setDefaultAccess,
setDefaultExportation,
setExportationValue,
setModified,
setName,
setUpToDate |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
,
breadthFirstEnumeration,
children,
clone,
depthFirstEnumeration,
getChildAfter,
getChildAt,
getChildBefore,
getChildCount,
getDepth,
getFirstChild,
getFirstLeaf,
getIndex,
getLastChild,
getLastLeaf,
getLeafCount,
getLevel,
getNextLeaf,
getNextNode,
getNextSibling,
getParent,
getPath,
getPathToRoot,
getPreviousLeaf,
getPreviousNode,
getPreviousSibling,
getRoot,
getSharedAncestor,
getSiblingCount,
getUserObject,
getUserObjectPath,
isNodeAncestor,
isNodeChild,
isNodeDescendant,
isNodeRelated,
isNodeSibling,
isRoot,
pathFromAncestorEnumeration,
postorderEnumeration,
preorderEnumeration,
readObject,
remove,
removeAllChildren,
removeFromParent,
setParent,
setUserObject,
toString,
writeObject |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
USER_SHEET_TYPE
public static final java.lang.String USER_SHEET_TYPE
- The list of this component attributes.
USER_PASSWORD_KEY
public static final java.lang.String USER_PASSWORD_KEY
FIRST_NAME_KEY
public static final java.lang.String FIRST_NAME_KEY
LAST_NAME_KEY
public static final java.lang.String LAST_NAME_KEY
NICK_NAME_KEY
public static final java.lang.String NICK_NAME_KEY
INSTITUTION_KEY
public static final java.lang.String INSTITUTION_KEY
ACTIVE_KEY
public static final java.lang.String ACTIVE_KEY
SEX_KEY
public static final java.lang.String SEX_KEY
CIVILITY_KEY
public static final java.lang.String CIVILITY_KEY
PHOTO_KEY
public static final java.lang.String PHOTO_KEY
BIRTH_DATE_KEY
public static final java.lang.String BIRTH_DATE_KEY
BIRTH_PLACE_KEY
public static final java.lang.String BIRTH_PLACE_KEY
LANGUAGE_KEY
public static final java.lang.String LANGUAGE_KEY
NATIONALITY_KEY
public static final java.lang.String NATIONALITY_KEY
HOME_ADDRESS_KEY
public static final java.lang.String HOME_ADDRESS_KEY
HOME_TELEPHONE_KEY
public static final java.lang.String HOME_TELEPHONE_KEY
HOME_FAX_KEY
public static final java.lang.String HOME_FAX_KEY
WORK_KEY
public static final java.lang.String WORK_KEY
WORK_ADDRESS_KEY
public static final java.lang.String WORK_ADDRESS_KEY
WORK_TELEPHONE_KEY
public static final java.lang.String WORK_TELEPHONE_KEY
WORK_FAX_KEY
public static final java.lang.String WORK_FAX_KEY
ROOM_KEY
public static final java.lang.String ROOM_KEY
MOBILE_TELEPHONE_KEY
public static final java.lang.String MOBILE_TELEPHONE_KEY
EMAIL_KEY
public static final java.lang.String EMAIL_KEY
WEB_SITE_KEY
public static final java.lang.String WEB_SITE_KEY
WEB_PASSWORD_KEY
public static final java.lang.String WEB_PASSWORD_KEY
CLUB_KEY
public static final java.lang.String CLUB_KEY
HOBBY_KEY
public static final java.lang.String HOBBY_KEY
USER_GROUPS_KEY
public static final java.lang.String USER_GROUPS_KEY
ADMINISTRATION_GROUPS_KEY
public static final java.lang.String ADMINISTRATION_GROUPS_KEY
PREFERENCES_KEY
public static final java.lang.String PREFERENCES_KEY
UID_KEY
public static final java.lang.String UID_KEY
GID_KEY
public static final java.lang.String GID_KEY
GCOS_KEY
public static final java.lang.String GCOS_KEY
SHELL_KEY
public static final java.lang.String SHELL_KEY
HOME_DIR_KEY
public static final java.lang.String HOME_DIR_KEY
ALIASES_KEY
public static final java.lang.String ALIASES_KEY
DEFAULT_PHOTO
private static final java.awt.Image DEFAULT_PHOTO
- Default image for a user photo.
UserSheet
public UserSheet()
- Creates a new sheet.
A default name will be used.
UserSheet
public UserSheet(java.lang.String name)
- Creates a new sheet.
- Parameters:
name - The user's name.
getType
public final java.lang.String getType()
- Returns the type of this component.
- Returns:
- The type of this component.
- Overrides:
- getType in class DirectoryComponent
hasRequiredAttributes
public boolean hasRequiredAttributes()
- Tests if this component has the required attributes.
- Returns:
true if the node has its required attributes, false otherwise.- Overrides:
- hasRequiredAttributes in class DirectoryComponent