Module org.jpo
Package org.jpo.gui

Class CameraEditor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class CameraEditor extends JPanel
This class creates a JPanel and allows attributes of a single camera to be edited on it.
See Also:
  • Constructor Details

    • CameraEditor

      public CameraEditor()
      Constructor for the editor gui
  • Method Details

    • getCamera

      public Camera getCamera()
      Return the camera object
      Returns:
      the Camera object
    • setCamera

      public void setCamera(Camera camera)
      Call this method to set the camera this panel is supposed to edit
      Parameters:
      camera - the camera object
    • addActionListener

      public void addActionListener(ActionListener actionListener)
      Adds a listener
      Parameters:
      actionListener - The Listener
    • removeActionListener

      public void removeActionListener(ActionListener actionListener)
      Removes a listener
      Parameters:
      actionListener - The Listener