Package com.bc.ceres.swing.figure
Interface FigureEditor
- 
- All Superinterfaces:
- Extensible,- InteractorAware,- SelectionChangeEmitter,- SelectionContext,- SelectionSource,- ViewportAware
 - All Known Implementing Classes:
- DefaultFigureEditor
 
 public interface FigureEditor extends InteractorAware, ViewportAware, SelectionContext A figure editor is used to insert, delete and modify figures stored in a figure collection. It also publishes a selection context representing the selected figures.- Since:
- Ceres 0.10
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangeFigure(Figure figure, Object figureMemento, String presentationName)voiddeleteFigures(boolean performDelete, Figure... figures)FigureStylegetDefaultLineStyle()FigureStylegetDefaultPolygonStyle()JComponentgetEditorComponent()FigureCollectiongetFigureCollection()FigureFactorygetFigureFactory()FigureSelectiongetFigureSelection()SelectionContextgetSelectionContext()RectanglegetSelectionRectangle()UndoContextgetUndoContext()voidinsertFigures(boolean performInsert, Figure... figures)voidsetInteractor(Interactor interactor)voidsetSelectionRectangle(Rectangle rectangle)- 
Methods inherited from interface com.bc.ceres.core.ExtensiblegetExtension
 - 
Methods inherited from interface com.bc.ceres.swing.figure.InteractorAwaregetInteractor
 - 
Methods inherited from interface com.bc.ceres.swing.selection.SelectionChangeEmitteraddSelectionChangeListener, getSelectionChangeListeners, removeSelectionChangeListener
 - 
Methods inherited from interface com.bc.ceres.swing.selection.SelectionContextcanDeleteSelection, canInsert, canSelectAll, deleteSelection, insert, selectAll, setSelection
 - 
Methods inherited from interface com.bc.ceres.swing.selection.SelectionSourcegetSelection
 - 
Methods inherited from interface com.bc.ceres.grender.ViewportAwaregetViewport
 
- 
 
- 
- 
- 
Method Detail- 
getUndoContextUndoContext getUndoContext() 
 - 
getFigureFactoryFigureFactory getFigureFactory() 
 - 
getEditorComponentJComponent getEditorComponent() 
 - 
getSelectionContextSelectionContext getSelectionContext() 
 - 
getSelectionRectangleRectangle getSelectionRectangle() 
 - 
setSelectionRectanglevoid setSelectionRectangle(Rectangle rectangle) 
 - 
setInteractorvoid setInteractor(Interactor interactor) 
 - 
getFigureSelectionFigureSelection getFigureSelection() 
 - 
getFigureCollectionFigureCollection getFigureCollection() 
 - 
insertFiguresvoid insertFigures(boolean performInsert, Figure... figures)
 - 
deleteFiguresvoid deleteFigures(boolean performDelete, Figure... figures)
 - 
getDefaultLineStyleFigureStyle getDefaultLineStyle() 
 - 
getDefaultPolygonStyleFigureStyle getDefaultPolygonStyle() 
 
- 
 
-