|
SMACS | |||||||||
| 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
javax.swing.JPanel
smacs.xngr.browser.explorer.TreePanel
smacs.xngr.browser.explorer.CategoriesPanel
The categories panel.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, 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 | |
CategoriesPanel(DocumentCategory root)
Constructs an explorer view with the ExplorerProperties supplied. |
|
| Method Summary | |
void |
categoryAdded(DocumentCategory category)
Called when a category has been added. |
void |
categoryChanged(DocumentCategory category)
Called when a category has been changed. |
void |
categoryRemoved(DocumentCategory category)
Called when a category has been removed. |
void |
createCategory()
Creates a new default category in the currently selected category. |
void |
editCategory()
Starts editing the currently selected directory. |
protected void |
fireSelectionChanged(ExplorerNode node)
Notifies the listeners about a popup trigger on a node. |
CategoryNode |
getCategoryNode(DocumentCategory category)
Returns a node for the DocumentCategory supplied. |
void |
removeCategory()
Removes the currently selected directory. |
void |
selectNode(DocumentCategory category)
Selects the node identified by the category. |
| Methods inherited from class smacs.xngr.browser.explorer.TreePanel |
addNode, addTreePanelListener, fireDoubleClicked, firePopupTriggered, getRoot, getSelectedNode, getTree, nodeChanged, removeNode, removeTreePanelListener, setPreferredFont, setSelectedNode |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CategoriesPanel(DocumentCategory root)
| Method Detail |
public void createCategory()
public void removeCategory()
public void editCategory()
public void selectNode(DocumentCategory category)
category - the document category to select the node for.public CategoryNode getCategoryNode(DocumentCategory category)
category - the document category to get the node for.protected void fireSelectionChanged(ExplorerNode node)
TreePanel
fireSelectionChanged in class TreePanelpublic void categoryAdded(DocumentCategory category)
CategoryListener
categoryAdded in interface CategoryListenercategory - the added category.public void categoryRemoved(DocumentCategory category)
CategoryListener
categoryRemoved in interface CategoryListenercategory - the removed category.public void categoryChanged(DocumentCategory category)
CategoryListener
categoryChanged in interface CategoryListenercategory - the changed category.
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||