Class FrameManager
java.lang.Object
org.gvsig.app.project.documents.layout.commands.FrameManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdoAddFFrame(IFFrame frame) Add FFrame.voiddoAddFFrame(IFFrame frame, int index) Add FFrame from index.intdoModifyFFrame(int indexAnt, IFFrame frameNext) Modify FFrame from index and new FFrame.voiddoRemoveFFrame(int index) Remove FFrame from actual index.IFFrame[]Returns all the fframes, remove and done not remove.IFFrame[]Returns all the fframes, remove and done not remove and the ones that are in the FFrameGroupsgetFFrame(int index) Returns from an index the FFrame.intReturns the number of FFrame.IFFrame[]Returns all the fframes that are not removed.protected voidnotifyAdded(int index) protected voidnotifyRemoved(int index) voidredoModifyFFrame(int index, int newIndex, IFFrame frame) voidrefreshDependences(IFFrame fant, IFFrame fnew) voidundoAddFFrame(int index) Undo add FFrame from index.voidundoModifyFFrame(int index, int newIndex) Undo modify an FFrame modified.voidundoRemoveFFrame(int index) Undo Remove FFrame from index.
-
Constructor Details
-
FrameManager
public FrameManager()
-
-
Method Details
-
getFFrame
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
Add FFrame.- Parameters:
frame-- Returns:
- index of new fframe.
-
doAddFFrame
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
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
Returns all the fframes that are not removed.- Returns:
- Vector with fframes.
-
getAllFFrames
Returns all the fframes, remove and done not remove.- Returns:
- All FFrames.
-
getAllFFrameToDepends
Returns all the fframes, remove and done not remove and the ones that are in the FFrameGroups- Returns:
- All FFrames.
-
refreshDependences
-
redoModifyFFrame
-
invalidates
-
clear
public void clear()
-