XML.ObjectLoaderBoundedShape.BoundedShapeLoaderprotected static class InteractiveShape.InteractiveShapeLoader extends XMLLoader
| Modifier | Constructor | Description |
|---|---|---|
protected |
InteractiveShapeLoader() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
createObject(XMLControl control) |
Creates a new object if the class type has a no-arg constructor.
|
protected java.awt.Shape |
getShape(java.lang.String type,
double x,
double y,
double w,
double h) |
|
java.lang.Object |
loadObject(XMLControl control,
java.lang.Object obj) |
Loads the object with xml data.
|
void |
saveObject(XMLControl control,
java.lang.Object obj) |
Empty method.
|
public void saveObject(XMLControl control, java.lang.Object obj)
XMLLoadersaveObject in interface XML.ObjectLoadersaveObject in class XMLLoadercontrol - the controlobj - the objectpublic java.lang.Object createObject(XMLControl control)
XMLLoadercreateObject in interface XML.ObjectLoadercreateObject in class XMLLoadercontrol - the controlprotected java.awt.Shape getShape(java.lang.String type,
double x,
double y,
double w,
double h)
public java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
XMLLoaderloadObject in interface XML.ObjectLoaderloadObject in class XMLLoadercontrol - the controlobj - the object