|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.svg.SvgMagnifier
public class SvgMagnifier
Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.2 $
| Constructor Summary | |
|---|---|
SvgMagnifier(javax.swing.JComponent glassPane,
SvgImageMap svgImage)
Class constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Provides an action listener for the JRadioButton objects used to select which magnification mode is currently in use. |
void |
setGlassScale(float scale)
Sets the scale factor of the SvgMagnifyingWindow object used within this class. |
void |
setMagGlassAnimation(int animationMode,
float animationSpeed)
Sets whether a fade-in or fade-out animation is to be run. |
void |
setWindowScale(float scale)
Sets the scale factor of the SvgMagnifyingWindow object used within this class. |
void |
setZoomPoint(java.awt.Point p)
Used to set which part of the SVG image will be zoomed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SvgMagnifier(javax.swing.JComponent glassPane,
SvgImageMap svgImage)
diagram - provides a means of rendering the document as a Graphics2D objectimageFrame - a JFrame that should point to the frame that contains the SvgImageMap instance.| Method Detail |
|---|
public void setZoomPoint(java.awt.Point p)
p - the Point object specifying the area to be zoomed.public void setWindowScale(float scale)
scale - float specifing the scale factor.public void setGlassScale(float scale)
scale - float specifing the scale factor.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - the ActionEvent generated by the component.
public void setMagGlassAnimation(int animationMode,
float animationSpeed)
int specifying the animation type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||