changeset 1971:5b05693ef8de

Update TreeMapComponent Javadocs PR3059 Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-June/019844.html Original-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-September/015950.html
author James Aziz <jaziz@redhat.com>
date Wed, 29 Jun 2016 12:22:58 -0400
parents 53d2c83f487a
children 4bd90c506cf2
files client/swing/src/main/java/com/redhat/thermostat/client/swing/components/experimental/TreeMapComponent.java
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/components/experimental/TreeMapComponent.java	Wed Jun 29 12:22:57 2016 -0400
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/components/experimental/TreeMapComponent.java	Wed Jun 29 12:22:58 2016 -0400
@@ -488,9 +488,9 @@
     public void unregister(TreeMapObserver observer) {
         this.observers.remove(observer);
     }
+
     /**
      * Notify observers that an object in the TreeMap has been selected.
-     * @param comp the selected component.
      */
     private void notifySelectionToObservers(TreeMapNode node) {
         for (TreeMapObserver observer : observers) {
@@ -499,8 +499,7 @@
     }
 
     /**
-     * Notify observers that  TreeMap has been zoomed.
-     * @param zoomedComponent 
+     * Notify observers that TreeMap has been zoomed.
      */
     private void notifyZoomInToObservers(TreeMapNode node) {
         for (TreeMapObserver observer : observers) {
@@ -510,7 +509,6 @@
     
     /**
      * Notify observers that  TreeMap has been zoomed.
-     * @param zoomedComponent 
      */
     private void notifyZoomOutToObservers() {
         for (TreeMapObserver observer : observers) {
@@ -520,15 +518,12 @@
     
     /**
      * Notify observers that  TreeMap has been zoomed.
-     * @param zoomedComponent 
      */
     private void notifyZoomFullToObservers() {
         for (TreeMapObserver observer : observers) {
             observer.notifyZoomFull();
         }
     }
-    
-    
 
     /**
      * Returns the list of zoom operation calls.
@@ -585,7 +580,7 @@
     /**
      * Switch the component's visualization mode to the one given in input. 
      * Use static constraints to set correctly a visualization mode.
-     * @param constraint the UI visualization mode to set.
+     * @param UIMode the UI visualization mode to set.
      */
     public void setBorderStyle(int UIMode) {
         this.borderStyle = UIMode;