Class FWImagePanel

All Implemented Interfaces:
ActionListener, ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class FWImagePanel extends FWDefaultPanel implements ComponentListener
Panel showing an image (classpath resource, file or localised image id, or an ImageIcon) scaled to the panel size.
Author:
Andreas Enders
See Also:
  • Constructor Details

    • FWImagePanel

      public FWImagePanel(String aImageID, FWAbstractFunctionality aFunctionality)
      Parameters:
      aImageID - classpath resource, file path or localised image id
      aFunctionality - the functionality shown by this panel
    • FWImagePanel

      public FWImagePanel(Object aImageInformation, net.simplace.core.FWObservable aObservabal, int aMaxWidth)
      Creates an image panel without functionality and buttons (white background, used in form components).
      Parameters:
      aImageInformation - image id (String) or ImageIcon
      aObservabal - not used
      aMaxWidth - maximum width of the image in pixels, -1 for none
    • FWImagePanel

      public FWImagePanel(String aImageID, FWAbstractFunctionality aFunctionality, boolean aCreateButtonPanel)
      Parameters:
      aImageID - classpath resource, file path or localised image id
      aFunctionality - the functionality shown by this panel
      aCreateButtonPanel - whether the navigation buttons are shown
  • Method Details