Package ca.spatial.patchworks
Class NetworkTable
java.lang.Object
javax.swing.table.AbstractTableModel
ca.spatial.table.AttributeStore
ca.spatial.table.RelationalStore
ca.spatial.table.GeoRelationalStore
ca.spatial.patchworks.NetworkTable
- All Implemented Interfaces:
PopupActivationListener
,SpatialStore
,Serializable
,Comparable
,EventListener
,ListSelectionListener
,TableModelListener
,TableModel
Get an AttributeStore view of the network, exposing all
segments, costs and flows.
This class cannot be instantiated directly. In order
to get the NetworkTable call the getNetworkTable()
method to retrieve an instance.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class ca.spatial.table.RelationalStore
DIRECT, INDIRECT
Fields inherited from class ca.spatial.table.AttributeStore
SELECT_ADD, SELECT_FROM, SELECT_NEW
Fields inherited from interface ca.spatial.table.SpatialStore
COLLECTION, CURVE, FLOAT_RASTER, INT_RASTER, MULTIPOINT, NULL, POINT, POLYGON, POLYLINE, SURFACE
-
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkTable
static NetworkTable
getNetworkTable(ca.spatial.patchworks.Network network, GeoRelationalStore shapes, String key)
Get a reference to the NetworkTable.void
Methods inherited from class ca.spatial.table.GeoRelationalStore
addMenuItems, addRelate, addRelate, addTheme, addTheme, canBuildSpatialIndex, copyTopology, findTopology, findTopology, getCoordinates, getExtent2D, getExtent2D, getExtent2D, getProjectionInfo, getRecord, getSelectedExtent, getSelection, getShape, getShape, getSnapshot, getThemeList, getTopologies, getType, hasSpatialIndex, identifyRecords, loadTopology, loadTopology, makeSpatialIndex, maybePopup, open, open, openCoverage, openCoverage, openOrReuseGeo, openRamShapeFile, openShapeFile, openShapeFile, processRecords, records, records, records, reuseOrLoadTopology, selectByLocation, selectByLocation, selectRecords, selectRecords, selectRecords, selectRecords, selectWithinConvexHull, selectWithinConvexHull, selectWithinConvexHull
Methods inherited from class ca.spatial.table.RelationalStore
addCellEditors, allowsEditing, buildIndex, canIndex, close, closeAllRelates, findBaseTable, findColumn, getBaseRelation, getColumn1, getColumn2, getColumnName1, getColumnName2, getEditMode, getFullColumnName, getLeftRelate, getPeriodCount, getRightRelate, getRowCount, getRowDelta, getRowNodeRemap, getSynchronizer, getValueAt, getYearForPeriod, hasIndex, lookupRow, nativeLookupRow, removeRightRelates, setColumn1, setEditMode, setValueAt, tableChanged
Methods inherited from class ca.spatial.table.AttributeStore
absoluteFile, absoluteFile, absolutePath, absolutePath, addPopupActivationListener, addTableModelListener, addToGlobalStoreList, booleanValue, booleanValue, calculate, calculateField, calculateField, changeSelection, clearSelection, compareTo, decodeCharset, doubleValue, doubleValue, exportCSV, exportCSV, exportCSV, exportCSV, exportCSV, exportCSV, exportDBF, exportDBF, exportDBF, exportDBF, exportDBF, findColumn, findSimilarColumnNames, getAttributeFormat, getCacheParent, getCachingLayer, getCachingLayer, getCanonicalName, getColumnClass, getColumnCount, getColumnName, getColumnNames, getContextPeriods, getCwd, getListSelectionModel, getMinMax, getMinMax, getMinMax, getMinMax, getMinMax, getOpenStore, getOpenStore, getOpenStore, getOpenStores, getPeriod, getPeriodWidth, getSelectedRowCount, getSelection, getSelection, getSelection, getShortName, getSnapshot, getStoreByShortName, getStoreByTitle, getTableName, getTableSpec, getTitle, getValueAt, identifyRecords, integerValue, integerValue, isCellEditable, isSelectedIndex, isSelectionEmpty, listify, listValue, listValue, makeLu, maybePopup, notifyPopupActivationListeners, openOrReuse, openOrReuse, queryTable, queryTable, quoteIfRequired, relativePath, removeFromGlobalStoreList, removePopupActivationListener, removeTableModelListener, select, select, selectAdd, selectFrom, selectNew, setCwd, setCwd, setListSelectionModel, setPeriod, setRowNodeRemap, setShortName, setTableSpec, setTitle, setValueAt, showCube, showTable, toString, uniqueValues, uniqueValues, uniqueValues, uniqueValues, uniqueValues, uniqueValues, uniqueValues, uniqueValues, valueChanged
Methods inherited from class javax.swing.table.AbstractTableModel
fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ca.spatial.table.SpatialStore
getRowCount, getTitle
-
Method Details
-
getAssociatedNetworkTable
- Overrides:
getAssociatedNetworkTable
in classGeoRelationalStore
-
setAssociatedNetworkTable
- Overrides:
setAssociatedNetworkTable
in classGeoRelationalStore
-
getIntersectedBlocks
- Overrides:
getIntersectedBlocks
in classGeoRelationalStore
-
getNetworkTable
-
getNetworkTable
public static NetworkTable getNetworkTable(ca.spatial.patchworks.Network network, GeoRelationalStore shapes, String key)Get a reference to the NetworkTable. Use a shapefile to express the segments. If null then an internal segment table will be constructed from the segment-node topology.
-