587 lines
28 KiB
HTML
587 lines
28 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Wed Apr 06 13:11:04 EDT 2016 -->
|
|
<title>NumericalAxis (Parallel Java 2 Library Documentation)</title>
|
|
<meta name="date" content="2016-04-06">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="NumericalAxis (Parallel Java 2 Library Documentation)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/NumericalAxis.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../edu/rit/numeric/plot/impl/LogarithmicAxis.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?edu/rit/numeric/plot/impl/NumericalAxis.html" target="_top">Frames</a></li>
|
|
<li><a href="NumericalAxis.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">edu.rit.numeric.plot.impl</div>
|
|
<h2 title="Class NumericalAxis" class="title">Class NumericalAxis</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../../edu/rit/numeric/plot/impl/Axis.html" title="class in edu.rit.numeric.plot.impl">edu.rit.numeric.plot.impl.Axis</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>edu.rit.numeric.plot.impl.NumericalAxis</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>Direct Known Subclasses:</dt>
|
|
<dd><a href="../../../../../edu/rit/numeric/plot/impl/LinearAxis.html" title="class in edu.rit.numeric.plot.impl">LinearAxis</a>, <a href="../../../../../edu/rit/numeric/plot/impl/LogarithmicAxis.html" title="class in edu.rit.numeric.plot.impl">LogarithmicAxis</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public abstract class <span class="strong">NumericalAxis</span>
|
|
extends <a href="../../../../../edu/rit/numeric/plot/impl/Axis.html" title="class in edu.rit.numeric.plot.impl">Axis</a></pre>
|
|
<div class="block">Class NumericalAxis is the abstract base class for a numerical axis on a
|
|
plot. A numerical axis represents a numerical quantity; it is divided into
|
|
major divisions; each major division is divided into minor divisions. A
|
|
numerical axis may have tick marks at the major and minor divisions. A
|
|
numerical axis may have tick labels at the major divisions.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#myTicksAboveOrRight">myTicksAboveOrRight</a></strong></code>
|
|
<div class="block">Ticks above or to the right of the axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#myTicksBelowOrLeft">myTicksBelowOrLeft</a></strong></code>
|
|
<div class="block">Ticks below or to the left of the axis.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields_inherited_from_class_edu.rit.numeric.plot.impl.Axis">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class edu.rit.numeric.plot.impl.<a href="../../../../../edu/rit/numeric/plot/impl/Axis.html" title="class in edu.rit.numeric.plot.impl">Axis</a></h3>
|
|
<code><a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#DEFAULT_PAINT">DEFAULT_PAINT</a>, <a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#DEFAULT_STROKE">DEFAULT_STROKE</a>, <a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#myLength">myLength</a>, <a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#myPaint">myPaint</a>, <a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#myStroke">myStroke</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier</th>
|
|
<th class="colLast" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#NumericalAxis(double, java.awt.Stroke, java.awt.Paint, edu.rit.numeric.plot.impl.Ticks, edu.rit.numeric.plot.impl.Ticks)">NumericalAxis</a></strong>(double theLength,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Stroke.html?is-external=true" title="class or interface in java.awt">Stroke</a> theStroke,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a> thePaint,
|
|
<a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> theTicksBelowOrLeft,
|
|
<a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> theTicksAboveOrRight)</code>
|
|
<div class="block">Construct a new numerical axis.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#drawHorizontal(java.awt.Graphics2D)">drawHorizontal</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a> g2d)</code>
|
|
<div class="block">Draw this axis in the given graphics context starting at coordinates (0,
|
|
0) and moving horizontally to the right.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#drawVertical(java.awt.Graphics2D)">drawVertical</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a> g2d)</code>
|
|
<div class="block">Draw this axis in the given graphics context starting at coordinates (0,
|
|
0) and moving vertically up.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getCrossing()">getCrossing</a></strong>()</code>
|
|
<div class="block">Returns the value of the point where the perpendicular axis crosses this
|
|
axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getDisplayDistance(double)">getDisplayDistance</a></strong>(double value)</code>
|
|
<div class="block">Returns the distance on the display from the start of this axis to the
|
|
given value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getEnd()">getEnd</a></strong>()</code>
|
|
<div class="block">Returns the ending value of this axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getMajorDivision(int)">getMajorDivision</a></strong>(int i)</code>
|
|
<div class="block">Returns the value of the given major division.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getMajorDivisionCount()">getMajorDivisionCount</a></strong>()</code>
|
|
<div class="block">Returns the number of major divisions on this axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getMinorDivision(int)">getMinorDivision</a></strong>(int i)</code>
|
|
<div class="block">Returns the value of the given minor division.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getMinorDivisionCount()">getMinorDivisionCount</a></strong>()</code>
|
|
<div class="block">Returns the number of minor divisions on this axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getStart()">getStart</a></strong>()</code>
|
|
<div class="block">Returns the starting value of this axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getTicksAboveOrRight()">getTicksAboveOrRight</a></strong>()</code>
|
|
<div class="block">Returns the ticks above or to the right of this axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#getTicksBelowOrLeft()">getTicksBelowOrLeft</a></strong>()</code>
|
|
<div class="block">Returns the ticks below or to the left of this axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html#includesValue(double)">includesValue</a></strong>(double value)</code>
|
|
<div class="block">Returns true if the given value falls within the bounds of this axis,
|
|
false otherwise.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.numeric.plot.impl.Axis">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class edu.rit.numeric.plot.impl.<a href="../../../../../edu/rit/numeric/plot/impl/Axis.html" title="class in edu.rit.numeric.plot.impl">Axis</a></h3>
|
|
<code><a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#getLength()">getLength</a>, <a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#getPaint()">getPaint</a>, <a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#getStroke()">getStroke</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="myTicksBelowOrLeft">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>myTicksBelowOrLeft</h4>
|
|
<pre>protected <a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> myTicksBelowOrLeft</pre>
|
|
<div class="block">Ticks below or to the left of the axis.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="myTicksAboveOrRight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>myTicksAboveOrRight</h4>
|
|
<pre>protected <a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> myTicksAboveOrRight</pre>
|
|
<div class="block">Ticks above or to the right of the axis.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="NumericalAxis(double, java.awt.Stroke, java.awt.Paint, edu.rit.numeric.plot.impl.Ticks, edu.rit.numeric.plot.impl.Ticks)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>NumericalAxis</h4>
|
|
<pre>protected NumericalAxis(double theLength,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Stroke.html?is-external=true" title="class or interface in java.awt">Stroke</a> theStroke,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a> thePaint,
|
|
<a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> theTicksBelowOrLeft,
|
|
<a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> theTicksAboveOrRight)</pre>
|
|
<div class="block">Construct a new numerical axis. The axis is drawn with the given length,
|
|
stroke, paint, and ticks.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theLength</code> - Length of this axis on the display.</dd><dd><code>theStroke</code> - Stroke for drawing this axis on the display.</dd><dd><code>thePaint</code> - Paint for drawing this axis on the display.</dd><dd><code>theTicksBelowOrLeft</code> - Ticks to draw below or to the left of the axis (for a horizontal or
|
|
vertical axis, respectively). If null, no ticks are drawn below or to
|
|
the left.</dd><dd><code>theTicksAboveOrRight</code> - Ticks to draw above or to the right of the axis (for a horizontal or
|
|
vertical axis, respectively). If null, no ticks are drawn above or to
|
|
the right.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theStroke</TT> is null or
|
|
<TT>thePaint</TT> is null.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>theLength</TT> is less than or
|
|
equal to 0.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="getTicksBelowOrLeft()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTicksBelowOrLeft</h4>
|
|
<pre>public <a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> getTicksBelowOrLeft()</pre>
|
|
<div class="block">Returns the ticks below or to the left of this axis.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getTicksAboveOrRight()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTicksAboveOrRight</h4>
|
|
<pre>public <a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl">Ticks</a> getTicksAboveOrRight()</pre>
|
|
<div class="block">Returns the ticks above or to the right of this axis.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="drawHorizontal(java.awt.Graphics2D)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drawHorizontal</h4>
|
|
<pre>public void drawHorizontal(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a> g2d)</pre>
|
|
<div class="block">Draw this axis in the given graphics context starting at coordinates (0,
|
|
0) and moving horizontally to the right.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#drawHorizontal(java.awt.Graphics2D)">drawHorizontal</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/Axis.html" title="class in edu.rit.numeric.plot.impl">Axis</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>g2d</code> - 2-D graphics context.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="drawVertical(java.awt.Graphics2D)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drawVertical</h4>
|
|
<pre>public void drawVertical(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a> g2d)</pre>
|
|
<div class="block">Draw this axis in the given graphics context starting at coordinates (0,
|
|
0) and moving vertically up.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/Axis.html#drawVertical(java.awt.Graphics2D)">drawVertical</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/Axis.html" title="class in edu.rit.numeric.plot.impl">Axis</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>g2d</code> - 2-D graphics context.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="includesValue(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>includesValue</h4>
|
|
<pre>public abstract boolean includesValue(double value)</pre>
|
|
<div class="block">Returns true if the given value falls within the bounds of this axis,
|
|
false otherwise.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDisplayDistance(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDisplayDistance</h4>
|
|
<pre>public abstract double getDisplayDistance(double value)</pre>
|
|
<div class="block">Returns the distance on the display from the start of this axis to the
|
|
given value.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getStart()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStart</h4>
|
|
<pre>public abstract double getStart()</pre>
|
|
<div class="block">Returns the starting value of this axis. The starting value is the value
|
|
at the left or bottom end of the axis for a horizontal or vertical
|
|
orientation, respectively.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getEnd()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEnd</h4>
|
|
<pre>public abstract double getEnd()</pre>
|
|
<div class="block">Returns the ending value of this axis. The ending value is the value at
|
|
the right or top end of the axis for a horizontal or vertical
|
|
orientation, respectively. Note that the ending value may be greater than
|
|
or less than the starting value.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getMajorDivisionCount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMajorDivisionCount</h4>
|
|
<pre>public abstract int getMajorDivisionCount()</pre>
|
|
<div class="block">Returns the number of major divisions on this axis.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getMajorDivision(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMajorDivision</h4>
|
|
<pre>public abstract double getMajorDivision(int i)</pre>
|
|
<div class="block">Returns the value of the given major division.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Major division index in the range 0 ..
|
|
<TT>getMajorDivisionCount()</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMinorDivisionCount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMinorDivisionCount</h4>
|
|
<pre>public abstract int getMinorDivisionCount()</pre>
|
|
<div class="block">Returns the number of minor divisions on this axis.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getMinorDivision(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMinorDivision</h4>
|
|
<pre>public abstract double getMinorDivision(int i)</pre>
|
|
<div class="block">Returns the value of the given minor division.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Minor division index in the range 0 ..
|
|
<TT>getMinorDivisionCount()</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCrossing()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getCrossing</h4>
|
|
<pre>public abstract double getCrossing()</pre>
|
|
<div class="block">Returns the value of the point where the perpendicular axis crosses this
|
|
axis.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/NumericalAxis.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../edu/rit/numeric/plot/impl/LogarithmicAxis.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?edu/rit/numeric/plot/impl/NumericalAxis.html" target="_top">Frames</a></li>
|
|
<li><a href="NumericalAxis.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><FONT SIZE="-2">Copyright © 2013–2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">@</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
|
|
</body>
|
|
</html>
|