|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvGraphicHandle
ilog.views.graphic.IlvGraphicHandleBag
ilog.views.graphic.IlvFixedSizeGraphic
ilog.views.graphic.IlvHalfZoomingGraphic
ilog.views.sdm.graphic.IlvHalfZoomingGraphic
IlvHalfZoomingGraphic instead, which has the same
API and the same functionality.
public class IlvHalfZoomingGraphic
The class IlvHalfZoomingGraphic is a wrapper class
that is used to prevent a graphic object from zooming above (or below)
a given maximum (or minimum) zoom level.
This class is used like the class IlvFixedSizeGraphic:
You create an instance of IlvHalfZoomingGraphic that wraps another
graphic object.
The behavior of the IlvHalfZoomingGraphic object is controlled by two properties:
a maximum zoom level and a minimum zoom level.
When the manager view's zoom is greater than the maximum zoom, the IlvHalfZoomingGraphic
object behaves like a fixed-size graphic: Its size remains constant.
When the manager view's zoom is less than the minimum zoom, the behavior depends on the
value of the grayedWhenUnzoomed property.
grayedWhenUnzoomed is true, the IlvHalfZoomingGraphic
object is drawn as a gray rectangle. The gray rectangle zooms out normally: It becomes
smaller when the view is zoomed out.
grayedWhenUnzoomed is false, the IlvHalfZoomingGraphic
object behaves like a fixed-size graphic: Its size remains constant.
Between minimum and maximum zoom levels, the IlvHalfZoomingGraphic
object behaves just like the wrapped object: it zooms and unzooms normally.
You can also specify an initial zoom factor. The actual zoom factor of the view will be multiplied by this initial zoom for all transformer calculations. For example, if the initial zoom is 2, and the view's transformer is the identity, the object will behave as if the view was initially zoomed by a factor 2.
| Field Summary |
|---|
| Fields inherited from class ilog.views.graphic.IlvHalfZoomingGraphic |
|---|
DELEGATE_INTERACTOR |
| Constructor Summary | |
|---|---|
IlvHalfZoomingGraphic(IlvGraphic object,
int position,
IlvPoint point,
double minZoom,
double maxZoom,
double initialZoom)
Deprecated. |
|
IlvHalfZoomingGraphic(IlvHalfZoomingGraphic source)
Deprecated. |
|
IlvHalfZoomingGraphic(IlvInputStream stream)
Deprecated. |
|
| Method Summary |
|---|
| Methods inherited from class ilog.views.graphic.IlvFixedSizeGraphic |
|---|
getPoint, getPosition, resize, rotate |
| Methods inherited from class ilog.views.graphic.IlvGraphicHandle |
|---|
getObject, getOriginalPopupMenu, isPersistent, move, move, moveResize, scale, setBackground, setForeground, setOwner, translate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.IlvGraphicBag |
|---|
getGraphicBag |
| Constructor Detail |
|---|
public IlvHalfZoomingGraphic(IlvGraphic object,
int position,
IlvPoint point,
double minZoom,
double maxZoom,
double initialZoom)
public IlvHalfZoomingGraphic(IlvHalfZoomingGraphic source)
public IlvHalfZoomingGraphic(IlvInputStream stream)
throws IlvReadFileException
IlvReadFileException
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||