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 Summary
All 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.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 Detail
-
getUndoContext
UndoContext getUndoContext()
-
getFigureFactory
FigureFactory getFigureFactory()
-
getEditorComponent
JComponent getEditorComponent()
-
getSelectionContext
SelectionContext getSelectionContext()
-
getSelectionRectangle
Rectangle getSelectionRectangle()
-
setSelectionRectangle
void setSelectionRectangle(Rectangle rectangle)
-
setInteractor
void setInteractor(Interactor interactor)
-
getFigureSelection
FigureSelection getFigureSelection()
-
getFigureCollection
FigureCollection getFigureCollection()
-
insertFigures
void insertFigures(boolean performInsert, Figure... figures)
-
deleteFigures
void deleteFigures(boolean performDelete, Figure... figures)
-
getDefaultLineStyle
FigureStyle getDefaultLineStyle()
-
getDefaultPolygonStyle
FigureStyle getDefaultPolygonStyle()
-
-