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. $Header: /usr/local/partner/cvs/partner/source/java/com/partnersoft/maps/app/MapDataPanel.java,v 1.21.4.2 2006-03-24 22:54:47 paul Exp $

Author:
Paul Reavis Copyright 2004-2005 Partner Software, Inc.

Field Summary
protected  MapDataItem currentItem
           
protected  HTMLActionControl dataView
           
protected  javax.swing.JPanel dataViewPanel
           
protected  DrawingControls drawingControls
           
protected  CogStructureEditor editor
           
protected  javax.swing.JPanel 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 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 HTMLActionControl dataView

dataViewPanel

protected javax.swing.JPanel dataViewPanel

drawingControls

protected DrawingControls drawingControls

editor

protected CogStructureEditor editor

panel

protected javax.swing.JPanel 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()