Class NewSkin

java.lang.Object
org.gvsig.andami.plugins.Extension
org.gvsig.coreplugin.mdiManager.NewSkin
All Implemented Interfaces:
org.gvsig.andami.plugins.IExtension, org.gvsig.andami.plugins.IExtensionExecuteWithArgs, org.gvsig.andami.plugins.IExtensionQueryByAction, org.gvsig.andami.ui.mdiManager.MDIManager

public class NewSkin extends org.gvsig.andami.plugins.Extension implements org.gvsig.andami.ui.mdiManager.MDIManager
  • Constructor Details

    • NewSkin

      public NewSkin()
  • Method Details

    • getDesktopPane

      public JDesktopPane getDesktopPane()
    • getImagePreview

      public BufferedImage getImagePreview()
      Specified by:
      getImagePreview in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • init

      public void init(org.gvsig.andami.ui.mdiFrame.MDIFrame f)
      Specified by:
      init in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • createFrameWindowSupport

      protected FrameWindowSupport createFrameWindowSupport(org.gvsig.andami.ui.mdiFrame.MDIFrame mainFrame)
      Create the FrameWindowSupport instance
      Parameters:
      mainFrame -
      Returns:
    • addWindow

      public org.gvsig.andami.ui.mdiManager.IWindow addWindow(org.gvsig.andami.ui.mdiManager.IWindow p) throws org.gvsig.andami.ui.mdiManager.SingletonDialogAlreadyShownException
      Specified by:
      addWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
      Throws:
      org.gvsig.andami.ui.mdiManager.SingletonDialogAlreadyShownException
    • getSingletonWindow

      public org.gvsig.andami.ui.mdiManager.SingletonWindow getSingletonWindow(Class windowClass, Object model)
      Specified by:
      getSingletonWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • addCentredWindow

      public org.gvsig.andami.ui.mdiManager.IWindow addCentredWindow(org.gvsig.andami.ui.mdiManager.IWindow p) throws org.gvsig.andami.ui.mdiManager.SingletonDialogAlreadyShownException
      Specified by:
      addCentredWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
      Throws:
      org.gvsig.andami.ui.mdiManager.SingletonDialogAlreadyShownException
    • addWindow

      public org.gvsig.andami.ui.mdiManager.IWindow addWindow(org.gvsig.andami.ui.mdiManager.IWindow p, int align) throws org.gvsig.andami.ui.mdiManager.SingletonDialogAlreadyShownException
      Specified by:
      addWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
      Throws:
      org.gvsig.andami.ui.mdiManager.SingletonDialogAlreadyShownException
    • move

      public void move(org.gvsig.andami.ui.mdiManager.IWindow panel, int x, int y)
      Specified by:
      move in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • centreFrame

      public void centreFrame(org.gvsig.andami.ui.mdiManager.IWindow panel)
      Centres the Frame in the contentPane of the MainFrame. If the frame can't be showed completely, it tries to show its top-left corner.
      Parameters:
      panel - The IWindow to centre
    • getInternalSize

      public Dimension getInternalSize()
      Specified by:
      getInternalSize in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • alignFrame

      public void alignFrame(org.gvsig.andami.ui.mdiManager.IWindow panel, int mode)
    • moveToFrom

      public void moveToFrom(org.gvsig.andami.ui.mdiManager.IWindow win)
      Specified by:
      moveToFrom in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • getActiveWindow

      public org.gvsig.andami.ui.mdiManager.IWindow getActiveWindow()
      Specified by:
      getActiveWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • getFocusWindow

      public org.gvsig.andami.ui.mdiManager.IWindow getFocusWindow()
      Specified by:
      getFocusWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • closeWindow

      public void closeWindow(org.gvsig.andami.ui.mdiManager.IWindow p)
      Specified by:
      closeWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • closeAllWindows

      public void closeAllWindows()
      Specified by:
      closeAllWindows in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • getWindowInfo

      public org.gvsig.andami.ui.mdiManager.WindowInfo getWindowInfo(org.gvsig.andami.ui.mdiManager.IWindow w)
      Specified by:
      getWindowInfo in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • initialize

      public void initialize()
      Specified by:
      initialize in interface org.gvsig.andami.plugins.IExtension
    • execute

      public void execute(String actionCommand)
      Specified by:
      execute in interface org.gvsig.andami.plugins.IExtension
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.gvsig.andami.plugins.IExtension
    • isVisible

      public boolean isVisible()
      Specified by:
      isVisible in interface org.gvsig.andami.plugins.IExtension
    • setWaitCursor

      public void setWaitCursor()
      Specified by:
      setWaitCursor in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • restoreCursor

      public void restoreCursor()
      Specified by:
      restoreCursor in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • closeSingletonWindow

      public boolean closeSingletonWindow(Class viewClass, Object model)
      Specified by:
      closeSingletonWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • closeSingletonWindow

      public boolean closeSingletonWindow(Object model)
      Specified by:
      closeSingletonWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • getAllWindows

      public org.gvsig.andami.ui.mdiManager.IWindow[] getAllWindows()
      Specified by:
      getAllWindows in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • getOrderedWindows

      public org.gvsig.andami.ui.mdiManager.IWindow[] getOrderedWindows()
      Specified by:
      getOrderedWindows in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • setMaximum

      public void setMaximum(org.gvsig.andami.ui.mdiManager.IWindow v, boolean bMaximum) throws PropertyVetoException
      Specified by:
      setMaximum in interface org.gvsig.andami.ui.mdiManager.MDIManager
      Throws:
      PropertyVetoException
    • changeWindowInfo

      public void changeWindowInfo(org.gvsig.andami.ui.mdiManager.IWindow w, org.gvsig.andami.ui.mdiManager.WindowInfo wi)
      Specified by:
      changeWindowInfo in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • refresh

      public void refresh(org.gvsig.andami.ui.mdiManager.IWindow win)
      Specified by:
      refresh in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • setBackgroundImage

      public void setBackgroundImage(ImageIcon image, String typeDesktop)
      Specified by:
      setBackgroundImage in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • showWindow

      public void showWindow(JPanel panel, String title, org.gvsig.tools.swing.api.windowmanager.WindowManager.MODE mode)
      Specified by:
      showWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • getWindow

      public org.gvsig.andami.ui.mdiManager.IWindow getWindow(JPanel panel)
      Specified by:
      getWindow in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • setLocale

      public void setLocale(Locale locale)
      Specified by:
      setLocale in interface org.gvsig.andami.ui.mdiManager.MDIManager
    • isModalDialogShowing

      public boolean isModalDialogShowing()
      Specified by:
      isModalDialogShowing in interface org.gvsig.andami.ui.mdiManager.MDIManager