public class DrawableShapeLoader extends XMLLoader
Constructor and Description |
---|
DrawableShapeLoader() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createObject(XMLControl control)
Creates the DrawableShape containing a GeneralPath.
|
java.lang.Object |
loadObject(XMLControl control,
java.lang.Object obj)
Loads the DrawableShape using the path stored in the control.
|
void |
saveObject(XMLControl control,
java.lang.Object obj)
Saves a DrawableShape by saving the general path.
|
public void saveObject(XMLControl control, java.lang.Object obj)
saveObject
in interface XML.ObjectLoader
saveObject
in class XMLLoader
control
- XMLControlobj
- Objectpublic java.lang.Object createObject(XMLControl control)
createObject
in interface XML.ObjectLoader
createObject
in class XMLLoader
control
- XMLControlpublic java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
loadObject
in interface XML.ObjectLoader
loadObject
in class XMLLoader
control
- XMLControlobj
- Object