public class IlvJOverview extends JComponent
IlvManagerView
. Technically,
the components contain an IlvJManagerView
that has an
IlvManagerMagViewInteractor
. It has been packaged as a
Java Bean so that map overviews can be very easily specified in a JAVA
development environment supporting visual programming with Beans.
IlvManagerMagViewInteractor
,
Serialized FormJComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static String |
MAPS_OVERVIEW_VIEW_NAME
The name selected for all IlvManagerView used as an overview.
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
IlvJOverview()
Creates a new
IlvJOverview . |
Modifier and Type | Method and Description |
---|---|
int |
getDrawingStyle()
Returns the way the control rectangle is drawn.
|
IlvManagerMagViewInteractor |
getInteractor()
Returns the instance of
IlvManagerMagViewInteractor used by this overview. |
int |
getLineWidth()
Returns the width of the lines when the drawing style is set to Line.
|
IlvManagerView |
getOverviewView()
Returns the view of the overview object.
|
int |
getResizeHandleSize()
Gets the size of the resizing handles.
|
IlvManagerView |
getView()
Returns the target view of the overview.
|
boolean |
isAutoTranslating()
Returns the Auto Translating mode status.
|
boolean |
isAutoZoomConstrained()
Returns whether Auto Zoom mode is constrained or not.
|
boolean |
isAutoZooming()
Returns the Auto Zooming mode.
|
boolean |
isBoundedByView()
Returns whether the control rectangle can be moved outside of the view.
|
boolean |
isResizingAllowed()
Returns whether the ability to resize the control rectangle is set.
|
void |
resetOverview()
Resets the overview so that the rectangle representing the
part of the map that is visible in the target view appears in the center of the
overview.
|
void |
setAutoTranslating(boolean set)
Enables/disables Auto Translating mode.
|
void |
setAutoZoomConstrained(boolean set)
Constraints the Auto Zoom mode.
|
void |
setAutoZooming(boolean set)
Enables/disables Auto Zoom mode.
|
void |
setBoundedByView(boolean set)
Sets Bounded by View mode.
|
void |
setDrawingStyle(int style)
Sets the way the control rectangle is drawn.
|
void |
setInteractor(IlvManagerMagViewInteractor interactor)
Set a customized subclass of
IlvManagerMagViewInteractor as
the interactor for this overview pane. |
void |
setLineWidth(int width)
Sets the width of the line when the drawing style is set to Line.
|
void |
setResizeHandleSize(int size)
Sets the size of the resizing handles.
|
void |
setResizingAllowed(boolean allowed)
Sets whether the ability to resize the control rectangle is set.
|
void |
setView(IlvManagerView view)
Sets the target view of the overview.
|
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, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, 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, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
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, getAccessibleContext, 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
public static final String MAPS_OVERVIEW_VIEW_NAME
public IlvJOverview()
IlvJOverview
. The overview is not active until a target view
has been specified.setView(ilog.views.IlvManagerView)
public void setInteractor(IlvManagerMagViewInteractor interactor)
IlvManagerMagViewInteractor
as
the interactor for this overview pane.
An IlvManagerMagViewInteractor
instance set on this overview
window, draws a rectangle that shows the visible area of the manager in the
main window. The visible area of the main window is changed when the
rectangle drawn by the interactor in the overview window is moved.
interactor
- The IlvManagerMagViewInteractor
public IlvManagerMagViewInteractor getInteractor()
IlvManagerMagViewInteractor
used by this overview.public void setAutoTranslating(boolean set)
public boolean isAutoTranslating()
public void setAutoZoomConstrained(boolean set)
public boolean isAutoZoomConstrained()
public void setAutoZooming(boolean set)
public boolean isAutoZooming()
public void setBoundedByView(boolean set)
public boolean isBoundedByView()
public void setResizingAllowed(boolean allowed)
public boolean isResizingAllowed()
public void setLineWidth(int width)
public int getLineWidth()
public void setResizeHandleSize(int size)
public int getResizeHandleSize()
public void setDrawingStyle(int style)
public int getDrawingStyle()
public IlvManagerView getView()
public void setView(IlvManagerView view)
public IlvManagerView getOverviewView()
public void resetOverview()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.