Class ElementObject

All Implemented Interfaces:
Element, ElementBox, ElementObject, InteractionSource

public class ElementObject extends ElementBox implements ElementObject

Title: ElementBox

Description: Painter's algorithm implementation of a Box

Version:
March 2005
Author:
Francisco Esquembre
  • Constructor Details

    • ElementObject

      public ElementObject()
  • Method Details

    • setObjectFile

      public void setObjectFile(String file)
      Description copied from interface: ElementObject
      Sets the image file to be displayed
      Specified by:
      setObjectFile in interface ElementObject
    • getObjectFile

      public String getObjectFile()
      Description copied from interface: ElementObject
      Gets the image displayed
      Specified by:
      getObjectFile in interface ElementObject
    • setRotationAngle

      public void setRotationAngle(double angle)
    • getRotationAngle

      public double getRotationAngle()
    • getLoader

      public static XML.ObjectLoader getLoader()
      Returns an XML.ObjectLoader to save and load object data.
      Returns:
      the XML.ObjectLoader