gov.noaa.pmel.sgt
Class PlainAxis

java.lang.Object
  extended by gov.noaa.pmel.sgt.Axis
      extended by gov.noaa.pmel.sgt.SpaceAxis
          extended by gov.noaa.pmel.sgt.PlainAxis
All Implemented Interfaces:
Selectable, java.lang.Cloneable

public class PlainAxis
extends SpaceAxis
implements java.lang.Cloneable

Axis class for creation of standard "plain" linear axes. An example is available demonstrating PlainAxis use.

Since:
1.0
Version:
$Revision$, $Date$
Author:
Donald Denbo

Field Summary
 
Fields inherited from class gov.noaa.pmel.sgt.SpaceAxis
tLocation_, uLocation_, uRange_
 
Fields inherited from class gov.noaa.pmel.sgt.Axis
AUTO, BOTH_SIDES, graph_, HORIZONTAL, labelColor_, labelFont_, labelFormat_, labelHeight_, labelInterval_, labelPosition_, largeTicHeight_, lineColor_, NEGATIVE_SIDE, NO_LABEL, numSmallTics_, orientation_, POSITIVE_SIDE, pRange_, registeredAxes_, registeredTransforms_, selectable_, selected_, sigDigits_, smallTicHeight_, space_, thickTicWidth_, ticPosition_, title_, VERTICAL, visible_
 
Constructor Summary
PlainAxis()
          Default constructor for PlainAxis.
PlainAxis(java.lang.String id)
          Constructor for Axis.
 
Method Summary
 Axis copy()
          Create a copy of the axis.
 java.awt.Rectangle getBounds()
          Get the bounding box for the axis in device units.
 void setBounds(int x, int y, int width, int height)
          Not implemented.
 void setBounds(java.awt.Rectangle r)
          Not implemented.
 
Methods inherited from class gov.noaa.pmel.sgt.SpaceAxis
drawSmallXTics, drawSmallYTics, getDeltaU, getLabelFormat, getLabelInterval, getLocationU, getRangeU, getSignificantDigits, getSoTLocationU, getSoTRangeU, getTimeLocationU, modified, setDeltaU, setLabelFormat, setLabelInterval, setLocationU, setLocationU, setLocationU, setRangeU, setRangeU, setSignificantDigits, updateRegisteredAxes, updateRegisteredTransforms
 
Methods inherited from class gov.noaa.pmel.sgt.Axis
clear, clear, clearAllRegisteredAxes, clearAllRegisteredTransforms, drawThickXTic, drawThickYTic, drawXTic, drawYTic, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

copy

public Axis copy()
Description copied from class: Axis
Create a copy of the axis.

Specified by:
copy in class Axis
Returns:
the copy

getBounds

public java.awt.Rectangle getBounds()
Get the bounding box for the axis in device units.

Specified by:
getBounds in interface Selectable
Specified by:
getBounds in class SpaceAxis
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.