es.unex.sextante.gui.additionalResults
Class AdditionalResults

java.lang.Object
  extended by es.unex.sextante.gui.additionalResults.AdditionalResults

public class AdditionalResults
extends java.lang.Object

This class stores results generated by SEXTANTE geoalgorithms that are neither layers nor tables (i.e text results and charts). They are all stored as java Component objects, so they can be shown in a dialogs. Charts do not have to be modified, since they already extend the Component class. Text strings should be put into some kind of panel or TextArea. This is not done by this class, but should be done by the corresponding post-process task (see {IPostProcessFactory})

Author:
volaya

Constructor Summary
AdditionalResults()
           
 
Method Summary
static void addComponent(ObjectAndDescription oad)
          Adds a new result
static java.util.ArrayList getComponents()
          Returns the list of results as a list of components
static void removeComponent(ObjectAndDescription oad)
          Removes a result
static void showPanel()
          Shows a panel with results, only if there is at least one of them,
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdditionalResults

public AdditionalResults()
Method Detail

showPanel

public static void showPanel()
Shows a panel with results, only if there is at least one of them,


getComponents

public static java.util.ArrayList getComponents()
Returns the list of results as a list of components

Returns:
the list of results

addComponent

public static void addComponent(ObjectAndDescription oad)
Adds a new result

Parameters:
oad - a result and its description, to be shown in the corresponding panel

removeComponent

public static void removeComponent(ObjectAndDescription oad)
Removes a result

Parameters:
oad - The result to remove