public abstract class AbstractViewPanel extends JPanel implements IView, IWindowTransform, PropertyChangeListener, Component
Modifier and Type | Class and Description |
---|---|
class |
AbstractViewPanel.ViewExceptionListener |
protected class |
AbstractViewPanel.ViewSplitPane |
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPalette |
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 JSplitPane |
tempSplitToc |
protected WindowLayout |
windowLayout |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
AbstractViewPanel()
Creates a new View object.
|
Modifier and Type | Method and Description |
---|---|
JComponent |
asJComponent()
Returns this component as a swing
JComponent . |
BufferedImage |
getImage() |
MapControl |
getMapControl() |
MapOverview |
getMapOverview() |
ViewDocument |
getModel()
Deprecated.
|
IProjection |
getProjection() |
TOC |
getTOC() |
ViewDocument |
getViewDocument() |
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.
|
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(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, updateUI
addAncestorListener, 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, update
add, 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, validateTree
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, 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, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDocument, setDocument
getWindowProfile
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 JSplitPane tempSplitToc
public AbstractViewPanel()
initialize()
method.initialize()
public void windowActivated()
IWindowListener
windowActivated
in interface IWindowListener
public JComponent asJComponent()
Component
JComponent
.asJComponent
in interface Component
JComponent
public void toPalette()
IWindowTransform
toPalette
in interface IWindowTransform
public void restore()
IWindowTransform
restore
in interface IWindowTransform
protected void initialize()
setWindowData(WindowData)
method, the window will be
populated according to this
properties.public WindowInfo getWindowInfo()
getWindowInfo
in interface IWindow
com.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()
public void windowClosed()
IWindowListener
windowClosed
in interface IWindowListener
IWindowListener.windowClosed()
public ViewDocument getModel()
getViewDocument()
public ViewDocument getViewDocument()
getViewDocument
in interface IView
public MapOverview getMapOverview()
getMapOverview
in interface IView
public MapControl getMapControl()
getMapControl
in interface IView
public Object getWindowModel()
SingletonWindow
getWindowModel
in interface SingletonWindow
public boolean isPalette()
isPalette
in interface IWindowTransform
com.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()
public void repaintMap()
public BufferedImage getImage()
public void setProjection(IProjection proj)
public IProjection getProjection()
public WindowLayout getWindowLayout()
IDocumentWindow
getWindowLayout
in interface IDocumentWindow
public void setWindowLayout(WindowLayout data)
IDocumentWindow
setWindowLayout
in interface IDocumentWindow
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener