com.partnersoft.maps.app
Class MapDataPanel

java.lang.Object
  extended by com.partnersoft.maps.app.MapDataPanel

public class MapDataPanel
extends java.lang.Object

This panel includes a selection list, a data display for the current selection in that list, and some drawing controls beneath that. These are unfortunately somewhat unrelated, but they're all in the same panel, so there you go.

Copyright 2004-2009 Partner Software, Inc.

Version:
$Id: MapDataPanel.java 2328 2010-01-06 15:38:22Z paul $
Author:
Paul Reavis

Field Summary
protected  MapDataItem currentItem
           
protected  MapHTMLControl dataView
           
protected  javax.swing.JSplitPane panel
           
protected  ArrayListListModel<MapDataLink> selectionModel
           
protected  ListSelectionControl selections
           
 
Constructor Summary
MapDataPanel(MapApp crapp)
           
 
Method Summary
 java.lang.String getDataViewText()
           
 javax.swing.JComponent getGUI()
           
 void initialize()
           
 void refreshViewData()
          Reruns the view data HTML generation scripts for the current selection.
 void setCurrentSelection(MapDataItem item, int index)
           
 void setSelectionList(java.util.ArrayList<MapDataLink> newList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectionModel

protected ArrayListListModel<MapDataLink> selectionModel

selections

protected ListSelectionControl selections

dataView

protected MapHTMLControl dataView

panel

protected javax.swing.JSplitPane panel

currentItem

protected MapDataItem currentItem
Constructor Detail

MapDataPanel

public MapDataPanel(MapApp crapp)
Method Detail

initialize

public void initialize()

setSelectionList

public void setSelectionList(java.util.ArrayList<MapDataLink> newList)

setCurrentSelection

public void setCurrentSelection(MapDataItem item,
                                int index)

getGUI

public javax.swing.JComponent getGUI()

getDataViewText

public java.lang.String getDataViewText()

refreshViewData

public void refreshViewData()
Reruns the view data HTML generation scripts for the current selection.