Klasse FWImageMap

Alle implementierten Schnittstellen:
MouseListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class FWImageMap extends JPanel implements MouseListener
Autor:
Jim Graham, Sun Microsystems, Andreas Enders
Siehe auch:
  • Konstruktordetails

    • FWImageMap

      public FWImageMap(Image aImage, Map<String,Object> aParameters)
      Parameter:
      aImage -
      aParameters -
  • Methodendetails

    • init

      public void init()
      Initialize the applet. Get attributes. Initialize the ImageAreas. Each ImageArea is a subclass of the class ImageArea, and is specified with an attribute of the form: areaN=ImageAreaClassName,arguments... The ImageAreaClassName is parsed off and a new instance of that class is created. The initializer for that class is passed a reference to the applet and the remainder of the attribute string, from which the class should retrieve any information it needs about the area it controls and the actions it needs to take within that area.
    • imageUpdate

      public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height)
      Handle updates from images being loaded.
      Angegeben von:
      imageUpdate in Schnittstelle ImageObserver
      Setzt außer Kraft:
      imageUpdate in Klasse Component
    • paint

      public void paint(Graphics aG)
      Paint the image and all active highlights.
      Setzt außer Kraft:
      paint in Klasse JComponent
    • update

      public void update(Graphics g)
      Update the active highlights on the image.
      Setzt außer Kraft:
      update in Klasse JComponent
    • mouseClicked

      public void mouseClicked(MouseEvent aE)
      Angegeben von:
      mouseClicked in Schnittstelle MouseListener
    • mouseEntered

      public void mouseEntered(MouseEvent aE)
      Angegeben von:
      mouseEntered in Schnittstelle MouseListener
    • mouseExited

      public void mouseExited(MouseEvent aE)
      Angegeben von:
      mouseExited in Schnittstelle MouseListener
    • mousePressed

      public void mousePressed(MouseEvent aE)
      Angegeben von:
      mousePressed in Schnittstelle MouseListener
    • mouseReleased

      public void mouseReleased(MouseEvent aE)
      Angegeben von:
      mouseReleased in Schnittstelle MouseListener