Class SimpleFeatureShapeFigure

  • All Implemented Interfaces:
    com.bc.ceres.swing.figure.Figure, com.bc.ceres.swing.figure.ShapeFigure, com.bc.ceres.swing.undo.Restorable, Cloneable, SimpleFeatureFigure

    public class SimpleFeatureShapeFigure
    extends com.bc.ceres.swing.figure.AbstractShapeFigure
    implements SimpleFeatureFigure
    A figure representing shape features.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.bc.ceres.swing.figure.Figure

        com.bc.ceres.swing.figure.Figure.Rank
    • Field Summary

      • Fields inherited from class com.bc.ceres.swing.figure.AbstractFigure

        NO_FIGURES, NO_HANDLES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object clone()  
      Object createMemento()  
      void forceRegeneration()  
      org.locationtech.jts.geom.Geometry getGeometry()  
      Shape getShape()  
      org.opengis.feature.simple.SimpleFeature getSimpleFeature()  
      void setGeometry​(org.locationtech.jts.geom.Geometry geometry)  
      void setMemento​(Object memento)  
      void setShape​(Shape shape)  
      • Methods inherited from class com.bc.ceres.swing.figure.AbstractShapeFigure

        addSegment, createHandles, draw, drawShape, getBounds, getMaxSelectionStage, getRank, getSegment, isCloseTo, isCollection, move, removeSegment, rotate, scale, setRank, setSegment
      • Methods inherited from class com.bc.ceres.swing.figure.AbstractFigure

        addChangeListener, addFigure, addFigure, addFigureImpl, addFigureImpl, addFigures, addFiguresImpl, contains, createScaleHandles, dispose, fireFigureChanged, fireFigureChanged, fireFiguresAdded, fireFiguresRemoved, getChangeListeners, getEffectiveStyle, getFigure, getFigure, getFigureCount, getFigureIndex, getFigures, getFigures, getHandleStyle, getNormalStyle, getSelectedHandleStyle, getSelectedStyle, isSelectable, isSelected, removeAllFigures, removeChangeListener, removeFigure, removeFigureImpl, removeFigures, removeFiguresImpl, removeFiguresImpl, setNormalStyle, setSelectable, setSelected, setSelectedStyle
      • Methods inherited from interface com.bc.ceres.swing.figure.Figure

        addChangeListener, addFigure, addFigure, addFigures, addSegment, contains, createHandles, dispose, draw, getBounds, getChangeListeners, getEffectiveStyle, getFigure, getFigure, getFigureCount, getFigureIndex, getFigures, getFigures, getMaxSelectionStage, getNormalStyle, getRank, getSegment, getSelectedStyle, isCloseTo, isCollection, isSelectable, isSelected, move, removeAllFigures, removeChangeListener, removeFigure, removeFigures, removeSegment, rotate, scale, setNormalStyle, setSegment, setSelected, setSelectedStyle
    • Constructor Detail

      • SimpleFeatureShapeFigure

        public SimpleFeatureShapeFigure​(org.opengis.feature.simple.SimpleFeature simpleFeature,
                                        SceneTransformProvider provider,
                                        com.bc.ceres.swing.figure.FigureStyle style)
      • SimpleFeatureShapeFigure

        public SimpleFeatureShapeFigure​(org.opengis.feature.simple.SimpleFeature simpleFeature,
                                        SceneTransformProvider provider,
                                        com.bc.ceres.swing.figure.FigureStyle normalStyle,
                                        com.bc.ceres.swing.figure.FigureStyle selectedStyle)
    • Method Detail

      • createMemento

        public Object createMemento()
        Specified by:
        createMemento in interface com.bc.ceres.swing.undo.Restorable
        Overrides:
        createMemento in class com.bc.ceres.swing.figure.AbstractShapeFigure
      • setMemento

        public void setMemento​(Object memento)
        Specified by:
        setMemento in interface com.bc.ceres.swing.undo.Restorable
        Overrides:
        setMemento in class com.bc.ceres.swing.figure.AbstractShapeFigure
      • getShape

        public Shape getShape()
        Specified by:
        getShape in interface com.bc.ceres.swing.figure.ShapeFigure
      • setShape

        public void setShape​(Shape shape)
        Specified by:
        setShape in interface com.bc.ceres.swing.figure.ShapeFigure
      • clone

        public Object clone()
        Specified by:
        clone in interface com.bc.ceres.swing.figure.Figure
        Overrides:
        clone in class com.bc.ceres.swing.figure.AbstractFigure