Class LayoutPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.gvsig.andami.ui.mdiManager.IWindow, org.gvsig.andami.ui.mdiManager.IWindowListener, org.gvsig.andami.ui.mdiManager.SingletonWindow, org.gvsig.app.project.documents.gui.IDocumentWindow, org.gvsig.tools.observer.Observer, org.gvsig.tools.persistence.Persistent
Direct Known Subclasses:
DefaultLayoutPanel

public abstract class LayoutPanel extends JPanel implements org.gvsig.app.project.documents.gui.IDocumentWindow, org.gvsig.tools.observer.Observer, org.gvsig.tools.persistence.Persistent
Author:
Jorge Piera Llodrá
See Also:
  • Constructor Details

    • LayoutPanel

      public LayoutPanel()
  • Method Details

    • getLayoutContext

      public abstract LayoutContext getLayoutContext()
      Returns the LayoutContext.
      Returns:
      LayoutContext.
    • getLayoutControl

      public abstract LayoutControl getLayoutControl()
      Returns LayoutControl.
      Returns:
      LayoutControl.
    • isShowIconTag

      public abstract boolean isShowIconTag()
      Returns:
      Returns the bShowIconTag.
    • setShowIconTag

      public abstract void setShowIconTag(boolean modeDebug)
      Parameters:
      modeDebug - The bModeDebug to set.
    • layoutToPDF

      public abstract void layoutToPDF()
      It opens a dialog to select pdf file where to save the Layout in this format.
    • layoutToPDF

      public abstract void layoutToPDF(String suggestedName)
      Opens a dialog where to pick a PDF-file to save the current Layout suggesting a name for the file given by the first argument
      Parameters:
      suggestedName -
    • layoutToPDF

      public abstract void layoutToPDF(File file)
    • layoutToPS

      public abstract void layoutToPS()
      It opens a dialog to select ps file where to save the Layout in this format.
    • layoutToPS

      public abstract void layoutToPS(String suggestedName)
      Opens a dialog where to pick a PS-file to save the current Layout suggesting a name for the file given by the first argument
      Parameters:
      suggestedName -
    • createFFrameDialog

      public abstract IFFramePanel createFFrameDialog(IFFrame fframe)
      The dialogs are created here each time that are needed.
      Parameters:
      fframe - Rectangle that represents the place that occupied the element added.
      Returns:
      IFFrame Returns the FFrame added or null if the fframe has not been added.
    • obtainRect

      public abstract void obtainRect(boolean isPrint)
      It obtains the rectángulo that represents the sheet with the characteristics that contains attributes and differentiating if is to visualize in screen or for print.
    • showFConfig

      public abstract void showFConfig()
      It shows the dialog of configuration of the Layout.
    • showFProperties

      public abstract boolean showFProperties()
      It shows the dialog of Layout´s properties.
    • showPrintDialog

      public abstract void showPrintDialog(PrinterJob job)
      It shows the dialog of printing of the Layout.
      Parameters:
      job - PrinterJob
    • setLayoutManager

      public abstract void setLayoutManager(LayoutManager layoutManager)
    • drawLayoutPrint

      public abstract void drawLayoutPrint(Graphics2D g2)
    • hideToc

      public abstract void hideToc()
    • showToc

      public abstract void showToc()