net.sf.panoptes.controller
Class MainController
java.lang.Object
|
+--net.sf.panoptes.controller.MainController
- All Implemented Interfaces:
- NodeUpdateListener
- public class MainController
- extends java.lang.Object
- implements NodeUpdateListener
Main controller for Panoptes.
- Version:
- 0.1
- Author:
- Dag Liodden
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainController
public MainController()
getMainWindow
public MainWindow getMainWindow()
- Returns:
- MainWindow
getRootNode
public RootNode getRootNode()
- Returns:
- RootNode
displayError
public void displayError(java.lang.String title,
java.lang.String message)
- Displays an error message.
- Parameters:
title
- message
-
displayError
public void displayError(java.lang.String title,
java.lang.String message,
java.lang.Throwable exception)
- Displays an error message with a cause.
- Parameters:
title
- message
- exception
-
getMBeanConnectionController
public MBeanConnectionController getMBeanConnectionController()
nodeUpdated
public void nodeUpdated(NodeUpdateEvent event)
- Specified by:
nodeUpdated
in interface NodeUpdateListener
getCurrentNode
public Node getCurrentNode()
- Returns:
setCurrentNode
public void setCurrentNode(Node node)
- Parameters:
node
-
Copyright © 2003 . All Rights Reserved.