public class IlvJMapsManagerViewControlBar extends IlvJManagerViewControlBar
IlvJMapsManagerViewControlBar
overrides
IlvJManagerViewControlBar
to provide
rotate, magnify and continuous zoom interactors in addition to the standard
tools.JToolBar.AccessibleJToolBar, JToolBar.Separator
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
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
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
IlvJMapsManagerViewControlBar()
Creates a new
IlvJMapsManagerViewControlBar instance. |
Modifier and Type | Method and Description |
---|---|
Icon |
getContinuousZoomIcon()
Returns the continuous zoom button icon.
|
URL |
getContinuousZoomIconURL()
Returns the URL of the continuous zoom button icon.
|
IlvManagerViewInteractor |
getContinuousZoomInteractor()
Returns the continuous zoom interactor currently in use.
|
String |
getContinuousZoomToolTipText()
Returns the text that will be displayed in the ToolTip when the mouse rests
on the continuous zoom button.
|
Icon |
getMagnifyIcon()
Returns the magnify button icon.
|
URL |
getMagnifyIconURL()
Returns the URL of the magnify button icon.
|
IlvManagerViewInteractor |
getMagnifyInteractor()
Returns the magnify interactor currently in use.
|
String |
getMagnifyToolTipText()
Returns the text displayed in the ToolTip when the mouse rests on the
magnify button.
|
Icon |
getRotatorIcon()
Returns the rotate button icon.
|
URL |
getRotatorIconURL()
Returns the URL to the rotate button icon.
|
IlvManagerViewInteractor |
getRotatorInteractor()
Returns the rotate interactor currently in use.
|
String |
getRotatorToolTipText()
Returns the text that will be displayed in the ToolTip when the mouse
rests on the rotate button.
|
boolean |
isContinuousZoomButtonAvailable()
Returns
true if the continuous zoom tool is available. |
boolean |
isMagnifyButtonAvailable()
Returns
true if the magnify tool is available. |
boolean |
isRotatorButtonAvailable()
Returns
true if the rotate tool is available. |
void |
setContinuousZoomButtonAvailable(boolean available)
Specifies whether the continuous zoom tool is available.
|
void |
setContinuousZoomIcon(Icon icon)
Sets the continuous zoom button icon.
|
void |
setContinuousZoomIconURL(URL iconURL)
Sets the continuous zoom button icon.
|
void |
setContinuousZoomInteractor(IlvManagerViewInteractor interactor)
Changes the continuous zoom interactor.
|
void |
setContinuousZoomToolTipText(String text)
Sets the text to display in the continuous zoom button ToolTip.
|
void |
setMagnifyButtonAvailable(boolean available)
Specifies whether the magnify tool is available.
|
void |
setMagnifyIcon(Icon icon)
Sets a new icon for the magnify button.
|
void |
setMagnifyIconURL(URL iconURL)
Sets the magnify button icon.
|
void |
setMagnifyInteractor(IlvManagerViewInteractor interactor)
Changes the magnify interactor.
|
void |
setMagnifyToolTipText(String text)
Sets the text that will be displayed in the ToolTip when the mouse rests
on the magnify button.
|
void |
setRotatorButtonAvailable(boolean available)
Specifies whether the rotate tool is available.
|
void |
setRotatorIcon(Icon icon)
Sets the rotate button icon.
|
void |
setRotatorIconURL(URL iconURL)
Sets the rotate button icon.
|
void |
setRotatorInteractor(IlvManagerViewInteractor interactor)
Changes the rotate interactor.
|
void |
setRotatorToolTipText(String text)
Sets the text that will be displayed in the ToolTip when the mouse
rests on the rotate button.
|
addActionButton, addActionToggleButton, addInteractorButton, getFitToContentsIcon, getFitToContentsIconURL, getFitToContentsToolTipText, getPanIcon, getPanIconURL, getPanInteractor, getPanToolTipText, getSelectIcon, getSelectIconURL, getSelectInteractor, getSelectToolTipText, getView, getZoomInFactor, getZoomInIcon, getZoomInIconURL, getZoomInToolTipText, getZoomOutFactor, getZoomOutIcon, getZoomOutIconURL, getZoomOutToolTipText, getZoomViewIcon, getZoomViewIconURL, getZoomViewInteractor, getZoomViewToolTipText, isFitToContentsButtonAvailable, isPanButtonAvailable, isSelectButtonAvailable, isZoomInButtonAvailable, isZoomOutButtonAvailable, isZoomViewButtonAvailable, setFitToContentsButtonAvailable, setFitToContentsIcon, setFitToContentsIconURL, setFitToContentsToolTipText, setPanButtonAvailable, setPanIcon, setPanIconURL, setPanInteractor, setPanToolTipText, setSelectButtonAvailable, setSelectIcon, setSelectIconURL, setSelectInteractor, setSelectToolTipText, setView, setZoomInButtonAvailable, setZoomInFactor, setZoomInIcon, setZoomInIconURL, setZoomInToolTipText, setZoomOutButtonAvailable, setZoomOutFactor, setZoomOutIcon, setZoomOutIconURL, setZoomOutToolTipText, setZoomViewButtonAvailable, setZoomViewIcon, setZoomViewIconURL, setZoomViewInteractor, setZoomViewToolTipText
add, addImpl, addSeparator, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, 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, 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, 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, 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
public IlvJMapsManagerViewControlBar()
IlvJMapsManagerViewControlBar
instance.public void setRotatorButtonAvailable(boolean available)
available
- Set to true
so the rotate tool is
available.public boolean isRotatorButtonAvailable()
true
if the rotate tool is available.true
is
returned.public void setRotatorToolTipText(String text)
text
- The text to display in the rotate button ToolTip.public String getRotatorToolTipText()
public void setRotatorIconURL(URL iconURL)
iconURL
- The URL to the rotate button icon.public URL getRotatorIconURL()
setRotatorIcon(javax.swing.Icon)
and not setRotatorIconURL(java.net.URL)
,
null
is returned.public void setRotatorIcon(Icon icon)
icon
- The rotate button icon.public Icon getRotatorIcon()
public void setRotatorInteractor(IlvManagerViewInteractor interactor)
interactor
- The new rotate interactor.IlvManagerViewRotateInteractor
public IlvManagerViewInteractor getRotatorInteractor()
public void setContinuousZoomButtonAvailable(boolean available)
available
- Set to true
to enable the continuous zoom.public boolean isContinuousZoomButtonAvailable()
true
if the continuous zoom tool is available.true
is
returned.public void setContinuousZoomToolTipText(String text)
text
- The text to display in the continuous zoom button ToolTip.public String getContinuousZoomToolTipText()
public void setContinuousZoomIconURL(URL iconURL)
iconURL
- The URL to the continuous zoom button icon.public URL getContinuousZoomIconURL()
null
if the icon was set using setContinuousZoomIcon(javax.swing.Icon)
and not setContinuousZoomIconURL(java.net.URL)
.public void setContinuousZoomIcon(Icon icon)
icon
- The icon of the continuous zoom button.public Icon getContinuousZoomIcon()
public void setContinuousZoomInteractor(IlvManagerViewInteractor interactor)
interactor
- The new continuous zoom interactor.IlvContinuousZoomInteractor
public IlvManagerViewInteractor getContinuousZoomInteractor()
public void setMagnifyButtonAvailable(boolean available)
available
- Set to true
to enable the magnify tool.public boolean isMagnifyButtonAvailable()
true
if the magnify tool is available.true
is returned.public void setMagnifyToolTipText(String text)
text
- The text to display in the magnify button ToolTip.public String getMagnifyToolTipText()
public void setMagnifyIconURL(URL iconURL)
iconURL
- The URL to the new magnify button icon.public URL getMagnifyIconURL()
null
if the icon was set using
setMagnifyIcon(javax.swing.Icon)
instead of setMagnifyIconURL(java.net.URL)
.public void setMagnifyIcon(Icon icon)
icon
- The new magnify button icon.public Icon getMagnifyIcon()
public void setMagnifyInteractor(IlvManagerViewInteractor interactor)
interactor
- The new interactor.IlvMagnifyInteractor
public IlvManagerViewInteractor getMagnifyInteractor()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.