|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.util.xml.AbstractXmlBuilder
diva.sketch.toolbox.PanRecognizer.PanData
public static class PanRecognizer.PanData
A classification type for paning.
Field Summary | |
---|---|
static String |
PAN_X
|
static String |
PAN_Y
|
static Type |
type
The static type associated with this typed data. |
Constructor Summary | |
---|---|
PanRecognizer.PanData()
For XmlBuilder interface; do not call directly! |
|
PanRecognizer.PanData(double panX,
double panY)
Contruct a pan type object with the pan amount given. |
Method Summary | |
---|---|
Object |
build(XmlElement elt,
String type)
Given an XmlElement, create and return an internal representtion of it. |
XmlElement |
generate(Object in)
Unable to generate XML by default. |
double |
getPanX()
|
double |
getPanY()
|
Type |
getType()
Return the uniquely identifying type associated with this piece of data. |
Methods inherited from class diva.util.xml.AbstractXmlBuilder |
---|
getDelegate, setDelegate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface diva.util.xml.XmlBuilder |
---|
setDelegate |
Field Detail |
---|
public static final String PAN_X
public static final String PAN_Y
public static final Type type
Constructor Detail |
---|
public PanRecognizer.PanData()
public PanRecognizer.PanData(double panX, double panY)
Method Detail |
---|
public Type getType()
TypedData
getType
in interface TypedData
public double getPanX()
public double getPanY()
public Object build(XmlElement elt, 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |