X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fgui%2FNodeManagerListener.java;h=c01c57b22a5c7b9d2c43d9a4837273434281f088;hb=728fbd0eb74f6b7bd9ae0fdf2a6ab13b98ea45b3;hp=a106dfcc96708361321a52e8aec989c0941ed343;hpb=250630a5fb1ff745f05788210a6efd976533fb55;p=jSite.git diff --git a/src/de/todesbaum/jsite/gui/NodeManagerListener.java b/src/de/todesbaum/jsite/gui/NodeManagerListener.java index a106dfc..c01c57b 100644 --- a/src/de/todesbaum/jsite/gui/NodeManagerListener.java +++ b/src/de/todesbaum/jsite/gui/NodeManagerListener.java @@ -1,5 +1,5 @@ /* - * jSite-0.7 - + * jSite-0.7 - * Copyright (C) 2006 David Roden * * This program is free software; you can redistribute it and/or modify @@ -23,12 +23,28 @@ import java.util.EventListener; import de.todesbaum.jsite.application.Node; - /** + * Listener interface for objects that want to be notified if the node + * configuration changes. + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public interface NodeManagerListener extends EventListener { + /** + * Notifies a listener that the node configuration was changed. + * + * @param nodes + * The new list of nodes + */ public void nodesUpdated(Node[] nodes); - + + /** + * Notifies a listener that the selected node has changed. + * + * @param node + * The new selected node + */ + public void nodeSelected(Node node); + }