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 TypeMethodDescriptionvoid
changeFigure
(Figure figure, Object figureMemento, String presentationName) void
deleteFigures
(boolean performDelete, Figure... figures) void
insertFigures
(boolean performInsert, Figure... figures) void
setInteractor
(Interactor interactor) void
setSelectionRectangle
(Rectangle rectangle) Methods inherited from interface com.bc.ceres.core.Extensible
getExtension
Methods inherited from interface com.bc.ceres.swing.figure.InteractorAware
getInteractor
Methods inherited from interface com.bc.ceres.swing.selection.SelectionChangeEmitter
addSelectionChangeListener, getSelectionChangeListeners, removeSelectionChangeListener
Methods inherited from interface com.bc.ceres.swing.selection.SelectionContext
canDeleteSelection, canInsert, canSelectAll, deleteSelection, insert, selectAll, setSelection
Methods inherited from interface com.bc.ceres.swing.selection.SelectionSource
getSelection
Methods 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()
-