com.ontimize.util.gis.client.gui
Class OGisComponent

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by com.ontimize.gui.field.AbstractFormComponent
                  extended by com.ontimize.gui.field.IdentifiedAbstractFormComponent
                      extended by com.ontimize.util.gis.client.gui.OGisComponent
All Implemented Interfaces:
com.ontimize.gui.field.AccessForm, com.ontimize.gui.field.DataComponent, com.ontimize.gui.field.FormComponent, com.ontimize.gui.field.IdentifiedElement, com.ontimize.gui.i18n.Internationalization, com.ontimize.gui.InteractionManagerModeListener, com.ontimize.gui.SecureElement, IOGisComponent, com.ontimize.util.templates.ITemplateField, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class OGisComponent
extends com.ontimize.gui.field.IdentifiedAbstractFormComponent
implements IOGisComponent, com.ontimize.util.templates.ITemplateField, com.ontimize.gui.field.DataComponent, com.ontimize.gui.InteractionManagerModeListener, com.ontimize.gui.field.AccessForm

This is the main gis component that contains all the other existing components like the map viewer, the layers selection panel...

In order to insert this component in a Ontimize form the most basic xml code is:

<com.ontimize.util.gis.client.gui.OGisComponent 
     attr="geometriesComponent" layersconf="GeometryLayers">
where two necessary parameters are setted: Other parameters for the ontimize gis component xml definition are:

See Also:
EditionGisViewer, Serialized Form

Nested Class Summary
 class OGisComponent.InitThread
           
 class OGisComponent.ParseFormAttributeThread
           
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  IGisClientManager gisClientManager
           
protected  IGisViewer gisViewer
           
protected  boolean imModeEnabled
           
(package private)  boolean inserted
           
protected  int lastIMMode
           
protected  int lastLayerIndex
           
protected  int lastOverMapLayerLast
           
protected  java.util.List<javax.swing.JComponent> layeredComponents
           
protected  IGisLayeredPane layeredPane
           
protected  java.lang.Object layersConfigurationId
           
protected  java.awt.LayoutManager layout
           
protected  boolean loadingFinishedPending
           
protected  IGisLoadingViewer loadingViewer
           
protected  boolean modifiable
           
protected  java.util.Hashtable parameters
           
protected  com.ontimize.gui.Form parentForm
           
protected  com.ontimize.locator.ReferenceLocator referenceLocator
           
protected  boolean required
           
protected  java.util.ResourceBundle res
           
protected  java.lang.StringBuilder strBuilder
           
protected  java.util.concurrent.ExecutorService tpes
           
protected  java.lang.Object value
           
protected  java.util.Hashtable<java.lang.String,java.lang.Object> viewerPreferences
           
 
Fields inherited from class com.ontimize.gui.field.IdentifiedAbstractFormComponent
attribute, enabledPermission, restricted, visiblePermission
 
Fields inherited from class com.ontimize.gui.field.AbstractFormComponent
defaultBottomMargin, defaultLeftMargin, defaultRightMargin, defaultTopMargin
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.ontimize.util.templates.ITemplateField
DATA_TYPE_FIELD, DATA_TYPE_IMAGE, DATA_TYPE_TABLE
 
Fields inherited from interface com.ontimize.gui.field.DataComponent
COMP_FOCUS_YELLOW, GREEN_VERY_LIGHT, LIGHT_GRAY_BLUE, LIGHT_GREYISH_BLUE, VERY_LIGHT_BLUE, VERY_LIGHT_GRAY, VERY_LIGHT_PINK, VERY_LIGHT_RED, VERY_LIGHT_SKYBLUE, VERY_LIGHT_YELLOW, VERY_LIGHT_YELLOW_2
 
Fields inherited from interface com.ontimize.gui.field.FormComponent
DEBUG
 
Fields inherited from interface com.ontimize.gui.i18n.Internationalization
DEBUG_LANGUAGE
 
Fields inherited from interface com.ontimize.gui.SecureElement
DESACTIVATE_COMPONENT_BY_PERMISSION_TIP
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
OGisComponent(java.util.Hashtable parameters)
           
 
Method Summary
 void add(java.awt.Component comp, java.lang.Object constraints)
           
protected  void addComponentsToLayeredPane()
          Add new components to the gis layered panel, each one is setted in a layer over the previously added component.
 int addComponentToLayeredPane(java.awt.Component comp)
          Add a new component to the gis layered panel
 int addComponentToLayeredPane(java.awt.Component comp, int index)
          Add a new component to the gis layered panel, indicating the index of the component inside the layered panel
protected  void addLog(java.lang.Object o, int level)
           
 void deleteData()
           
 java.lang.Object getFormFieldValue(java.lang.String formFieldName)
          Gets a form field value.
 com.ontimize.gui.Form getFormReference()
          Get the gis component form reference
 java.lang.Object getGisViewer()
          Get a reference to the gis map component
 java.lang.String getLabelComponentText()
           
 java.util.List<javax.swing.JComponent> getLayerPaneComponents()
          Get the list of components added into the OntimizeGis component layered panel
 java.util.ResourceBundle getResourceBundle()
           
 int getSQLDataType()
           
 int getTemplateDataType()
           
 java.lang.Object getTemplateDataValue()
           
 java.lang.Object getValue()
           
 void init(java.util.Hashtable params)
           
protected  void initViewer(java.lang.String viewerClassName)
          Inits the map viewer with the given viewer class name.
 void interactionManagerModeChanged(com.ontimize.gui.InteractionManagerModeEvent ev)
           
 boolean isEmpty()
           
 boolean isHidden()
           
 boolean isModifiable()
           
 boolean isModified()
           
 boolean isRequired()
           
 void loadingFinished()
          Method used to indicate to the gis component that the map viewer has
finished its initialization process
protected  void loadUserPreferences()
          Load user OGisComponent preferences from user preferences
protected  void paintComponent(java.awt.Graphics g)
           
protected  void parseFormAttributeParameters(FormAttribute formAttr)
          Parse the incoming FormAttribute parameters.
protected  java.util.Hashtable<java.lang.String,java.lang.Object> parsePreferencesString(java.lang.String preferencesString)
          // TODO METHOD
 void registerKeyListener(java.awt.event.KeyListener listener)
          Register a new key events listener on the gis component
 void reloadComponent()
          Initilializes the Gis component, forcing it to request the layers configuration data again
 void removeComponentFromLayeredPane(java.awt.Component comp)
          Remove the given component from the gis component layered panel
protected  void setComponentsVisible(boolean visible)
          Set all the actual subcomponents visible
 void setCursor(java.awt.Cursor cursor)
          Changes the actual gis component cursor
 void setEnabled(boolean enabled)
           
 void setLoadingMessage(java.lang.String message)
          Set the actual message of the loading panel
 void setModifiable(boolean modifiable)
           
 void setParentForm(com.ontimize.gui.Form f)
           
 void setPreferredSize(java.awt.Dimension preferredSize)
           
 void setRequired(boolean required)
           
 void setResourceBundle(java.util.ResourceBundle res)
           
 void setSize(java.awt.Dimension d)
           
 void setSize(int width, int height)
           
 void setValue(java.lang.Object value)
           
 void setVisible(boolean flag)
           
 void unRegisterKeyListener(java.awt.event.KeyListener listener)
          Delete the key events listener from the gis component key listeners group
 
Methods inherited from class com.ontimize.gui.field.IdentifiedAbstractFormComponent
checkEnabledPermission, checkVisiblePermission, getAttribute, getParentForm, initPermissions, isRestricted
 
Methods inherited from class com.ontimize.gui.field.AbstractFormComponent
getConstraints, getTextsToTranslate, setComponentLocale
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update, updateUI
 
Methods inherited from class java.awt.Container
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ontimize.util.gis.client.interfaces.IOGisComponent
getAttribute, getBounds
 
Methods inherited from interface com.ontimize.gui.field.FormComponent
getConstraints, isEnabled
 
Methods inherited from interface com.ontimize.gui.i18n.Internationalization
getTextsToTranslate, setComponentLocale
 
Methods inherited from interface com.ontimize.gui.field.IdentifiedElement
getAttribute
 
Methods inherited from interface com.ontimize.gui.SecureElement
initPermissions, isRestricted
 

Field Detail

referenceLocator

protected com.ontimize.locator.ReferenceLocator referenceLocator

gisViewer

protected IGisViewer gisViewer

value

protected java.lang.Object value

viewerPreferences

protected java.util.Hashtable<java.lang.String,java.lang.Object> viewerPreferences

strBuilder

protected final java.lang.StringBuilder strBuilder

gisClientManager

protected IGisClientManager gisClientManager

layersConfigurationId

protected java.lang.Object layersConfigurationId

layout

protected java.awt.LayoutManager layout

loadingViewer

protected IGisLoadingViewer loadingViewer

parameters

protected java.util.Hashtable parameters

lastOverMapLayerLast

protected int lastOverMapLayerLast

lastLayerIndex

protected int lastLayerIndex

layeredComponents

protected java.util.List<javax.swing.JComponent> layeredComponents

tpes

protected java.util.concurrent.ExecutorService tpes

layeredPane

protected IGisLayeredPane layeredPane

inserted

boolean inserted

res

protected java.util.ResourceBundle res

lastIMMode

protected int lastIMMode

loadingFinishedPending

protected boolean loadingFinishedPending

imModeEnabled

protected boolean imModeEnabled

required

protected boolean required

modifiable

protected boolean modifiable

parentForm

protected com.ontimize.gui.Form parentForm
Constructor Detail

OGisComponent

public OGisComponent(java.util.Hashtable parameters)
              throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

add

public void add(java.awt.Component comp,
                java.lang.Object constraints)
Overrides:
add in class java.awt.Container

init

public void init(java.util.Hashtable params)
          throws java.lang.Exception
Specified by:
init in interface com.ontimize.gui.field.FormComponent
Parameters:
params -
  • attr: component attribute
  • layersconf: layers configuration reference,
    stored in the layers configuration table at the database
  • viewerClass: indicates the class used for the map viewer, if this parameters is not setted
    then the component uses the default class (EditionGisViewer)
  • immodeenabled: Indicates if the gis component listens to interaction manager mode changes.
    Default value: false
Throws:
java.lang.Exception

parseFormAttributeParameters

protected void parseFormAttributeParameters(FormAttribute formAttr)
Parse the incoming FormAttribute parameters.

If parameter name starts with the prefix "viewer." then the parameter
is passed to the map viewer.
Example:

<com.ontimize.util.gis.client.gui.OGisComponent
   attr="geometriesComponent" layersconf="GeometryLayers">
    <com.ontimize.util.gis.client.gui.FormAttribute
      mame="viewer.zoomInFactor" value="3.0" />
</com.ontimize.util.gis.client.gui.OGisComponent>
 

Parameters:
formAttr - Form attribute to parse

initViewer

protected void initViewer(java.lang.String viewerClassName)
Inits the map viewer with the given viewer class name. If no
class name is setted for the viewer, the component will set the
default class EditionGisViewer as default.

Parameters:
viewerClassName - Map viewer class name

loadUserPreferences

protected void loadUserPreferences()
Load user OGisComponent preferences from user preferences


getGisViewer

public java.lang.Object getGisViewer()
Description copied from interface: IOGisComponent
Get a reference to the gis map component

Specified by:
getGisViewer in interface IOGisComponent
Returns:
gis map component reference

paintComponent

protected void paintComponent(java.awt.Graphics g)
Overrides:
paintComponent in class javax.swing.JComponent

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface com.ontimize.gui.field.FormComponent
Overrides:
setEnabled in class javax.swing.JComponent

setVisible

public void setVisible(boolean flag)
Specified by:
setVisible in interface com.ontimize.gui.field.FormComponent
Overrides:
setVisible in class javax.swing.JComponent

parsePreferencesString

protected java.util.Hashtable<java.lang.String,java.lang.Object> parsePreferencesString(java.lang.String preferencesString)
// TODO METHOD

Parameters:
preferencesString -

setLoadingMessage

public void setLoadingMessage(java.lang.String message)
Description copied from interface: IOGisComponent
Set the actual message of the loading panel

Specified by:
setLoadingMessage in interface IOGisComponent
Parameters:
message - Loading panel message

loadingFinished

public void loadingFinished()
Method used to indicate to the gis component that the map viewer has
finished its initialization process

Specified by:
loadingFinished in interface IOGisComponent

setComponentsVisible

protected void setComponentsVisible(boolean visible)
Set all the actual subcomponents visible

Parameters:
visible -

addComponentsToLayeredPane

protected void addComponentsToLayeredPane()
Add new components to the gis layered panel, each one is setted in a layer over the previously added component.

The bottom component in this case will be always the map viewer component.


setSize

public void setSize(int width,
                    int height)
Overrides:
setSize in class java.awt.Component

setPreferredSize

public void setPreferredSize(java.awt.Dimension preferredSize)
Overrides:
setPreferredSize in class javax.swing.JComponent

registerKeyListener

public void registerKeyListener(java.awt.event.KeyListener listener)
Description copied from interface: IOGisComponent
Register a new key events listener on the gis component

Specified by:
registerKeyListener in interface IOGisComponent
Parameters:
listener - Key listener to register

unRegisterKeyListener

public void unRegisterKeyListener(java.awt.event.KeyListener listener)
Description copied from interface: IOGisComponent
Delete the key events listener from the gis component key listeners group

Specified by:
unRegisterKeyListener in interface IOGisComponent
Parameters:
listener - Key listener to delete

setResourceBundle

public void setResourceBundle(java.util.ResourceBundle res)
Specified by:
setResourceBundle in interface com.ontimize.gui.i18n.Internationalization
Overrides:
setResourceBundle in class com.ontimize.gui.field.AbstractFormComponent

getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Specified by:
getResourceBundle in interface IOGisComponent

addComponentToLayeredPane

public int addComponentToLayeredPane(java.awt.Component comp)
Description copied from interface: IOGisComponent
Add a new component to the gis layered panel

Specified by:
addComponentToLayeredPane in interface IOGisComponent
Parameters:
comp - Component to add
Returns:
Component panel layer index

addComponentToLayeredPane

public int addComponentToLayeredPane(java.awt.Component comp,
                                     int index)
Description copied from interface: IOGisComponent
Add a new component to the gis layered panel, indicating the index of the component inside the layered panel

Specified by:
addComponentToLayeredPane in interface IOGisComponent
Parameters:
comp - Component to add
index - Component panel layer index
Returns:
Component panel layer index

addLog

protected void addLog(java.lang.Object o,
                      int level)

interactionManagerModeChanged

public void interactionManagerModeChanged(com.ontimize.gui.InteractionManagerModeEvent ev)
Specified by:
interactionManagerModeChanged in interface com.ontimize.gui.InteractionManagerModeListener

deleteData

public void deleteData()
Specified by:
deleteData in interface com.ontimize.gui.field.DataComponent

getLabelComponentText

public java.lang.String getLabelComponentText()
Specified by:
getLabelComponentText in interface com.ontimize.gui.field.DataComponent

getSQLDataType

public int getSQLDataType()
Specified by:
getSQLDataType in interface com.ontimize.gui.field.DataComponent

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface com.ontimize.gui.field.DataComponent

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface com.ontimize.gui.field.DataComponent

isHidden

public boolean isHidden()
Specified by:
isHidden in interface com.ontimize.gui.field.DataComponent

isModifiable

public boolean isModifiable()
Specified by:
isModifiable in interface com.ontimize.gui.field.DataComponent

isModified

public boolean isModified()
Specified by:
isModified in interface com.ontimize.gui.field.DataComponent

isRequired

public boolean isRequired()
Specified by:
isRequired in interface com.ontimize.gui.field.DataComponent

setModifiable

public void setModifiable(boolean modifiable)
Specified by:
setModifiable in interface com.ontimize.gui.field.DataComponent

setRequired

public void setRequired(boolean required)
Specified by:
setRequired in interface com.ontimize.gui.field.DataComponent

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface com.ontimize.gui.field.DataComponent

getFormFieldValue

public java.lang.Object getFormFieldValue(java.lang.String formFieldName)
Description copied from interface: IOGisComponent
Gets a form field value. This method is usually used by gis components with no access to the interaction manager

Specified by:
getFormFieldValue in interface IOGisComponent
Parameters:
formFieldName - Form field name
Returns:
Form value

removeComponentFromLayeredPane

public void removeComponentFromLayeredPane(java.awt.Component comp)
Description copied from interface: IOGisComponent
Remove the given component from the gis component layered panel

Specified by:
removeComponentFromLayeredPane in interface IOGisComponent
Parameters:
comp - Component to remove

setCursor

public void setCursor(java.awt.Cursor cursor)
Description copied from interface: IOGisComponent
Changes the actual gis component cursor

Specified by:
setCursor in interface IOGisComponent
Overrides:
setCursor in class java.awt.Component
Parameters:
cursor - Gis component cursor

getFormReference

public com.ontimize.gui.Form getFormReference()
Description copied from interface: IOGisComponent
Get the gis component form reference

Specified by:
getFormReference in interface IOGisComponent
Returns:
form reference

setSize

public void setSize(java.awt.Dimension d)
Overrides:
setSize in class java.awt.Component

getLayerPaneComponents

public java.util.List<javax.swing.JComponent> getLayerPaneComponents()
Description copied from interface: IOGisComponent
Get the list of components added into the OntimizeGis component layered panel

Specified by:
getLayerPaneComponents in interface IOGisComponent
Returns:
Components list

reloadComponent

public void reloadComponent()
Description copied from interface: IOGisComponent
Initilializes the Gis component, forcing it to request the layers configuration data again

Specified by:
reloadComponent in interface IOGisComponent

getTemplateDataType

public int getTemplateDataType()
Specified by:
getTemplateDataType in interface com.ontimize.util.templates.ITemplateField

getTemplateDataValue

public java.lang.Object getTemplateDataValue()
Specified by:
getTemplateDataValue in interface com.ontimize.util.templates.ITemplateField

setParentForm

public void setParentForm(com.ontimize.gui.Form f)
Specified by:
setParentForm in interface com.ontimize.gui.field.AccessForm
Overrides:
setParentForm in class com.ontimize.gui.field.IdentifiedAbstractFormComponent