public abstract class AbstractViewPanel extends javax.swing.JPanel implements IView, IWindowTransform, java.beans.PropertyChangeListener, Component
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractViewPanel.ViewExceptionListener |
protected class |
AbstractViewPanel.ViewSplitPane |
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isPalette |
protected static Logger |
logger |
protected MapControl |
m_MapControl |
protected MapOverview |
m_MapLoc |
protected TOC |
m_TOC |
protected WindowInfo |
m_viewInfo |
protected AbstractViewPanel.ViewExceptionListener |
mapControlExceptionListener |
protected ViewDocument |
modelo |
protected MapOverViewPalette |
movp |
protected AbstractViewPanel.ViewSplitPane |
tempMainSplit |
protected javax.swing.JSplitPane |
tempSplitToc |
protected ViewInformationArea |
viewInformationArea |
protected WindowLayout |
windowLayout |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
AbstractViewPanel()
Creates a new View object.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
asJComponent()
Returns this component as a swing
JComponent. |
java.awt.image.BufferedImage |
getImage() |
MapControl |
getMapControl() |
MapOverview |
getMapOverview() |
ViewDocument |
getModel()
Deprecated.
|
IProjection |
getProjection() |
TOC |
getTOC() |
ViewDocument |
getViewDocument() |
ViewInformationArea |
getViewInformationArea() |
WindowInfo |
getWindowInfo()
This method is used to get an initial ViewInfo object
for this View.
|
WindowLayout |
getWindowLayout()
Método para obtener un windowData con las propiedades de la
ventana del documento como pueden ser tamaños, posiciones y
estados de sliders, divisores etc.
|
java.lang.Object |
getWindowModel()
Gets the window model, the identity, the object which will be used
to identify te window.
|
protected void |
initialize()
Create the internal componentes and populate the window with them.
|
boolean |
isPalette()
This method is used to get an initial ViewInfo object
for this View.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
repaintMap() |
void |
restore()
Restore to standard view
|
void |
setProjection(IProjection proj) |
void |
setWindowLayout(WindowLayout data)
Método para cargar los datos de la ventana de proyecto.
|
void |
toPalette()
Transform to view palette.
|
void |
windowActivated()
This method it is invoked when the window is activated.
|
void |
windowClosed()
This method it is invoked when the window is closed
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, 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, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, 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, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDocument, setDocumentgetWindowProfileprotected static final Logger logger
protected MapControl m_MapControl
protected MapOverview m_MapLoc
protected WindowInfo m_viewInfo
protected WindowLayout windowLayout
protected TOC m_TOC
protected ViewDocument modelo
protected AbstractViewPanel.ViewExceptionListener mapControlExceptionListener
protected boolean isPalette
protected MapOverViewPalette movp
protected AbstractViewPanel.ViewSplitPane tempMainSplit
protected javax.swing.JSplitPane tempSplitToc
protected ViewInformationArea viewInformationArea
public AbstractViewPanel()
initialize() method.initialize()public void windowActivated()
IWindowListenerwindowActivated in interface IWindowListenerpublic javax.swing.JComponent asJComponent()
ComponentJComponent.asJComponent in interface ComponentJComponentpublic ViewInformationArea getViewInformationArea()
getViewInformationArea in interface IViewpublic void toPalette()
IWindowTransformtoPalette in interface IWindowTransformpublic void restore()
IWindowTransformrestore in interface IWindowTransformprotected void initialize()
setWindowData(WindowData) method, the window will be
populated according to this
properties.public WindowInfo getWindowInfo()
getWindowInfo in interface IWindowcom.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()public void windowClosed()
IWindowListenerwindowClosed in interface IWindowListenerIWindowListener.windowClosed()public ViewDocument getModel()
getViewDocument()public ViewDocument getViewDocument()
getViewDocument in interface IViewpublic MapOverview getMapOverview()
getMapOverview in interface IViewpublic MapControl getMapControl()
getMapControl in interface IViewpublic java.lang.Object getWindowModel()
SingletonWindowgetWindowModel in interface SingletonWindowpublic boolean isPalette()
isPalette in interface IWindowTransformcom.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()public void repaintMap()
public java.awt.image.BufferedImage getImage()
public void setProjection(IProjection proj)
public IProjection getProjection()
public WindowLayout getWindowLayout()
IDocumentWindowgetWindowLayout in interface IDocumentWindowpublic void setWindowLayout(WindowLayout data)
IDocumentWindowsetWindowLayout in interface IDocumentWindowpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListener