Class ViewPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
games.stendhal.client.gui.imageviewer.ViewPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
ItemListImageViewerEvent

public abstract class ViewPanel extends JComponent
an abstract base class for all ViewPanels
Author:
hendrik
See Also:
Serialized Form
  • Constructor Details

    • ViewPanel

      public ViewPanel()
      creates a new ViewPanel
  • Method Details

    • prepareView

      public abstract void prepareView(Dimension maxSize)
      prepares the view
      Parameters:
      maxSize - of the panel