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, setDelegate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDelegate
public 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()
TypedData
public double getZoomAmount()
public double getCenterX()
public double getCenterY()
public Object build(XmlElement in, String type)
AbstractXmlBuilder
public Graph build (XmlELement elt, String type);
build
in interface XmlBuilder
build
in class AbstractXmlBuilder
public XmlElement generate(Object in)
AbstractXmlBuilder
generate
in interface XmlBuilder
generate
in class AbstractXmlBuilder
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.