|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
ilog.views.awt.IlvManagerViewControlBar
public class IlvManagerViewControlBar
This class defines a customizable tool bar that contains tools to zoom, unzoom, scroll, fit to contents, or select graphic objects.
This component must be used in an AWT Application. Note that
if your application is a Swing application you should use the class
IlvJManagerViewControlBar.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Panel |
|---|
Panel.AccessibleAWTPanel |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
IlvManagerViewControlBar()
Creates a default map Control Bar |
|
| Method Summary | |
|---|---|
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. |
float |
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. |
float |
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(float 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(float 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. |
| Methods inherited from class java.awt.Panel |
|---|
addNotify, getAccessibleContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvManagerViewControlBar()
| Method Detail |
|---|
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.IlvPanInteractorpublic 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(float factor)
public float 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(float factor)
public float 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||