|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.adminGui.feature.account.AccountItem
This class creates users/groups objects that are loaded into the Groups tree.
Ibsen Ramos-Bonilla
Copyright © 1997-2004 by SMB GmbH. All Rights Reserved.
Constructor Summary | |
AccountItem(java.lang.String name,
int id)
Overloaded constructor initializes the a new item. |
Method Summary | |
void |
addChild(AccountItem item)
This method adds a new children node to the parent. |
AccountItem |
getChildAt(int i)
This method returns the specific child at a selected location. |
int |
getChildCount()
This method returns number of children for this item. |
java.util.Vector |
getChildren()
This method returns this object child objects. |
int |
getId()
This method returns the group item id. |
int |
getIndexOfChild(AccountItem item)
This method returns number of children for this item. |
boolean |
isAdmin()
This method returns a flag indicating if the account is admin. |
void |
removeChild(AccountItem item)
This method removes a children node from the parent. |
void |
setChildren(java.util.Vector children)
This method sets this object child objects. |
java.lang.String |
toString()
This method returns the group item name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AccountItem(java.lang.String name, int id)
name
- - the item name.id
- - the item id.Method Detail |
public java.lang.String toString()
public int getId()
public boolean isAdmin()
public int getIndexOfChild(AccountItem item)
item
- - the selected child.
public AccountItem getChildAt(int i)
i
- - the selected position of a child.
public int getChildCount()
public void setChildren(java.util.Vector children)
children
- - item children.public java.util.Vector getChildren()
public void addChild(AccountItem item)
item
- - the account item node being added to the parent.public void removeChild(AccountItem item)
item
- - the account item node being removed from the parent.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |