public class Project extends LayerGroup
ICON_LAYER, syncaddDescendants, addLayer, addLayer, addLayerGroup, addLayerGroup, addLayerGroup, addLayers, addPath, addVisibleDescendants, addVisibleLayers, clear, containsLayer, create, doRefresh, doRefreshAll, getBoundingBox, getBoundingBox, getChildren, getDescenants, getGeometryFactory, getId, getLayer, getLayerByPath, getLayerByPath, getLayerCount, getLayerGroups, getLayers, getLayers, getLayers, getLayers, getSelectedBoundingBox, getSettingsFileName, getVisibleDescendants, hasLayerWithSameName, indexOf, initialize, isEmpty, isHasSelectedRecords, isQueryable, isQuerySupported, isZoomToLayerEnabled, iterator, loadLayer, loadLayers, openFile, openFile, openFile, openFile, openFiles, openFiles, removeLayer, removeLayer, saveAllSettings, saveChanges, sortaddParent, addRenderer, addRenderer, canSaveSettings, checkShowProperties, clone, compareTo, createPanelComponent, createPropertiesPanel, createPropertiesTabCoordinateSystem, createPropertiesTabGeneral, createPropertiesTabGeneralPanelGeneral, createTableViewComponent, deleteWithConfirm, doInitialize, doSaveChanges, fireIndexedPropertyChange, firePropertyChange, getBeanPropertyListener, getChildClasses, getIcon, getLayerGroup, getMaximumScale, getMinimumScale, getName, getParent, getPath, getPathList, getPluginConfig, getPropertyChangeSupport, getRenderer, getSync, getType, initialize, isClonable, isEditable, isEditable, isEventsEnabled, isExists, isHasChanges, isHasGeometry, isInitialized, isReadOnly, isSelectable, isSelectable, isSelectSupported, isVisible, isVisible, refresh, refreshAll, saveSettings, saveSettings, setEditable, setEventsEnabled, setExists, setIcon, setInitialized, setLayerGroup, setMaximumScale, setMinimumScale, setName, setPluginConfig, setPluginConfig, setPluginConfig, setProperties, setQueryable, setQuerySupported, setReadOnly, setRenderer, setSelectable, setSelectSupported, setType, setVisible, showProperties, showProperties, showRendererProperties, showTableView, toggleEditable, toString, zoomToLayerclearProperties, close, getProperties, getProperty, getProperty, removeProperty, setPropertySoft, setPropertyWeakequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setPropertySoft, setPropertyWeakpublic Project()
public Project(String name)
public static Project get()
public static void set(Project project)
public void addZoomBookmark(String name, BoundingBox boundingBox)
protected ValueField createPropertiesTabGeneralPanelSource(BasePanel parent)
createPropertiesTabGeneralPanelSource in class AbstractLayerpublic void delete()
delete in interface Layerdelete in class LayerGroupprotected boolean doSaveSettings(File directory)
doSaveSettings in class LayerGrouppublic LayerGroup getBaseMapLayers()
public File getDirectory()
getDirectory in class LayerGrouppublic FolderConnectionRegistry getFolderConnections()
protected File getGroupSettingsDirectory(File directory)
getGroupSettingsDirectory in class LayerGrouppublic BoundingBox getInitialBoundingBox()
public <V extends Layer> V getLayer(String name)
getLayer in class LayerGrouppublic Project getProject()
getProject in interface LayergetProject in class AbstractLayerpublic File getProjectDirectory()
public RecordStoreConnectionRegistry getRecordStores()
public File getSaveAsDirectory()
public BoundingBox getViewBoundingBox()
public Map<String,BoundingBox> getZoomBookmarks()
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpropertyChange in class AbstractLayerprotected void readBaseMapsLayers(org.springframework.core.io.Resource resource)
protected void readLayers(org.springframework.core.io.Resource resource)
public void readProject(org.springframework.core.io.Resource resource)
protected void readProperties(org.springframework.core.io.Resource resource)
public void removeZoomBookmark(String name)
public void reset()
public void save()
public boolean saveAllSettings()
public File saveAllSettingsAs()
public boolean saveChangesWithPrompt()
public boolean saveChangesWithPrompt(int optionType)
public boolean saveSettingsWithPrompt()
public boolean saveWithPrompt()
public void setFolderConnections(FolderConnectionRegistry folderConnections)
public void setGeometryFactory(GeometryFactory geometryFactory)
setGeometryFactory in class AbstractLayerpublic void setProperty(String name, Object value)
setProperty in interface ObjectWithPropertiessetProperty in class AbstractLayerpublic void setRecordStores(RecordStoreConnectionRegistry recordStores)
public void setSrid(Number srid)
public void setViewBoundingBox(BoundingBox viewBoundingBox)
public Map<String,Object> toMap()
MapSerializerConvert the object to a Map of property name, value pairs. The values can be one of the following supported types. Other values should be converted to one of these values.
toMap in interface MapSerializertoMap in class LayerGroupCopyright © 2015 Revolution Systems Inc.. All rights reserved.