Class AbstractLayoutTool.ZOrderChangeUndoAction
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractLayoutTool.ZOrderChangeUndoAction
- All Implemented Interfaces:
- UndoManager.UndoAction
- Enclosing class:
- AbstractLayoutTool
public static class AbstractLayoutTool.ZOrderChangeUndoAction
extends Object
implements UndoManager.UndoAction
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddChange(JComponent item, int oldPosition, int newPosition) booleanexecute()This function executes (redoes) the actionThe description of the action will be used to determine grouping equality as well as for display purposes.booleanThis function should return true if a group of these actions can be undone by ONLY calling undo() on the first action in the group, and redone by ONLY calling execute() on the last action in the group.booleanundo()This function will reverse the action
- 
Constructor Details- 
ZOrderChangeUndoAction
 
- 
- 
Method Details- 
addChange
- 
getDescriptionDescription copied from interface:UndoManager.UndoActionThe description of the action will be used to determine grouping equality as well as for display purposes.- Specified by:
- getDescriptionin interface- UndoManager.UndoAction
 
- 
undopublic boolean undo()Description copied from interface:UndoManager.UndoActionThis function will reverse the action- Specified by:
- undoin interface- UndoManager.UndoAction
- Returns:
- false if the undo failed
 
- 
executepublic boolean execute()Description copied from interface:UndoManager.UndoActionThis function executes (redoes) the action- Specified by:
- executein interface- UndoManager.UndoAction
- Returns:
- false if the execution failed
 
- 
isGroupSequenceIndependentpublic boolean isGroupSequenceIndependent()Description copied from interface:UndoManager.UndoActionThis function should return true if a group of these actions can be undone by ONLY calling undo() on the first action in the group, and redone by ONLY calling execute() on the last action in the group.- Specified by:
- isGroupSequenceIndependentin interface- UndoManager.UndoAction
 
 
-