public class IlvManagerViewControlBar extends Panel
This component must be used in an AWT Application. Note that
if your application is a Swing application you should use the class
IlvJManagerViewControlBar
.
Panel.AccessibleAWTPanel
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
IlvManagerViewControlBar()
Creates a default map Control Bar
|
Modifier and Type | Method and Description |
---|---|
Image |
getFitToContentsIconImage()
Returns the icon image of the Fit to contents button.
|
URL |
getFitToContentsIconURL()
Returns the URL of the icon image of the Fit to contents button.
|
Image |
getPanIconImage()
Returns the icon image of the Pan button.
|
URL |
getPanIconURL()
Returns the URL of the icon image of the Pan button.
|
IlvManagerViewInteractor |
getPanInteractor()
Returns the interactor for the Pan tool.
|
Image |
getSelectIconImage()
Returns the icon image of the Selection button.
|
URL |
getSelectIconURL()
Returns the URL of the icon image of the Selection button.
|
IlvManagerViewInteractor |
getSelectInteractor()
Returns the interactor for the Selection tool.
|
IlvManagerView |
getView()
Returns the view associated with this control bar.
|
double |
getZoomInFactor()
Returns the zoom-in factor currently in use.
|
Image |
getZoomInIconImage()
Returns the icon image of the Zoom in button.
|
URL |
getZoomInIconURL()
Returns the URL of the icon image of the Zoom in button.
|
double |
getZoomOutFactor()
Returns the zoom out factor currently in use.
|
Image |
getZoomOutIconImage()
Returns the icon image of the Zoom out button.
|
URL |
getZoomOutIconURL()
Returns the URL of the icon image of the Zoom out button.
|
Image |
getZoomViewIconImage()
Returns the icon image of the Zoom view button.
|
URL |
getZoomViewIconURL()
Returns the URL of the icon image of the Zoom view button.
|
IlvManagerViewInteractor |
getZoomViewInteractor()
Returns the zoom view interactor currently in use.
|
boolean |
isFitToContentsButtonAvailable()
Returns
true if the show all tool is available. |
boolean |
isPanButtonAvailable()
Returns
true if Pan tool is available. |
boolean |
isSelectButtonAvailable()
Returns
true if the Selection tool is available. |
boolean |
isZoomInButtonAvailable()
Returns
true if the Zoom in tool is available. |
boolean |
isZoomOutButtonAvailable()
Returns
true if the Zoom out button is available. |
boolean |
isZoomViewButtonAvailable()
Returns
true if Zoom view tool is available. |
void |
setFitToContentsButtonAvailable(boolean available)
Specifies whether the Fit to contents tool is available.
|
void |
setFitToContentsIconImage(Image icon)
Specifies the icon image of the Fit to contents button.
|
void |
setFitToContentsIconURL(URL iconURL)
Specifies the icon image of the Fit to contents button.
|
void |
setPanButtonAvailable(boolean available)
Specifies whether the Pan tool is available.
|
void |
setPanIconImage(Image icon)
Specifies the icon image of the Pan button.
|
void |
setPanIconURL(URL iconURL)
Specifies the icon image of the Pan button.
|
void |
setPanInteractor(IlvManagerViewInteractor interactor)
Changes the interactor for the Pan tool.
|
void |
setSelectButtonAvailable(boolean available)
Specifies whether the Selection tool is available.
|
void |
setSelectIconImage(Image icon)
Specifies the icon image of the Selection button.
|
void |
setSelectIconURL(URL iconURL)
Specifies the icon image of the Selection button.
|
void |
setSelectInteractor(IlvManagerViewInteractor interactor)
Sets the interactor for the Selection tool.
|
void |
setView(IlvManagerView view)
Sets the view for this control bar.
|
void |
setZoomInButtonAvailable(boolean available)
Specifies whether the Zoom In tool is available.
|
void |
setZoomInFactor(double factor)
Changes the zoom in factor.
|
void |
setZoomInIconImage(Image icon)
Specifies the icon image of the Zoom in button.
|
void |
setZoomInIconURL(URL iconURL)
Specifies the icon image of the Zoom in button.
|
void |
setZoomOutButtonAvailable(boolean available)
Specifies whether the Zoom out tool is available.
|
void |
setZoomOutFactor(double factor)
Changes the zoom out factor.
|
void |
setZoomOutIconImage(Image icon)
Specifies the icon image of the Zoom out button.
|
void |
setZoomOutIconURL(URL iconURL)
Specifies the icon image of the Zoom out button.
|
void |
setZoomViewButtonAvailable(boolean available)
Specifies whether the Zoom view tool is available.
|
void |
setZoomViewIconImage(Image icon)
Specifies the icon image of the Zoom view button.
|
void |
setZoomViewIconURL(URL iconURL)
Specifies the icon image of the Zoom view button.
|
void |
setZoomViewInteractor(IlvManagerViewInteractor interactor)
Changes the zoom view interactor.
|
addNotify, getAccessibleContext
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public IlvManagerViewControlBar()
public void setPanButtonAvailable(boolean available)
available
- If true
, the Pan tool is available.public boolean isPanButtonAvailable()
true
if Pan tool is available.public void setPanIconURL(URL iconURL)
public URL getPanIconURL()
null
if the icon was set using
setPanIconImage(java.awt.Image)
instead of setPanIconURL(java.net.URL)
.public void setPanIconImage(Image icon)
public Image getPanIconImage()
public void setPanInteractor(IlvManagerViewInteractor interactor)
interactor
- The new interactor.IlvPanInteractor
public IlvManagerViewInteractor getPanInteractor()
public void setSelectButtonAvailable(boolean available)
public boolean isSelectButtonAvailable()
true
if the Selection tool is available.public void setSelectIconURL(URL iconURL)
public URL getSelectIconURL()
null
if the icon was set using
setSelectIconImage(java.awt.Image)
instead of setSelectIconURL(java.net.URL)
.public void setSelectIconImage(Image icon)
public Image getSelectIconImage()
public void setSelectInteractor(IlvManagerViewInteractor interactor)
public IlvManagerViewInteractor getSelectInteractor()
public void setZoomViewButtonAvailable(boolean available)
public boolean isZoomViewButtonAvailable()
true
if Zoom view tool is available.public void setZoomViewIconURL(URL iconURL)
public URL getZoomViewIconURL()
null
if the icon was set using
setZoomViewIconImage(java.awt.Image)
instead of setZoomViewIconURL(java.net.URL)
.public void setZoomViewIconImage(Image icon)
public Image getZoomViewIconImage()
public void setZoomViewInteractor(IlvManagerViewInteractor interactor)
public IlvManagerViewInteractor getZoomViewInteractor()
public void setZoomInButtonAvailable(boolean available)
public boolean isZoomInButtonAvailable()
true
if the Zoom in tool is available.public void setZoomInIconURL(URL iconURL)
public URL getZoomInIconURL()
null
if the icon was set using
setZoomInIconImage(java.awt.Image)
instead of setZoomInIconURL(java.net.URL)
.public void setZoomInIconImage(Image icon)
public Image getZoomInIconImage()
public void setZoomInFactor(double factor)
public double getZoomInFactor()
public void setZoomOutButtonAvailable(boolean available)
public boolean isZoomOutButtonAvailable()
true
if the Zoom out button is available.public void setZoomOutIconURL(URL iconURL)
public URL getZoomOutIconURL()
null
if the icon was set using
setZoomOutIconImage(java.awt.Image)
instead of setZoomOutIconURL(java.net.URL)
.public void setZoomOutIconImage(Image icon)
public Image getZoomOutIconImage()
public void setZoomOutFactor(double factor)
public double getZoomOutFactor()
public void setFitToContentsButtonAvailable(boolean available)
public boolean isFitToContentsButtonAvailable()
true
if the show all tool is available.public void setFitToContentsIconURL(URL iconURL)
public URL getFitToContentsIconURL()
null
if the icon was set using
setFitToContentsIconImage(java.awt.Image)
instead of setFitToContentsIconURL(java.net.URL)
.public void setFitToContentsIconImage(Image icon)
public Image getFitToContentsIconImage()
public void setView(IlvManagerView view)
public IlvManagerView getView()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.