insensa.view.html
Class HtmlCountValuesTable

java.lang.Object
  extended by insensa.view.html.AbstractHtmlView
      extended by insensa.view.html.HtmlCountValuesTable
All Implemented Interfaces:
IHtmlView, IInfoReaderHtmlView

public class HtmlCountValuesTable
extends AbstractHtmlView
implements IInfoReaderHtmlView


Nested Class Summary
private  class HtmlCountValuesTable.SaveAsCSVListener
           
 
Field Summary
private  java.util.List<CCountValues> countValues
           
private  javax.swing.text.Element mainTr
           
 
Fields inherited from class insensa.view.html.AbstractHtmlView
body, doc, editorPane, kit, popupMenu, progressBar, save, scrollPane, styleSheet
 
Constructor Summary
HtmlCountValuesTable()
           
 
Method Summary
 void addInfoReader(InfoReader infoReader)
           
 void addInfoReader(java.util.List<InfoReader> infoReaderList)
           
private  void addTableContent(CCountValues countValues)
           
 javax.swing.JComponent getComponent()
           
 javax.swing.JComponent getDropTargetComponent()
           
private  void initDocument()
           
 void onDropObjects(java.util.List<java.lang.Object> objectList)
           
 void refresh(java.awt.Dimension dim)
           
 void saveAsCsv(java.lang.String filename)
           
 void startView()
           
 
Methods inherited from class insensa.view.html.AbstractHtmlView
initProgressBar, saveAsHtml, saveTableAsCsv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface insensa.view.html.IHtmlView
saveAsHtml
 

Field Detail

mainTr

private javax.swing.text.Element mainTr

countValues

private java.util.List<CCountValues> countValues
Constructor Detail

HtmlCountValuesTable

public HtmlCountValuesTable()
Method Detail

addInfoReader

public void addInfoReader(InfoReader infoReader)
                   throws java.io.IOException
Specified by:
addInfoReader in interface IInfoReaderHtmlView
Throws:
java.io.IOException
See Also:
IInfoReaderHtmlView.addInfoReader(insensa.inforeader.InfoReader)

addInfoReader

public void addInfoReader(java.util.List<InfoReader> infoReaderList)
Specified by:
addInfoReader in interface IInfoReaderHtmlView
See Also:
IInfoReaderHtmlView.addInfoReader(java.util.List)

addTableContent

private void addTableContent(CCountValues countValues)
                      throws java.io.IOException
Parameters:
countValues -
Throws:
java.io.IOException

getComponent

public javax.swing.JComponent getComponent()
Specified by:
getComponent in interface IHtmlView
Overrides:
getComponent in class AbstractHtmlView
Returns:
See Also:
AbstractHtmlView.getComponent()

getDropTargetComponent

public javax.swing.JComponent getDropTargetComponent()
Specified by:
getDropTargetComponent in interface IHtmlView
Overrides:
getDropTargetComponent in class AbstractHtmlView
Returns:
See Also:
AbstractHtmlView.getDropTargetComponent()

initDocument

private void initDocument()
                   throws java.io.IOException
Throws:
java.io.IOException

onDropObjects

public void onDropObjects(java.util.List<java.lang.Object> objectList)
                   throws java.io.IOException
Specified by:
onDropObjects in interface IHtmlView
Throws:
java.io.IOException
See Also:
IHtmlView.onDropObjects(java.util.List)

refresh

public void refresh(java.awt.Dimension dim)
             throws java.io.IOException
Specified by:
refresh in interface IHtmlView
Throws:
java.io.IOException
See Also:
IHtmlView.refresh(java.awt.Dimension)

saveAsCsv

public void saveAsCsv(java.lang.String filename)
               throws java.io.IOException
Parameters:
filename -
Throws:
java.io.IOException

startView

public void startView()
               throws java.io.IOException
Specified by:
startView in interface IHtmlView
Overrides:
startView in class AbstractHtmlView
Throws:
java.io.IOException
See Also:
AbstractHtmlView.startView()