public class CategorizedUserNavigationTreeNode extends NavigationTreeNode implements ParentNavigationItemI
Constructor and Description |
---|
CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit) |
CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit,
Benutzer firstElement) |
CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit,
Benutzer firstElement,
CategorizedUserNavigationTreeNode previousNodeInit) |
CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit,
CategorizedUserNavigationTreeNode previousNodeInit) |
Modifier and Type | Method and Description |
---|---|
void |
addUserIfPossible(Benutzer u)
adds a user to this node, if the node can still take more users.
|
boolean |
canTakeUser(Benutzer user)
decides whether this node can hold this element or if it should be moved into the next node
|
static java.util.Collection |
createCategorizationNodes(java.util.Collection usersToGroup,
AllUsersNavigationTreeNode parentNode) |
java.lang.String |
getFirstUsername() |
java.lang.String |
getLastUsername() |
boolean |
isLazy() |
void |
setNextNode(CategorizedUserNavigationTreeNode node) |
void |
testWithValues()
Allows to set specific configuration parameters.
|
void |
testWithValues(boolean forceAlphaNumBreakInit) |
void |
testWithValues(boolean forceAlphaNumBreakInit,
int maxElementsInit) |
void |
testWithValues(boolean forceAlphaNumBreakInit,
int maxElementsInit,
int minElementsInit) |
void |
testWithValues(boolean forceAlphaNumBreakInit,
int maxElementsInit,
int minElementsInit,
int maxSubCategoriesInit) |
void |
testWithValues(boolean forceAlphaNumBreakInit,
int maxElementsInit,
int minElementsInit,
int maxSubCategoriesInit,
int numericRangeInit) |
java.lang.String |
toString() |
void |
unlazy() |
add, add, add, addFolderAllowed, addStrukturAllowed, copy, copyAllowed, copyAllowed, delete, deleteAllowed, determineAllowsChildren, editOriginal, editOriginalAllowed, editOriginalCount, getAllSubtreeItems, getAllSubtreeItems, getAllSubtreeItems, getChildCount, getCtx, getName, getNavmodel, getNodecache, getNodeInstance, getNodesForDelete, getParentItem, info, infoAllowed, infoCount, insert, isCyclestopper, isLeaf, link, linkAllowed, linkAllowed, move, moveAllowed, moveAllowed, open, openAllowed, openCount, rename, renameAllowed, setCyclestopper, setNavmodel
breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllSubtreeItems
insert, remove, remove, removeFromParent, setParent, setUserObject
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
hasChildAssociatedWithBO
public CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit)
public CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit, CategorizedUserNavigationTreeNode previousNodeInit)
public CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit, Benutzer firstElement)
public CategorizedUserNavigationTreeNode(AllUsersNavigationTreeNode parentInit, Benutzer firstElement, CategorizedUserNavigationTreeNode previousNodeInit)
public void setNextNode(CategorizedUserNavigationTreeNode node)
public java.lang.String getFirstUsername()
public java.lang.String getLastUsername()
public boolean canTakeUser(Benutzer user)
public void addUserIfPossible(Benutzer u)
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLazy()
isLazy
in interface ParentNavigationItemI
public void unlazy()
unlazy
in interface ParentNavigationItemI
public static java.util.Collection createCategorizationNodes(java.util.Collection usersToGroup, AllUsersNavigationTreeNode parentNode)
public void testWithValues()
public void testWithValues(boolean forceAlphaNumBreakInit)
public void testWithValues(boolean forceAlphaNumBreakInit, int maxElementsInit)
public void testWithValues(boolean forceAlphaNumBreakInit, int maxElementsInit, int minElementsInit)
public void testWithValues(boolean forceAlphaNumBreakInit, int maxElementsInit, int minElementsInit, int maxSubCategoriesInit)
public void testWithValues(boolean forceAlphaNumBreakInit, int maxElementsInit, int minElementsInit, int maxSubCategoriesInit, int numericRangeInit)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.