org.esa.beam.framework.ui.product
Class SimpleFeatureShapeFigure

java.lang.Object
  extended by com.bc.ceres.swing.figure.AbstractFigure
      extended by com.bc.ceres.swing.figure.AbstractShapeFigure
          extended by org.esa.beam.framework.ui.product.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


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
 
Constructor Summary
SimpleFeatureShapeFigure(org.opengis.feature.simple.SimpleFeature simpleFeature, com.bc.ceres.swing.figure.FigureStyle style)
           
SimpleFeatureShapeFigure(org.opengis.feature.simple.SimpleFeature simpleFeature, com.bc.ceres.swing.figure.FigureStyle normalStyle, com.bc.ceres.swing.figure.FigureStyle selectedStyle)
           
 
Method Summary
 void forceRegeneration()
           
 com.vividsolutions.jts.geom.Geometry getGeometry()
           
 Shape getShape()
           
 org.opengis.feature.simple.SimpleFeature getSimpleFeature()
           
 void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
           
 void setShape(Shape shape)
           
 
Methods inherited from class com.bc.ceres.swing.figure.AbstractShapeFigure
addSegment, createHandles, createMemento, draw, drawShape, getBounds, getMaxSelectionStage, getRank, getSegment, isCloseTo, isCollection, move, removeSegment, rotate, scale, setMemento, setRank, setSegment
 
Methods inherited from class com.bc.ceres.swing.figure.AbstractFigure
addChangeListener, addFigure, addFigure, addFigureImpl, addFigureImpl, addFigures, addFiguresImpl, clone, 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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bc.ceres.swing.figure.Figure
addChangeListener, addFigure, addFigure, addFigures, addSegment, clone, 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
 
Methods inherited from interface com.bc.ceres.swing.undo.Restorable
createMemento, setMemento
 

Constructor Detail

SimpleFeatureShapeFigure

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

SimpleFeatureShapeFigure

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

getSimpleFeature

public org.opengis.feature.simple.SimpleFeature getSimpleFeature()
Specified by:
getSimpleFeature in interface SimpleFeatureFigure

getGeometry

public com.vividsolutions.jts.geom.Geometry getGeometry()
Specified by:
getGeometry in interface SimpleFeatureFigure

setGeometry

public void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
Specified by:
setGeometry in interface SimpleFeatureFigure

getShape

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

forceRegeneration

public void forceRegeneration()
Specified by:
forceRegeneration in interface SimpleFeatureFigure

setShape

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


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.