public class GridElementXML extends RepositoryStorageXML implements GridElementStorage
nickname, reposListeners, transferAgent| Constructor and Description |
|---|
GridElementXML(RepositoryConnectivity conn,
java.lang.String storagename) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllChildGridElements(java.util.Vector elems)
Adds all RepositoryElements in Vector as child grids.
|
void |
addChildGridElement(RepositoryElement elem)
Adds the specified child GridElementStorage to this storage.
|
void |
addGriddedRegionListener(GriddedRegionListener l) |
void |
addVertexListener(VertexListener l) |
int |
childCount()
Returns the number of child GridElements
|
void |
clearChildGrids()
Removes all child GridElementStorages from this storage.
|
void |
clearGridCoordinates()
Removes all vertices information from this GridElementStorage.
|
java.io.File[] |
exportUNG()
Exports the grid in Arc/Info Ungenerate ASCII file format.
|
java.io.File[] |
exportUNG(java.io.File hdrFile,
java.io.File datFile)
Exports the grid in Arc/Info Ungenerate ASCII file format.
|
void |
fireGriddedRegionEvent(GriddedRegionEvent dv) |
void |
fireVertexEvent(VertexEvent dv) |
java.lang.String |
getAlternate()
Gets the Alternate name for this GridElementStorage.
|
DblMatrix |
getCentroid() |
RepositoryElement |
getChildGridElement(int k)
Returns a RepositoryElement for the storage of the indicated child GridElementStorage.
|
java.util.Vector |
getChildGridElements()
Returns Vector of RepositoryElements pointing to the child grids.
|
java.lang.String |
getComment()
Gets the descriptive comment for this Wedge inverse problem as a whole.
|
RepositoryElement |
getCoordinateRepositoryElement()
Gets the vertices storage for this GridElementStorage.
|
DblMatrix |
getCoords() |
DblMatrix |
getCoordsOf(java.lang.Integer row) |
java.lang.Class |
getDefaultGraphicalEditorClass() |
int |
getDimension() |
java.lang.Class |
getDOMStorageClass()
Returns a DOM storage variant of this storage instance.
|
int |
getGridCount() |
GridElement |
getGridElement(int index) |
java.lang.Integer |
getIndex(int j) |
java.lang.String |
getLabel() |
java.lang.String |
getLongName()
Gets the LongName for this GridElementStorage.
|
GridElement |
getParent() |
DblMatrix |
getPerimeter()
Returns the perimeter (2D only) of this simplex.
|
java.lang.Class |
getStorageTransferAgentClass()
This method should be overridden by subclasses wanting to extend the transfer method.
|
DblMatrix |
getVolume() |
DblMatrix |
getXData()
Gets just the x-coordinate data for this GridElementStorage.
|
DblMatrix |
getYData()
Gets just the y-coordinate data for this GridElementStorage.
|
java.util.Iterator |
gridIterator() |
void |
importAsChildUNG(java.io.File headrFile,
java.io.File datFile)
Import all grids from data saved in Arc/Info Ungenerate ASCII file format.
|
void |
importAsChildUNG(java.io.File headrFile,
java.io.File datFile,
int nskips)
Import all grids from data saved in Arc/Info Ungenerate ASCII file format.
|
void |
importAsChildUNG(java.util.Set targets,
java.io.File hdrFile,
java.io.File datFile,
int nskips)
Imports the indicated grid data as a child grid under this grid.
|
void |
importAsChildUNG(java.lang.String idxident,
java.io.File hdrFile,
java.io.File datFile,
int nskips)
Imports the indicated grid data as a child grid under this grid.
|
void |
importVerticesUNG(java.lang.String idxident,
java.io.File datFile)
Imports the indicated grid data into this GridElementStorage's vertices.
|
void |
importVerticesUNG(java.lang.String idxident,
java.io.File datFile,
int nskips)
Imports the indicated grid data into this GridElementStorage's vertices.
|
void |
removeChildGridElement(RepositoryElement elem)
Removes the specified child GridElementStorage from this storage.
|
void |
removeGriddedRegionListener(GriddedRegionListener l) |
void |
removeVertexListener(VertexListener l) |
void |
setAlternate(java.lang.String Alternate)
Sets the Alternate name for this GridElementStorage.
|
void |
setCoordinateRepositoryElement(RepositoryElement elem)
Specifies vertices storage for this GridElementStorage.
|
void |
setLabel(java.lang.String Label)
Sets the Label for this GridElementStorage.
|
void |
setLongName(java.lang.String LongName)
Sets the LongName for this GridElementStorage.
|
void |
setParentGridElement(RepositoryElement elem)
Sets the parent GridElementStorage
|
int |
size() |
java.util.Vector |
subFacesOf() |
java.util.Vector |
verticesOf()
Returns a Vector of Integers indexing into the coordinate data.
|
copyStorage, getCreatedBy, getCreatedOn, getDOM, getEnabled, getNickname, getStorage, getXMLDirectory, getXMLFilename, setComment, setCreatedBy, setCreatedOn, setEnabled, setNickname, transferStorage, writeXMLaddRepositoryListener, afterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorageCommands, getStorageCalculationsAgentClass, removeRepositoryListener, show, transferStorageCommandsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRepositoryListener, getCreatedBy, getCreatedOn, getEnabled, getNickname, removeRepositoryListener, setComment, setCreatedBy, setCreatedOn, setEnabled, setNicknameafterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorage, copyStorageCommands, transferStorage, transferStorageCommandspublic GridElementXML(RepositoryConnectivity conn, java.lang.String storagename)
public java.lang.Class getDefaultGraphicalEditorClass()
getDefaultGraphicalEditorClass in interface RepositoryStoragegetDefaultGraphicalEditorClass in class RepositoryStorageXMLpublic java.lang.Class getStorageTransferAgentClass()
AbstractRepositoryStoragegetStorageTransferAgentClass in class AbstractRepositoryStoragepublic java.lang.Class getDOMStorageClass()
AbstractRepositoryStoragegetDOMStorageClass in interface DOMStorablegetDOMStorageClass in class RepositoryStorageXMLpublic void addVertexListener(VertexListener l)
addVertexListener in interface GridElementpublic void removeVertexListener(VertexListener l)
removeVertexListener in interface GridElementpublic void fireVertexEvent(VertexEvent dv)
fireVertexEvent in interface GridElementpublic void addGriddedRegionListener(GriddedRegionListener l)
addGriddedRegionListener in interface GriddedRegionpublic void removeGriddedRegionListener(GriddedRegionListener l)
removeGriddedRegionListener in interface GriddedRegionpublic void fireGriddedRegionEvent(GriddedRegionEvent dv)
fireGriddedRegionEvent in interface GriddedRegionpublic int childCount()
childCount in interface GridElementStoragepublic RepositoryElement getCoordinateRepositoryElement()
GridElementStoragegetCoordinateRepositoryElement in interface GridElementStoragepublic void setCoordinateRepositoryElement(RepositoryElement elem)
GridElementStoragesetCoordinateRepositoryElement in interface GridElementStoragepublic void addChildGridElement(RepositoryElement elem)
GridElementStorageaddChildGridElement in interface GridElementStoragepublic void removeChildGridElement(RepositoryElement elem)
GridElementStorageremoveChildGridElement in interface GridElementStoragepublic RepositoryElement getChildGridElement(int k)
GridElementStoragegetChildGridElement in interface GridElementStoragepublic void setParentGridElement(RepositoryElement elem)
GridElementStoragesetParentGridElement in interface GridElementStoragepublic void importAsChildUNG(java.lang.String idxident,
java.io.File hdrFile,
java.io.File datFile,
int nskips)
importAsChildUNG in interface GridElementStoragepublic void importAsChildUNG(java.util.Set targets,
java.io.File hdrFile,
java.io.File datFile,
int nskips)
importAsChildUNG in interface GridElementStoragepublic void importVerticesUNG(java.lang.String idxident,
java.io.File datFile,
int nskips)
importVerticesUNG in interface GridElementStoragepublic void importVerticesUNG(java.lang.String idxident,
java.io.File datFile)
importVerticesUNG in interface GridElementStoragepublic void importAsChildUNG(java.io.File headrFile,
java.io.File datFile)
importAsChildUNG in interface GridElementStoragepublic void importAsChildUNG(java.io.File headrFile,
java.io.File datFile,
int nskips)
importAsChildUNG in interface GridElementStoragepublic java.io.File[] exportUNG(java.io.File hdrFile,
java.io.File datFile)
GridElementStorageexportUNG in interface GridElementStoragepublic java.io.File[] exportUNG()
GridElementStorageexportUNG in interface GridElementStoragepublic void addAllChildGridElements(java.util.Vector elems)
GridElementStorageaddAllChildGridElements in interface GridElementStoragepublic java.util.Vector getChildGridElements()
GridElementStoragegetChildGridElements in interface GridElementStoragepublic void clearChildGrids()
GridElementStorageclearChildGrids in interface GridElementStoragepublic void clearGridCoordinates()
GridElementStorageclearGridCoordinates in interface GridElementStoragepublic DblMatrix getXData()
GridElementStoragegetXData in interface GridElementStoragepublic DblMatrix getYData()
GridElementStoragegetYData in interface GridElementStoragepublic DblMatrix getCoords()
getCoords in interface GridElementpublic void setLabel(java.lang.String Label)
GridElementStoragesetLabel in interface GridElementStoragesetLabel in interface GridElementpublic void setAlternate(java.lang.String Alternate)
GridElementStoragesetAlternate in interface GridElementStoragepublic void setLongName(java.lang.String LongName)
GridElementStoragesetLongName in interface GridElementStoragepublic java.lang.String getLabel()
getLabel in interface GridElementpublic java.lang.String getComment()
AbstractRepositoryStoragegetComment in interface RepositoryStoragegetComment in class RepositoryStorageXMLpublic java.lang.String getAlternate()
GridElementStoragegetAlternate in interface GridElementStoragepublic java.lang.String getLongName()
GridElementStoragegetLongName in interface GridElementStoragepublic java.util.Iterator gridIterator()
gridIterator in interface GriddedRegionpublic int getGridCount()
getGridCount in interface GriddedRegionpublic GridElement getGridElement(int index)
getGridElement in interface GriddedRegionpublic GridElement getParent()
getParent in interface GridElementpublic java.util.Vector verticesOf()
verticesOf in interface GridElementpublic java.util.Vector subFacesOf()
subFacesOf in interface GridElementpublic int getDimension()
getDimension in interface GridElementpublic java.lang.Integer getIndex(int j)
getIndex in interface GridElementpublic int size()
size in interface GridElementpublic DblMatrix getCoordsOf(java.lang.Integer row)
getCoordsOf in interface GridElementpublic DblMatrix getPerimeter()
getPerimeter in interface GridElementpublic DblMatrix getVolume()
getVolume in interface GridElementpublic DblMatrix getCentroid()
getCentroid in interface GridElementCopyright © 2011, 2013. Daniel P. Dougherty