public static class ZoomRecognizer.ZoomData extends AbstractXmlBuilder implements TypedData
| Modifier and Type | Field and Description |
|---|---|
static String |
CENTER_X |
static String |
CENTER_Y |
static Type |
type
The string id for this classification type.
|
static String |
ZOOM_AMOUNT |
| Constructor and Description |
|---|
ZoomData(double cx,
double cy,
double zoom)
Contruct a zoom type object with the zoom amount
given.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
build(XmlElement in,
String type)
Given an XmlElement, create and return an internal representtion
of it.
|
XmlElement |
generate(Object in)
Unable to generate XML by default.
|
double |
getCenterX()
Return the X coordinate of the center point.
|
double |
getCenterY()
Return the Y coordinate of the center point.
|
Type |
getType()
Return the uniquely identifying type associated
with this piece of data.
|
double |
getZoomAmount()
Return the absolute scale factor relative to the
zoom center point.
|
getDelegate, setDelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetDelegatepublic static final String ZOOM_AMOUNT
public static final String CENTER_X
public static final String CENTER_Y
public static final Type type
public ZoomData(double cx,
double cy,
double zoom)
public Type getType()
TypedDatapublic double getZoomAmount()
public double getCenterX()
public double getCenterY()
public Object build(XmlElement in, String type)
AbstractXmlBuilderpublic Graph build (XmlELement elt, String type);
build in interface XmlBuilderbuild in class AbstractXmlBuilderpublic XmlElement generate(Object in)
AbstractXmlBuildergenerate in interface XmlBuildergenerate in class AbstractXmlBuilderCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.