sgtplot
Class PlainAxis
- java.lang.Object
-
- sgtplot.Axis
-
- sgtplot.SpaceAxis
-
- sgtplot.PlainAxis
-
- All Implemented Interfaces:
- java.lang.Cloneable, Selectable
public class PlainAxis extends SpaceAxis implements java.lang.Cloneable
Axis class for creation of standard "plain" linear axes. Anexampleis available demonstratingPlainAxisuse.- Since:
- 1.0
-
-
Field Summary
-
Fields inherited from class sgtplot.Axis
AUTO, BOTH_SIDES, HORIZONTAL, NEGATIVE_SIDE, NO_LABEL, POSITIVE_SIDE, VERTICAL
-
-
Constructor Summary
Constructors Constructor and Description PlainAxis()Default constructor for PlainAxis.PlainAxis(java.lang.String id)Constructor for Axis.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Axiscopy()Create a copy of the axis.java.awt.RectanglegetBounds()Get the bounding box for the axis in device units.voidsetBounds(int x, int y, int width, int height)Not implemented.voidsetBounds(java.awt.Rectangle r)Not implemented.-
Methods inherited from class sgtplot.SpaceAxis
getDeltaU, getLabelFormat, getLabelInterval, getLocationU, getRangeU, getSignificantDigits, getSoTLocationU, getSoTRangeU, getTimeLocationU, modified, setDeltaU, setLabelFormat, setLabelInterval, setLocationU, setLocationU, setLocationU, setRangeU, setRangeU, setSignificantDigits
-
Methods inherited from class sgtplot.Axis
clear, clear, clearAllRegisteredAxes, clearAllRegisteredTransforms, getGraph, getId, getLabelColor, getLabelFont, getLabelHeightP, getLabelPosition, getLargeTicHeightP, getLineColor, getNumberRegisteredAxes, getNumberRegisteredTransforms, getNumberSmallTics, getOrientation, getPane, getRangeP, getSmallTicHeightP, getThickTicWidthP, getTicPosition, getTitle, isSelectable, isSelected, isSpace, isTime, isVisible, register, register, setId, setLabelColor, setLabelFont, setLabelHeightP, setLabelPosition, setLargeTicHeightP, setLineColor, setNumberSmallTics, setOrientation, setRangeP, setSelectable, setSelected, setSmallTicHeightP, setThickTicWidthP, setTicPosition, setTitle, setVisible, toString
-
-
-
-
Constructor Detail
-
PlainAxis
public PlainAxis()
Default constructor for PlainAxis.
-
PlainAxis
public PlainAxis(java.lang.String id)
Constructor for Axis. Sets the axis identifier and initializes the defaults.- Parameters:
id- axis identification
-
-
Method Detail
-
getBounds
public java.awt.Rectangle getBounds()
Get the bounding box for the axis in device units.- Specified by:
getBoundsin interfaceSelectable- Specified by:
getBoundsin classSpaceAxis- Returns:
- bounding box
- See Also:
Rectangle
-
setBounds
public void setBounds(java.awt.Rectangle r)
Not implemented.
-
setBounds
public void setBounds(int x, int y, int width, int height)Not implemented.
-
-
DMelt 3.0 © DataMelt by jWork.ORG