Package com.bc.ceres.swing.figure
Interface FigureEditor
- All Superinterfaces:
Extensible,InteractorAware,SelectionChangeEmitter,SelectionContext,SelectionSource,ViewportAware
- All Known Implementing Classes:
DefaultFigureEditor
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 Summary
Modifier and TypeMethodDescriptionvoidchangeFigure(Figure figure, Object figureMemento, String presentationName) voiddeleteFigures(boolean performDelete, Figure... figures) voidinsertFigures(boolean performInsert, Figure... figures) voidsetInteractor(Interactor interactor) voidsetSelectionRectangle(Rectangle rectangle) Methods inherited from interface com.bc.ceres.core.Extensible
getExtensionMethods inherited from interface com.bc.ceres.swing.figure.InteractorAware
getInteractorMethods inherited from interface com.bc.ceres.swing.selection.SelectionChangeEmitter
addSelectionChangeListener, getSelectionChangeListeners, removeSelectionChangeListenerMethods inherited from interface com.bc.ceres.swing.selection.SelectionContext
canDeleteSelection, canInsert, canSelectAll, deleteSelection, insert, selectAll, setSelectionMethods inherited from interface com.bc.ceres.swing.selection.SelectionSource
getSelectionMethods inherited from interface com.bc.ceres.grender.ViewportAware
getViewport
-
Method Details
-
getUndoContext
UndoContext getUndoContext() -
getFigureFactory
FigureFactory getFigureFactory() -
getEditorComponent
JComponent getEditorComponent() -
getSelectionContext
SelectionContext getSelectionContext() -
getSelectionRectangle
Rectangle getSelectionRectangle() -
setSelectionRectangle
-
setInteractor
-
getFigureSelection
FigureSelection getFigureSelection() -
getFigureCollection
FigureCollection getFigureCollection() -
insertFigures
-
deleteFigures
-
changeFigure
-
getDefaultLineStyle
FigureStyle getDefaultLineStyle() -
getDefaultPolygonStyle
FigureStyle getDefaultPolygonStyle()
-