📄 colorbar.html
字号:
<DL><DD>The default outer gap.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.axis.ColorBar.DEFAULT_OUTERGAP">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ColorBar(java.lang.String)"><!-- --></A><H3>ColorBar</H3><PRE>public <B>ColorBar</B>(java.lang.String label)</PRE><DL><DD>Constructs a horizontal colorbar axis, using default values where necessary.<P><DT><B>Parameters:</B><DD><CODE>label</CODE> - the axis label.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="configure(org.jfree.chart.plot.ContourPlot)"><!-- --></A><H3>configure</H3><PRE>public void <B>configure</B>(<A HREF="../../../../org/jfree/chart/plot/ContourPlot.html" title="class in org.jfree.chart.plot">ContourPlot</A> plot)</PRE><DL><DD>Configures the color bar.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>plot</CODE> - the plot.</DL></DD></DL><HR><A NAME="getAxis()"><!-- --></A><H3>getAxis</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> <B>getAxis</B>()</PRE><DL><DD>Returns the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The axis.</DL></DD></DL><HR><A NAME="setAxis(org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>setAxis</H3><PRE>public void <B>setAxis</B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A> axis)</PRE><DL><DD>Sets the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - the axis.</DL></DD></DL><HR><A NAME="autoAdjustRange()"><!-- --></A><H3>autoAdjustRange</H3><PRE>public void <B>autoAdjustRange</B>()</PRE><DL><DD>Rescales the axis to ensure that all data are visible.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>draw</H3><PRE>public double <B>draw</B>(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, java.awt.geom.Rectangle2D reservedArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Draws the plot on a Java 2D graphics device (such as the screen or a printer).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>cursor</CODE> - the cursor.<DD><CODE>plotArea</CODE> - the area within which the chart should be drawn.<DD><CODE>dataArea</CODE> - the area within which the plot should be drawn (a subset of the drawArea).<DD><CODE>reservedArea</CODE> - the reserved area.<DD><CODE>edge</CODE> - the color bar location.<DT><B>Returns:</B><DD>The new cursor location.</DL></DD></DL><HR><A NAME="drawColorBar(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>drawColorBar</H3><PRE>public void <B>drawColorBar</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D colorBarArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Draws the plot on a Java 2D graphics device (such as the screen or a printer).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>colorBarArea</CODE> - the area within which the axis should be drawn.<DD><CODE>edge</CODE> - the location.</DL></DD></DL><HR><A NAME="getColorPalette()"><!-- --></A><H3>getColorPalette</H3><PRE>public <A HREF="../../../../org/jfree/chart/ui/ColorPalette.html" title="class in org.jfree.chart.ui">ColorPalette</A> <B>getColorPalette</B>()</PRE><DL><DD>Returns the color palette.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the color palette.</DL></DD></DL><HR><A NAME="getPaint(double)"><!-- --></A><H3>getPaint</H3><PRE>public java.awt.Paint <B>getPaint</B>(double value)</PRE><DL><DD>Returns the Paint associated with a value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the value.<DT><B>Returns:</B><DD>the paint.</DL></DD></DL><HR><A NAME="setColorPalette(org.jfree.chart.ui.ColorPalette)"><!-- --></A><H3>setColorPalette</H3><PRE>public void <B>setColorPalette</B>(<A HREF="../../../../org/jfree/chart/ui/ColorPalette.html" title="class in org.jfree.chart.ui">ColorPalette</A> palette)</PRE><DL><DD>Sets the color palette.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>palette</CODE> - the new palette.</DL></DD></DL><HR><A NAME="setMaximumValue(double)"><!-- --></A><H3>setMaximumValue</H3><PRE>public void <B>setMaximumValue</B>(double value)</PRE><DL><DD>Sets the maximum value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the maximum value.</DL></DD></DL><HR><A NAME="setMinimumValue(double)"><!-- --></A><H3>setMinimumValue</H3><PRE>public void <B>setMinimumValue</B>(double value)</PRE><DL><DD>Sets the minimum value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the minimum value.</DL></DD></DL><HR><A NAME="reserveSpace(java.awt.Graphics2D, org.jfree.chart.plot.Plot, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge, org.jfree.chart.axis.AxisSpace)"><!-- --></A><H3>reserveSpace</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/AxisSpace.html" title="class in org.jfree.chart.axis">AxisSpace</A> <B>reserveSpace</B>(java.awt.Graphics2D g2, <A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A> plot, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge, <A HREF="../../../../org/jfree/chart/axis/AxisSpace.html" title="class in org.jfree.chart.axis">AxisSpace</A> space)</PRE><DL><DD>Reserves the space required to draw the color bar.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plot</CODE> - the plot that the axis belongs to.<DD><CODE>plotArea</CODE> - the area within which the plot should be drawn.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>edge</CODE> - the axis location.<DD><CODE>space</CODE> - the space already reserved.<DT><B>Returns:</B><DD>The space required to draw the axis in the specified plot area.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if some component of the color bar does not support cloning.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Tests this object for equality with another.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to test against.<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/axis/CategoryTick.html" title="class in org.jfree.chart.axis"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/axis/CompassFormat.html" title="class in org.jfree.chart.axis"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ColorBar.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -