|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
nu.zoom.ldap.eon.directory.tree.DirectoryTree
public class DirectoryTree
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
DirectoryTree(OperationManager manager,
Workbench workbench,
org.ops4j.gaderian.Messages messages,
InitialLdapContext iCtx,
ConnectionInformation connectionDescription,
List<DirectoryTreePopUpItem> popupItems)
|
|
| Method Summary | |
|---|---|
void |
addDirectoryTreeSelectionListener(DirectoryTreeSelectionListener listener)
|
void |
attributesChanged(Name name)
Attributes have changed for the named object. |
InitialLdapContext |
getConnection()
Get the connection that this tree uses. |
ConnectionInformation |
getConnectionInformation()
Describes the current connection so users know which tree this is. |
DirectoryTreeObject |
getSelectedNode()
Returns the name of the first selected node. |
DirectoryTreeObject[] |
getSelectedNodes()
Get the selected nodes in the tree. |
void |
refresh(Name dn)
Refresh the cached copy of the children of the named node. |
void |
removeDirectoryTreeSelectionListener(DirectoryTreeSelectionListener listener)
|
void |
showDN(Name dn)
Tries to show the given distinguished name in the tree. |
void |
structureChanged(Name name)
The directory tree struture has changed below the named element. |
void |
valueChanged(TreeSelectionEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryTree(OperationManager manager,
Workbench workbench,
org.ops4j.gaderian.Messages messages,
InitialLdapContext iCtx,
ConnectionInformation connectionDescription,
List<DirectoryTreePopUpItem> popupItems)
| Method Detail |
|---|
public void showDN(Name dn)
dn - The name to show.public void refresh(Name dn)
dn - The node that needs refreshing.public void addDirectoryTreeSelectionListener(DirectoryTreeSelectionListener listener)
public void removeDirectoryTreeSelectionListener(DirectoryTreeSelectionListener listener)
public void valueChanged(TreeSelectionEvent e)
valueChanged in interface TreeSelectionListener
public DirectoryTreeObject getSelectedNode()
throws NamingException
NamingExceptionJTree.getSelectionPath()
public DirectoryTreeObject[] getSelectedNodes()
throws NamingException
NamingExceptionJTree.getSelectionPaths()public ConnectionInformation getConnectionInformation()
public InitialLdapContext getConnection()
public void structureChanged(Name name)
DirectoryEventListener
structureChanged in interface DirectoryEventListenername - The root above the change.EventQueuepublic void attributesChanged(Name name)
DirectoryEventListener
attributesChanged in interface DirectoryEventListenername - The object that has had its attributes modified.EventQueue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||