Class SingletonWindowSupport

java.lang.Object
org.gvsig.coreplugin.mdiManager.SingletonWindowSupport

public class SingletonWindowSupport extends Object
DOCUMENT ME!
Version:
$Revision: 31344 $
Author:
$author$
  • Constructor Details

    • SingletonWindowSupport

      public SingletonWindowSupport(WindowInfoSupport vis, FrameWindowSupport fvs)
      DOCUMENT ME!
      Parameters:
      vis - DOCUMENT ME!
      fvs -
      See Also:
      • MDIManager.init(com.iver.andami.ui.mdiFrame.MDIFrame)
  • Method Details

    • registerWindow

      public boolean registerWindow(Class windowClass, Object model, org.gvsig.andami.ui.mdiManager.WindowInfo wi)
      If the window existed, the 'wi' parameter is updated with the previous window info (this allows to show the window in the previous place), but the title of the window is updated using the title from the parameter.
      Parameters:
      windowClass - DOCUMENT ME!
      model - DOCUMENT ME!
      wi - DOCUMENT ME!
      Returns:
      true si la vista existe ya y false si la vista no existe
      Throws:
      org.gvsig.andami.ui.mdiManager.SingletonDialogAlreadyShownException - DOCUMENT ME!
    • openSingletonWindow

      public void openSingletonWindow(org.gvsig.andami.ui.mdiManager.SingletonWindow sw, Component frame)
    • contains

      public boolean contains(org.gvsig.andami.ui.mdiManager.SingletonWindow sw)
    • contains

      public boolean contains(Class windowClass, Object model)
    • closeWindow

      public void closeWindow(org.gvsig.andami.ui.mdiManager.SingletonWindow sw)
      DOCUMENT ME!
      Parameters:
      sw -
    • getFrame

      public Component getFrame(Class viewClass, Object model)
    • getFrames

      public Component[] getFrames(Object model)
      Parameters:
      model -
      Returns:
    • getFrame

      public Component getFrame(org.gvsig.andami.ui.mdiManager.SingletonWindow sv)
      Parameters:
      view -
      Returns:
    • setX

      public void setX(org.gvsig.andami.ui.mdiManager.SingletonWindow sv, int x)
      Parameters:
      sv -
      i -
    • setY

      public void setY(org.gvsig.andami.ui.mdiManager.SingletonWindow sv, int y)
      Parameters:
      sv -
      i -
    • setHeight

      public void setHeight(org.gvsig.andami.ui.mdiManager.SingletonWindow sv, int height)
      Parameters:
      sv -
      i -
    • setWidth

      public void setWidth(org.gvsig.andami.ui.mdiManager.SingletonWindow sv, int width)
      Parameters:
      sv -
      i -
    • setMaximized

      public void setMaximized(org.gvsig.andami.ui.mdiManager.SingletonWindow sw, boolean maximized)
      Parameters:
      sw -
      maximized -
    • setNormalBounds

      public void setNormalBounds(org.gvsig.andami.ui.mdiManager.SingletonWindow sw, Rectangle normalBounds)
      Parameters:
      sw -
      maximized -
    • setMinimumSize

      public void setMinimumSize(org.gvsig.andami.ui.mdiManager.SingletonWindow sw, Dimension minSize)
      Sets the minimum allowed size for the provided singleton window.
      Parameters:
      sw -
      minSize -
    • setTitle

      public void setTitle(org.gvsig.andami.ui.mdiManager.SingletonWindow sv, String title)
      Parameters:
      sv -
      string -