Package org.meteoinfo.shape
Class BarShape
- java.lang.Object
-
- org.meteoinfo.shape.Shape
-
- org.meteoinfo.shape.PointShape
-
- org.meteoinfo.shape.BarShape
-
public class BarShape extends PointShape
-
-
Field Summary
-
Fields inherited from class org.meteoinfo.shape.PointShape
point
-
-
Constructor Summary
Constructors Constructor Description BarShape()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetBottom()Get bottom valuedoublegetError()Get errorShapeTypesgetShapeType()Get shape typedoublegetWidth()Get widthbooleanisAutoWidth()Get is auto width or notbooleanisDrawBottom()Get is draw bottom or notbooleanisDrawError()Get is draw error or notvoidsetAutoWidth(boolean value)Set auto width or notvoidsetBottom(double value)Set bottom valuevoidsetDrawBottom(boolean value)Set is draw bottom or notvoidsetDrawError(boolean value)Set if draw error or notvoidsetError(double value)Set errorvoidsetWidth(double value)Set width-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.meteoinfo.shape.PointShape
clone, clone_back, getPoint, getPoints, setPoint, setPoints, toGeometry
-
Methods inherited from class org.meteoinfo.shape.Shape
addVertice, buffer, cloneValue, contains, convexHull, coveredBy, covers, crosses, difference, disjoint, equals, geometry2Shape, getExtent, getLegendIndex, getValue, intersection, intersects, isEditing, isSelected, isVisible, move, moveVertice, overlaps, reform, removeVerice, reverse, setEditing, setExtent, setLegendIndex, setSelected, setValue, setVisible, split, symDifference, toGeometry, touches, union, within
-
-
-
-
Method Detail
-
getWidth
public double getWidth()
Get width- Returns:
- Width
-
setWidth
public void setWidth(double value)
Set width- Parameters:
value- Width
-
isAutoWidth
public boolean isAutoWidth()
Get is auto width or not- Returns:
- Boolean
-
setAutoWidth
public void setAutoWidth(boolean value)
Set auto width or not- Parameters:
value- Boolean
-
getError
public double getError()
Get error- Returns:
- Error
-
setError
public void setError(double value)
Set error- Parameters:
value- Error
-
isDrawError
public boolean isDrawError()
Get is draw error or not- Returns:
- Boolean
-
setDrawError
public void setDrawError(boolean value)
Set if draw error or not- Parameters:
value- Boolean
-
getBottom
public double getBottom()
Get bottom value- Returns:
- Bottom
-
setBottom
public void setBottom(double value)
Set bottom value- Parameters:
value- Bottom
-
isDrawBottom
public boolean isDrawBottom()
Get is draw bottom or not- Returns:
- Boolean
-
setDrawBottom
public void setDrawBottom(boolean value)
Set is draw bottom or not- Parameters:
value- Boolean
-
getShapeType
public ShapeTypes getShapeType()
Description copied from class:ShapeGet shape type- Overrides:
getShapeTypein classPointShape- Returns:
- Shape type
-
-