org.jtheque.metrics.view.impl.panels
Class ResultsView

java.lang.Object
  extended by org.jtheque.core.managers.view.impl.components.panel.AbstractDelegatedView<AbstractTabPanel>
      extended by org.jtheque.metrics.view.impl.panels.ResultsView
All Implemented Interfaces:
org.jtheque.core.managers.view.able.components.TabComponent, org.jtheque.core.managers.view.able.IView, org.jtheque.core.managers.view.ViewComponent, IResultsView

public final class ResultsView
extends org.jtheque.core.managers.view.impl.components.panel.AbstractDelegatedView<AbstractTabPanel>
implements IResultsView

A results View implementation.

Author:
Baptiste Wicht

Constructor Summary
ResultsView(Action generateAction)
          Construct a new ResultsView.
 
Method Summary
protected  void buildDelegatedView()
           
 void buildModel(Collection<Project> projects)
          Build the model with the projects.
 JComponent getComponent()
           
 ResultsTreeTableModel getModel()
           
 Integer getPosition()
           
 String getTitleKey()
           
 
Methods inherited from class org.jtheque.core.managers.view.impl.components.panel.AbstractDelegatedView
buildInEDT, closeDown, display, getImpl, getImplementationView, isEnabled, refresh, sendMessage, setDelegate, setEnabled, toFirstPlan, validateContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jtheque.core.managers.view.able.IView
closeDown, display, isEnabled, refresh, sendMessage, setEnabled, toFirstPlan, validateContent
 
Methods inherited from interface org.jtheque.core.managers.view.ViewComponent
getImpl
 

Constructor Detail

ResultsView

public ResultsView(Action generateAction)
Construct a new ResultsView.

Parameters:
generateAction - The action to generate the metrics.
Method Detail

buildDelegatedView

protected void buildDelegatedView()
Specified by:
buildDelegatedView in class org.jtheque.core.managers.view.impl.components.panel.AbstractDelegatedView<AbstractTabPanel>

getPosition

public Integer getPosition()
Specified by:
getPosition in interface org.jtheque.core.managers.view.able.components.TabComponent

getTitleKey

public String getTitleKey()
Specified by:
getTitleKey in interface org.jtheque.core.managers.view.able.components.TabComponent

getModel

public ResultsTreeTableModel getModel()
Specified by:
getModel in interface org.jtheque.core.managers.view.able.IView
Specified by:
getModel in interface IResultsView

buildModel

public void buildModel(Collection<Project> projects)
Description copied from interface: IResultsView
Build the model with the projects.

Specified by:
buildModel in interface IResultsView
Parameters:
projects - The projects to build the model for.

getComponent

public JComponent getComponent()
Specified by:
getComponent in interface org.jtheque.core.managers.view.able.components.TabComponent


Copyright © 2010 JTheque. All Rights Reserved.