java.lang.Object
org.gvsig.app.project.documents.layout.commands.FrameManager

public class FrameManager extends Object
  • Constructor Details

    • FrameManager

      public FrameManager()
  • Method Details

    • getFFrame

      public IFFrame getFFrame(int index)
      Returns from an index the FFrame.
      Parameters:
      index -
      Returns:
      FFrame.
    • getFFrameCount

      public int getFFrameCount()
      Returns the number of FFrame.
      Returns:
      Number of FFrames
    • undoAddFFrame

      public void undoAddFFrame(int index)
      Undo add FFrame from index.
      Parameters:
      index -
    • doAddFFrame

      public int doAddFFrame(IFFrame frame)
      Add FFrame.
      Parameters:
      frame -
      Returns:
      index of new fframe.
    • doAddFFrame

      public void doAddFFrame(IFFrame frame, int index)
      Add FFrame from index.
      Parameters:
      frame - New FFrame.
      index - Index of new FFrame.
    • undoModifyFFrame

      public void undoModifyFFrame(int index, int newIndex)
      Undo modify an FFrame modified.
      Parameters:
      fant - Previous fframe.
      fnew - New FFrame.
      indexAnt - Actual index.
      indexLast - Previous index.
    • doModifyFFrame

      public int doModifyFFrame(int indexAnt, IFFrame frameNext)
      Modify FFrame from index and new FFrame.
      Parameters:
      indexAnt - Actual index.
      frameNext - New FFrame.
      Returns:
      New index of FFrame.
    • undoRemoveFFrame

      public void undoRemoveFFrame(int index)
      Undo Remove FFrame from index.
      Parameters:
      index - Actual index of FFrame.
    • doRemoveFFrame

      public void doRemoveFFrame(int index)
      Remove FFrame from actual index.
      Parameters:
      index - Actual index.
    • notifyRemoved

      protected void notifyRemoved(int index)
    • notifyAdded

      protected void notifyAdded(int index)
    • getFFrames

      public IFFrame[] getFFrames()
      Returns all the fframes that are not removed.
      Returns:
      Vector with fframes.
    • getAllFFrames

      public IFFrame[] getAllFFrames()
      Returns all the fframes, remove and done not remove.
      Returns:
      All FFrames.
    • getAllFFrameToDepends

      public IFFrame[] getAllFFrameToDepends()
      Returns all the fframes, remove and done not remove and the ones that are in the FFrameGroups
      Returns:
      All FFrames.
    • refreshDependences

      public void refreshDependences(IFFrame fant, IFFrame fnew)
    • redoModifyFFrame

      public void redoModifyFFrame(int index, int newIndex, IFFrame frame)
    • invalidates

      public BitSet invalidates()
    • clear

      public void clear()