Class PagePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ProductNodeListener
Direct Known Subclasses:
ChartPagePanel, TableViewPagePanel

public abstract class PagePanel extends JPanel implements ProductNodeListener
A general page within the statistics window.
See Also:
  • Constructor Details

    • PagePanel

      protected PagePanel(org.openide.windows.TopComponent parentComponent, String helpId, String title)
  • Method Details

    • getTitle

      public String getTitle()
    • getVectorDataNode

      public VectorDataNode getVectorDataNode()
    • getParentDialog

      public org.openide.windows.TopComponent getParentDialog()
    • nodeAdded

      public void nodeAdded(ProductNodeEvent event)
      Notified when a node was added.
      Specified by:
      nodeAdded in interface ProductNodeListener
      Parameters:
      event - the product node which the listener to be notified
    • nodeChanged

      public void nodeChanged(ProductNodeEvent event)
      Notified when a node changed.
      Specified by:
      nodeChanged in interface ProductNodeListener
      Parameters:
      event - the product node which the listener to be notified
    • nodeDataChanged

      public void nodeDataChanged(ProductNodeEvent event)
      Notified when a node's data changed.
      Specified by:
      nodeDataChanged in interface ProductNodeListener
      Parameters:
      event - the product node which the listener to be notified
    • nodeRemoved

      public void nodeRemoved(ProductNodeEvent event)
      Notified when a node was removed.
      Specified by:
      nodeRemoved in interface ProductNodeListener
      Parameters:
      event - the product node which the listener to be notified
    • getProduct

      protected Product getProduct()
    • getRaster

      protected RasterDataNode getRaster()
    • isRasterChanged

      protected boolean isRasterChanged()
    • isProductChanged

      protected boolean isProductChanged()
    • isVectorDataNodeChanged

      protected boolean isVectorDataNodeChanged()
    • setRaster

      protected void setRaster(RasterDataNode raster)
    • setVectorDataNode

      protected void setVectorDataNode(VectorDataNode vectorDataNode)
    • mustHandleSelectionChange

      protected boolean mustHandleSelectionChange()
      Returns:
      true if handleNodeSelectionChanged() shall be called in a reaction to a node selection change.
    • handleNodeSelectionChanged

      protected void handleNodeSelectionChanged()
      Called in reaction to a node selection change and if mustHandleSelectionChange() returns true. The default implementation calls updateComponents().
    • handleLayerContentChanged

      protected void handleLayerContentChanged()
      Called in reaction to a layer content change. The default implementation does nothing.
    • initComponents

      protected abstract void initComponents()
      Initialises the panel's sub-components.
    • updateComponents

      protected abstract void updateComponents()
      Updates the panel's sub-components as a reaction to a product node selection change.
    • getDataAsText

      protected abstract String getDataAsText()
    • handlePopupCreated

      protected void handlePopupCreated(JPopupMenu popupMenu)
    • checkDataToClipboardCopy

      protected boolean checkDataToClipboardCopy()
    • getHelpButton

      protected AbstractButton getHelpButton()
    • createCopyDataToClipboardMenuItem

      protected JMenuItem createCopyDataToClipboardMenuItem()
    • copyTextDataToClipboard

      protected void copyTextDataToClipboard()
    • hasAlternativeView

      protected boolean hasAlternativeView()
    • showAlternativeView

      protected void showAlternativeView()
    • setAlternativeView

      protected void setAlternativeView(PagePanel alternativeView)
    • getAlternativeView

      protected PagePanel getAlternativeView()