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 Details

    • 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)
    • changeFigure

      void changeFigure(Figure figure, Object figureMemento, String presentationName)
    • getDefaultLineStyle

      FigureStyle getDefaultLineStyle()
    • getDefaultPolygonStyle

      FigureStyle getDefaultPolygonStyle()