LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyMap

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyFieldItem
          extended by leon.view.LyPanel
              extended by leon.view.LyMapBase
                  extended by leon.view.LyMap
All Implemented Interfaces:
LyGetConstraintInterface, LyGetControllerInterface, LyGetIdInterface, LyGetLabelInterface, LyPdfInterface, LyResetContentInterface, LySetControllerInterface, LySetLabelInterface, LySetViewerInterface, LySetWaitingInterface, LyUpdateViewContentInterface

public class LyMap
extends LyMapBase
implements LyResetContentInterface

The LyMap class implements generic behavior for the MAP components as described in views.dtd regardless of the requested target (win, swing, html...). It represents a map.

See Also:
LyComponent

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.view.LyMapBase
LyMapBase.SelectionDraw, LyMapBase.SelectionMode, LyMapBase.Style, LyMapBase.TranslationStatus, LyMapBase.ViewerStatus, LyMapBase.ZoomStatus
 
Nested classes/interfaces inherited from class leon.view.LyComponent
LyComponent.EventType
 
Field Summary
static java.lang.String __VERSION
           
static java.lang.String LAYOUT_INFO_EAST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EASTNORTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EASTSOUTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_EAST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_EASTNORTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_EASTSOUTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_NORTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_NORTHEAST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_NORTHWEST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_SOUTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_SOUTHEAST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_SOUTHWEST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_WEST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_WESTNORTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_EXTERN_WESTSOUTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_NORTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_NORTHEAST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_NORTHWEST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_SOUTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_SOUTHEAST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_SOUTHWEST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_WEST
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_WESTNORTH
          Layout position : Position of a child node compared with its parent.
static java.lang.String LAYOUT_INFO_WESTSOUTH
          Layout position : Position of a child node compared with its parent.
 
Fields inherited from class leon.view.LyComponent
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID
 
Constructor Summary
LyMap()
          Constructor with all required attributes.
 
Method Summary
 boolean hasBorder()
           
 void insertMapRegion(LyMapRegion mapRegion, int pos)
          Inserts a sub-component mapRegion at given position.
 void resetContent()
          Reset the view for a new XML Structure.
 void resetContent(boolean full)
          Reset the view for a new XML Structure.
 void setBorder(boolean border)
           
 
Methods inherited from class leon.view.LyMapBase
addMapLink, addMapNode, addMapRegion, cloneComponent, getBackground, getColor, getComponent, getComponentCount, getConstraint, getController, getFontColor, getHeight, getId, getLabel, getLatitude, getLayout, getLongitude, getMapContent, getOutlineColor, getSelectedColor, getSelectionDraw, getSelectionDraw, getSelectionMode, getSelectionMode, getStyle, getStyle, getTemplate, getTitleFont, getTranslationStatus, getTranslationStatus, getTranslationStep, getViewerStatus, getViewerStatus, getViewerX, getViewerY, getWidth, getZoomFactor, getZoomStatus, getZoomStatus, getZoomStep, insertMapLink, insertMapNode, isDefaultColor, isDefaultFontColor, isDefaultOutlineColor, isDefaultSelectedColor, isDefaultTitleFont, isSpatial, isTranslation, isViewer, isZoom, removeMapLink, removeMapNode, removeMapRegion, setBackground, setColor, setConstraint, setController, setFontColor, setHeight, setId, setLabel, setLatitude, setLayout, setLongitude, setMapContent, setOutlineColor, setSelectedColor, setSelectionDraw, setSelectionMode, setSpatial, setStyle, setTemplate, setTitleFont, setTranslation, setTranslationStatus, setTranslationStep, setViewer, setViewerStatus, setViewerX, setViewerY, setWidth, setZoom, setZoomFactor, setZoomStatus, setZoomStep, writeXml
 
Methods inherited from class leon.view.LyPanel
generatePdf, getLastModified, isIdle, isScrollable, print, setIdle, setLastModified, setPopupMenu, setWaiting
 
Methods inherited from class leon.view.LyFieldItem
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, setBeanComponent, setBeanDatas, setFieldValue, updateViewContent, validateInput
 
Methods inherited from class leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, freeze, getBounds, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getIdCode, getInternalId, getInternalView, getInternalView, getLock, getModel, getParent, getParentArea, getParentForm, getParentFormFieldId, getParentSplitter, getParentSplitter, getParentTab, getParentTab, getParentTabs, getParentTabs, getParentView, getRootController, getSetVisibleParent, getTag, getViewManager, isFreed, isFreeing, registerChildrenBounds, removeComponent, reset, resetChildrenCache, resetEventFunctions, setDatas, setInternalView, setVisible, useEventDefaultFunction, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_NORTH

public static final java.lang.String LAYOUT_INFO_EXTERN_NORTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_EASTNORTH

public static final java.lang.String LAYOUT_INFO_EXTERN_EASTNORTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_NORTHEAST

public static final java.lang.String LAYOUT_INFO_EXTERN_NORTHEAST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_EAST

public static final java.lang.String LAYOUT_INFO_EXTERN_EAST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_EASTSOUTH

public static final java.lang.String LAYOUT_INFO_EXTERN_EASTSOUTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_SOUTHEAST

public static final java.lang.String LAYOUT_INFO_EXTERN_SOUTHEAST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_SOUTH

public static final java.lang.String LAYOUT_INFO_EXTERN_SOUTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_SOUTHWEST

public static final java.lang.String LAYOUT_INFO_EXTERN_SOUTHWEST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_WESTSOUTH

public static final java.lang.String LAYOUT_INFO_EXTERN_WESTSOUTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_WEST

public static final java.lang.String LAYOUT_INFO_EXTERN_WEST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_WESTNORTH

public static final java.lang.String LAYOUT_INFO_EXTERN_WESTNORTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EXTERN_NORTHWEST

public static final java.lang.String LAYOUT_INFO_EXTERN_NORTHWEST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_NORTH

public static final java.lang.String LAYOUT_INFO_NORTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EASTNORTH

public static final java.lang.String LAYOUT_INFO_EASTNORTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_NORTHEAST

public static final java.lang.String LAYOUT_INFO_NORTHEAST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EAST

public static final java.lang.String LAYOUT_INFO_EAST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_EASTSOUTH

public static final java.lang.String LAYOUT_INFO_EASTSOUTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_SOUTHEAST

public static final java.lang.String LAYOUT_INFO_SOUTHEAST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_SOUTH

public static final java.lang.String LAYOUT_INFO_SOUTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_SOUTHWEST

public static final java.lang.String LAYOUT_INFO_SOUTHWEST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_WESTSOUTH

public static final java.lang.String LAYOUT_INFO_WESTSOUTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_WEST

public static final java.lang.String LAYOUT_INFO_WEST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_WESTNORTH

public static final java.lang.String LAYOUT_INFO_WESTNORTH
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values

LAYOUT_INFO_NORTHWEST

public static final java.lang.String LAYOUT_INFO_NORTHWEST
Layout position : Position of a child node compared with its parent.

See Also:
Constant Field Values
Constructor Detail

LyMap

public LyMap()
Constructor with all required attributes.

Method Detail

insertMapRegion

public void insertMapRegion(LyMapRegion mapRegion,
                            int pos)
Inserts a sub-component mapRegion at given position.

Overrides:
insertMapRegion in class LyMapBase
Parameters:
mapRegion - The mapRegion to add to components list.
pos - Position where the sub-component is inserted.

resetContent

public void resetContent()
Reset the view for a new XML Structure. Reinitialization.

Specified by:
resetContent in interface LyResetContentInterface
See Also:
LyResetContentInterface.resetContent()

resetContent

public void resetContent(boolean full)
Reset the view for a new XML Structure. Reinitialization.

Specified by:
resetContent in interface LyResetContentInterface
Parameters:
full - indicates whether old components must be removed from graphical view.
See Also:
LyResetContentInterface.resetContent(boolean)

setBorder

public void setBorder(boolean border)

hasBorder

public boolean hasBorder()

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com