| java.lang.Object it.businesslogic.ireport.gui.command.FormatCommand
All known Subclasses: it.businesslogic.ireport.gui.command.FormatCommandAlignLeft, it.businesslogic.ireport.gui.command.FormatCommandSameWidth, it.businesslogic.ireport.gui.command.FormatCommandJoinLeft, it.businesslogic.ireport.gui.command.FormatCommandCenterInBand, it.businesslogic.ireport.gui.command.FormatCommandAlignCenter, it.businesslogic.ireport.gui.command.FormatCommandAlignBottom, it.businesslogic.ireport.gui.command.FormatCommandElementMaximizeH, it.businesslogic.ireport.gui.command.FormatCommandAlignToLeftMargin, it.businesslogic.ireport.gui.command.FormatCommandSameHeightMin, it.businesslogic.ireport.gui.command.FormatCommandAlignTop, it.businesslogic.ireport.gui.command.FormatCommandIncreaseSpaceV, it.businesslogic.ireport.gui.command.FormatCommandAlignVerticalAxis, it.businesslogic.ireport.gui.command.FormatCommandShrink, it.businesslogic.ireport.gui.command.FormatCommandSameWidthMax, it.businesslogic.ireport.gui.command.FormatCommandAlignTopToBand, it.businesslogic.ireport.gui.command.FormatCommandAlignBottomToBand, it.businesslogic.ireport.gui.command.FormatCommandAlignToRightMargin, it.businesslogic.ireport.gui.command.FormatCommandMoveToRightMargin, it.businesslogic.ireport.gui.command.FormatCommandEqualsSpaceV, it.businesslogic.ireport.gui.command.FormatCommandOrganizeAsATable, it.businesslogic.ireport.gui.command.FormatCommandIncreaseSpaceH, it.businesslogic.ireport.gui.command.FormatCommandMoveToLeftMargin, it.businesslogic.ireport.gui.command.FormatCommandAlignHorizontalAxis, it.businesslogic.ireport.gui.command.FormatCommandSameHeight, it.businesslogic.ireport.gui.command.FormatCommandCenterInBackground, it.businesslogic.ireport.gui.command.FormatCommandSameWidthMin, it.businesslogic.ireport.gui.command.FormatCommandAlignCenterHorizontally, it.businesslogic.ireport.gui.command.FormatCommandDecreaseSpaceV, it.businesslogic.ireport.gui.command.FormatCommandEqualsSpaceH, it.businesslogic.ireport.gui.command.FormatCommandSameSize, it.businesslogic.ireport.gui.command.FormatCommandSameHeightMax, it.businesslogic.ireport.gui.command.FormatCommandAlignRight, it.businesslogic.ireport.gui.command.FormatCommandCenterInBandH, it.businesslogic.ireport.gui.command.FormatCommandDecreaseSpaceH, it.businesslogic.ireport.gui.command.FormatCommandRemoveSpaceV, it.businesslogic.ireport.gui.command.FormatCommandElementMaximizeV, it.businesslogic.ireport.gui.command.FormatCommandJoinRight, it.businesslogic.ireport.gui.command.FormatCommandAlignCenterVertically, it.businesslogic.ireport.gui.command.FormatCommandCenterInBandV, it.businesslogic.ireport.gui.command.FormatCommandElementMaximize,
FormatCommand | public class FormatCommand implements ICommand(Code) | | author: Fourdim |
currentElementPosition | int currentElementPosition(Code) | | |
operationType | int operationType(Code) | | |
sleepUndo | static boolean sleepUndo(Code) | | The attribute sleepUndo is introduced to repeat multiple commands. When
sleepUndo = true then it prevents the storage of multiple undo
transitions.
|
treatAllElements | boolean treatAllElements(Code) | | |
execute | public void execute()(Code) | | DOCUMENT ME!
|
executeDeeper | void executeDeeper()(Code) | | DOCUMENT ME!
|
getBandElements | Vector getBandElements(Band b)(Code) | | DOCUMENT ME!
Parameters: b - DOCUMENT ME! DOCUMENT ME! |
getBands | Vector getBands()(Code) | | getBands() selects all the bands that have selected elements in it.
Vector with all the bands that have selected elements in it |
getCurrentElementPosition | int getCurrentElementPosition()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
getMainFrame | public MainFrame getMainFrame()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
getSelectedElements | public Vector getSelectedElements()(Code) | | |
getSleepUndo | boolean getSleepUndo()(Code) | | |
getTreatAllElements | boolean getTreatAllElements()(Code) | | |
modify | void modify()(Code) | | DOCUMENT ME!
|
postAction | void postAction()(Code) | | DOCUMENT ME!
|
preCondition | boolean preCondition()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
preparation | void preparation()(Code) | | DOCUMENT ME!
|
processElements | void processElements()(Code) | | This is the regular processElements(0 in which the current selected elements
are processed
It is possible to use the variant where you pass your own selection of elements
|
processElements | void processElements(Enumeration e)(Code) | | DOCUMENT ME!
Parameters: e - DOCUMENT ME! |
registerElements | void registerElements()(Code) | | Register the elements in the UndoOp instaed of misusing processElements.
in registerElements the method modify() is not executed.
It is use for multi command FormatCommands, such as FormatCommandOrganizeAsATable.
Parameters: e - DOCUMENT ME! |
resetEnumeration | void resetEnumeration()(Code) | | DOCUMENT ME!
|
setMainFrame | void setMainFrame(MainFrame mf)(Code) | | DOCUMENT ME!
Parameters: mf - DOCUMENT ME! |
setSelectedElements | public void setSelectedElements(Vector elements)(Code) | | |
setSleepUndo | void setSleepUndo(boolean bool)(Code) | | Setter for variable sleepUndo
bool. Boolean value to set sleepUndo |
setTreatAllElements | void setTreatAllElements(boolean bool)(Code) | | |
updateElements | void updateElements()(Code) | | DOCUMENT ME!
|
|
|