com.mizar.trinidad.components.themes
Class MapOverlayTree

java.lang.Object
  extended by com.mizar.persistence.jpa.facade.JPAFacade
      extended by com.mizar.faces.jpa.facade.FacesCollection
          extended by com.mizar.trinidad.components.TrinidadCollection<RowInterface>
              extended by com.mizar.trinidad.components.TrinidadTree
                  extended by com.mizar.trinidad.components.themes.MapOverlayTree

public class MapOverlayTree
extends TrinidadTree


Nested Class Summary
 
Nested classes/interfaces inherited from class com.mizar.trinidad.components.TrinidadCollection
TrinidadCollection.UpdateListReasons
 
Field Summary
 
Fields inherited from class com.mizar.trinidad.components.TrinidadCollection
disclosedRowKeys, exceptionThrown, pkeyMask, selectedRowKeys
 
Fields inherited from class com.mizar.faces.jpa.facade.FacesCollection
currentRow, list, previousRow, selectionList
 
Fields inherited from class com.mizar.persistence.jpa.facade.JPAFacade
em, emf, persistenceUnitName, schemaName, sequencesValidated, silent, verbose
 
Constructor Summary
MapOverlayTree()
           
 
Method Summary
 void disclosureListener(org.apache.myfaces.trinidad.event.DisclosureEvent de)
           
 void expandAll(javax.faces.event.ActionEvent ae)
           
 java.lang.Boolean getAutoLegend()
           
 java.lang.Integer getAutoLegendHeight()
           
 java.lang.Integer getAutoLegendWidth()
           
static MapOverlayTree getCurrentInstance()
           
 java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> getLayerRowMap()
           
 java.lang.String getMapKey()
           
 java.util.ArrayList<MapOverlayRow> getMapOverlays()
           
 java.lang.Boolean getRefreshFetch()
           
 java.lang.String getSchema()
           
 java.util.List<MapDisplayStyle> getStyles(java.util.List<MapDisplayStyle> styles, SdoMapsSuperClass mapBean)
           
 java.util.List<MapDisplayStyle> getStyles(java.util.List<SdoCachedMapsSuperClass> mapsResults)
           
 java.lang.Integer getThemePanelHeight()
           
 java.lang.Integer getThemePanelWidth()
           
 int getTreeSize()
           
 java.util.HashMap<java.lang.Integer,java.lang.String> getViewScales()
           
 java.util.List<MapDisplayStyle> getVisibleLayers()
           
 void hideAll(javax.faces.event.ActionEvent ae)
           
 void setAutoLegend(java.lang.Boolean autoLegend)
           
 void setAutoLegendHeight(java.lang.Integer autoLegendHeight)
           
 void setAutoLegendWidth(java.lang.Integer autoLegendWidth)
           
 void setMapKey(java.lang.String mapKey)
           
 void setMapOverlays(java.util.ArrayList<MapOverlayRow> list)
           
 void setRefreshFetch(java.lang.Boolean refreshFetch)
           
 void setSchema(java.lang.String schema)
           
 void setThemePanelHeight(java.lang.Integer themePanelHeight)
           
 void setThemePanelWidth(java.lang.Integer themePanelWidth)
           
 void setViewScales(java.util.HashMap<java.lang.Integer,java.lang.String> viewScales)
           
 
Methods inherited from class com.mizar.trinidad.components.TrinidadTree
discloseAll, getModel, getTree, isDiscloseAllByDefault, redrawTree, refreshList, setDiscloseAllByDefault, setList, setList, setModel, setTree
 
Methods inherited from class com.mizar.trinidad.components.TrinidadCollection
accept, addRow, addTrinidadCollectionListener, cancel, cancelEditing, clearList, dirtyDependentTables, downloadCSV, downloadPDF, downloadXLS, downloadXML, exportToDbaseFile, fireCurrentRowValueChanged, getDependentTables, getDisclosedRowKeys, getPersistenceUnitName, getPkeyMask, getPostUpdateListMethod, getRedrawComponentId, getSelectedRowKeys, getTableName, getUpdateListReason, isEditable, isExceptionThrown, isNewRowEditing, mergeBean, persistBean, persistBean, redrawCollection, removeBean, removeRow, removeRow, removeRow, resetGoToDashboard, resetGoToDashboard, setCurrentRow, setDisclosedRowKeys, setExceptionThrown, setList, setList, setList, setNewRowEditing, setPkeyMask, setPostUpdateListMethod, setPostUpdateListMethod, setRedrawComponentId, setSelectedRowKeys, setUpdateListReason, startEditing, startEditingNew
 
Methods inherited from class com.mizar.faces.jpa.facade.FacesCollection
closeEm, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, decrementPosition, decrementPosition, downloadFile, exportToExcel, find, getBean, getBeanClass, getBeanFromRow, getBeanList, getClassNameRoot, getCurrentMutableRow, getCurrentRow, getEm, getEmScope, getExportName, getGeom, getList, getListSize, getManagedBeanName, getMaxDownloadSize, getMaxResults, getReference, getResultList, getRowClass, getRowConstructor, getRowSQL, getSelectionList, getSingleResult, getTrackedQuery, getTruncatedList, getValue, incrementPosition, incrementPosition, isDefaultRowConstructor, isFileDownloadable, isListDirty, isSelectionListDirty, maxResultsOff, maxResultsOff, maxResultsOn, newRow, newRow, refresh, refreshBean, resetCurrentRow, selectRows, selectRows, selectRowsExpression, selectRowsExpression, selectRowsJPQL, selectRowsJPQL, selectRowsJPQL, selectRowsJPQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, setBeanClass, setCurrentRow, setCurrentRow, setCurrentRow, setDefaultRowConstructor, setEmScope, setExportName, setListDirty, setManagedBeanName, setMaxDownloadSize, setMaxResults, setRowClass, setRowConstructor, setSelectionList, setSelectionListDirty, setTrackedQuery
 
Methods inherited from class com.mizar.persistence.jpa.facade.JPAFacade
closeEm, closeEmf, executeDDL, executeNativeUpdate, executeNativeUpdate, executeUpdate, getClosableConnectionAccessor, getConnection, getConnection, getEm, getEmf, getEmf, getLogger, getPassword, getPassword, getSchemaName, getSequencesValidated, getSid, getSilent, getTableName, getToleratedErrorCodes, getUrl, getUser, getVerbose, mergeBean, persist, persistBean, printAnyBean, queryTester, queryTester, refreshBean, remove, removeBean, removeBean, setEmf, setPersistenceUnitName, setSilent, setToleratedErrorCodes, setVerbose, validateSequences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapOverlayTree

public MapOverlayTree()
Method Detail

getCurrentInstance

public static MapOverlayTree getCurrentInstance()

disclosureListener

public void disclosureListener(org.apache.myfaces.trinidad.event.DisclosureEvent de)

setMapOverlays

public void setMapOverlays(java.util.ArrayList<MapOverlayRow> list)

getMapOverlays

public java.util.ArrayList<MapOverlayRow> getMapOverlays()

setSchema

public void setSchema(java.lang.String schema)

getSchema

public java.lang.String getSchema()

getLayerRowMap

public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.String>> getLayerRowMap()

getTreeSize

public int getTreeSize()

expandAll

public void expandAll(javax.faces.event.ActionEvent ae)

hideAll

public void hideAll(javax.faces.event.ActionEvent ae)

setMapKey

public void setMapKey(java.lang.String mapKey)

getMapKey

public java.lang.String getMapKey()

setViewScales

public void setViewScales(java.util.HashMap<java.lang.Integer,java.lang.String> viewScales)

getViewScales

public java.util.HashMap<java.lang.Integer,java.lang.String> getViewScales()

setAutoLegend

public void setAutoLegend(java.lang.Boolean autoLegend)

getAutoLegend

public java.lang.Boolean getAutoLegend()

getStyles

public java.util.List<MapDisplayStyle> getStyles(java.util.List<MapDisplayStyle> styles,
                                                 SdoMapsSuperClass mapBean)

getStyles

public java.util.List<MapDisplayStyle> getStyles(java.util.List<SdoCachedMapsSuperClass> mapsResults)

getVisibleLayers

public java.util.List<MapDisplayStyle> getVisibleLayers()
Returns:
a list of all visible layers
See Also:
LayerLocationHandler

setAutoLegendHeight

public void setAutoLegendHeight(java.lang.Integer autoLegendHeight)

getAutoLegendHeight

public java.lang.Integer getAutoLegendHeight()

setAutoLegendWidth

public void setAutoLegendWidth(java.lang.Integer autoLegendWidth)

getAutoLegendWidth

public java.lang.Integer getAutoLegendWidth()

setRefreshFetch

public void setRefreshFetch(java.lang.Boolean refreshFetch)
Parameters:
refreshFetch - set to false if you have a VERY stable SDO_ metadata setup.

getRefreshFetch

public java.lang.Boolean getRefreshFetch()

setThemePanelHeight

public void setThemePanelHeight(java.lang.Integer themePanelHeight)

getThemePanelHeight

public java.lang.Integer getThemePanelHeight()

setThemePanelWidth

public void setThemePanelWidth(java.lang.Integer themePanelWidth)

getThemePanelWidth

public java.lang.Integer getThemePanelWidth()