Class ApplyFontOperation
- java.lang.Object
- 
- com._1c.g5.v8.bm.integration.AbstractBmTask<Void>
- 
- com._1c.g5.v8.dt.moxel.ui.operations.BaseOperation
- 
- com._1c.g5.v8.dt.moxel.ui.operations.NotifyingOperation
- 
- com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperation
- 
- com._1c.g5.v8.dt.moxel.ui.operations.BaseApplyFormatOperation
- 
- com._1c.g5.v8.dt.moxel.ui.operations.ApplyFontOperation
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- IBmPostUndoRedoHandler,- IBmTask<Void>
 
 public final class ApplyFontOperation extends BaseApplyFormatOperation Operation of applying font
- 
- 
Field Summary- 
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.BaseApplyFormatOperationapplyToMissed
 - 
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperationpositionHolder, selection
 - 
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.BaseOperationsheet
 
- 
 - 
Constructor SummaryConstructors Constructor Description ApplyFontOperation(String label, SheetAccessor sheet, Selection selection, Font fontToApply, int propertiesToApply, PositionHolder positionHolder, boolean nested)Creates new instance ofApplyFontOperation
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyToCell(Map<Integer,Integer> convertedFormatsApply, int rowIndex, int columnIndex, boolean applyFormat)Apply to cellprotected voidapplyToCell(Map<Integer,Integer> convertedFormatsApply, Cell cell, boolean applyFormat)Apply to cellprotected IntegergetConvertedFormatIndex(Map<Integer,Integer> convertedFormats, int srcFormatIndex, boolean applyFormat)Get converted format index- 
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.operations.BaseApplyFormatOperationperformAction, updateCells
 - 
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperationexecute, onRedoInternal, onUndoInternal, postExecute, postRedo, postUndo
 - 
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.operations.NotifyingOperationisReadOnly, onExecute, onRedo, onUndo
 - 
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTaskgetId, getName, getServiceId
 
- 
 
- 
- 
- 
Constructor Detail- 
ApplyFontOperationpublic ApplyFontOperation(String label, SheetAccessor sheet, Selection selection, Font fontToApply, int propertiesToApply, PositionHolder positionHolder, boolean nested) Creates new instance ofApplyFontOperation- Parameters:
- label- operation label
- undoContext- undo context
- sheet-- SheetAccessor
- selection-- Selection
- fontToApply-- Font
- propertiesToApply- properties mask
- positionHolder-- PositionHolder
 
 
- 
 - 
Method Detail- 
getConvertedFormatIndexprotected Integer getConvertedFormatIndex(Map<Integer,Integer> convertedFormats, int srcFormatIndex, boolean applyFormat) Description copied from class:BaseApplyFormatOperationGet converted format index- Specified by:
- getConvertedFormatIndexin class- BaseApplyFormatOperation
- Parameters:
- convertedFormats- collection of converted format indexes
- srcFormatIndex- format index to be converted
- applyFormat- need to apply format
- Returns:
- converted format index
 
 - 
applyToCellprotected void applyToCell(Map<Integer,Integer> convertedFormatsApply, Cell cell, boolean applyFormat) Description copied from class:BaseApplyFormatOperationApply to cell- Specified by:
- applyToCellin class- BaseApplyFormatOperation
- Parameters:
- convertedFormatsApply- collection of converted format indexes
- cell- cell to apply format to
- applyFormat- need to apply format
 
 - 
applyToCellprotected void applyToCell(Map<Integer,Integer> convertedFormatsApply, int rowIndex, int columnIndex, boolean applyFormat) Description copied from class:BaseApplyFormatOperationApply to cell- Specified by:
- applyToCellin class- BaseApplyFormatOperation
- Parameters:
- convertedFormatsApply- collection of converted format indexes
- rowIndex- row index
- columnIndex- columns index
- applyFormat- need to apply format
 
 
- 
 
-