axis.html

来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,523 行 · 第 1/4 页

HTML
1,523 行
字号
<HR><A NAME="setLabelInsets(java.awt.Insets)"><!-- --></A><H3>setLabelInsets</H3><PRE>public void <B>setLabelInsets</B>(java.awt.Insets&nbsp;insets)</PRE><DL><DD>Sets the insets for the axis label, and notifies registered listeners that the axis has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>insets</CODE> - the new label insets.</DL></DD></DL><HR><A NAME="getLabelAngle()"><!-- --></A><H3>getLabelAngle</H3><PRE>public double <B>getLabelAngle</B>()</PRE><DL><DD>Returns the angle of the axis label.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The angle.</DL></DD></DL><HR><A NAME="setLabelAngle(double)"><!-- --></A><H3>setLabelAngle</H3><PRE>public void <B>setLabelAngle</B>(double&nbsp;angle)</PRE><DL><DD>Sets the angle for the label.  After the change is made, an <A HREF="../../../../org/jfree/chart/event/AxisChangeEvent.html"><CODE>AxisChangeEvent</CODE></A> is sent to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>angle</CODE> - the angle (in radians).</DL></DD></DL><HR><A NAME="isTickLabelsVisible()"><!-- --></A><H3>isTickLabelsVisible</H3><PRE>public boolean <B>isTickLabelsVisible</B>()</PRE><DL><DD>Returns a flag indicating whether or not the tick labels are visible.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the flag.</DL></DD></DL><HR><A NAME="setTickLabelsVisible(boolean)"><!-- --></A><H3>setTickLabelsVisible</H3><PRE>public void <B>setTickLabelsVisible</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets the flag that determines whether or not the tick labels are visible. <P> Registered listeners are notified of a general change to the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="getTickLabelFont()"><!-- --></A><H3>getTickLabelFont</H3><PRE>public java.awt.Font <B>getTickLabelFont</B>()</PRE><DL><DD>Returns the font used for the tick labels (if showing).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The font (should never be <code>null</code>).</DL></DD></DL><HR><A NAME="setTickLabelFont(java.awt.Font)"><!-- --></A><H3>setTickLabelFont</H3><PRE>public void <B>setTickLabelFont</B>(java.awt.Font&nbsp;font)</PRE><DL><DD>Sets the font for the tick labels.  An <A HREF="../../../../org/jfree/chart/event/AxisChangeEvent.html"><CODE>AxisChangeEvent</CODE></A> is sent to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - the font (<code>null</code> not allowed).</DL></DD></DL><HR><A NAME="getTickLabelPaint()"><!-- --></A><H3>getTickLabelPaint</H3><PRE>public java.awt.Paint <B>getTickLabelPaint</B>()</PRE><DL><DD>Returns the color/shade used for the tick labels.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the color/shade used for the tick labels.</DL></DD></DL><HR><A NAME="setTickLabelPaint(java.awt.Paint)"><!-- --></A><H3>setTickLabelPaint</H3><PRE>public void <B>setTickLabelPaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the color/shade used to draw tick labels (if they are showing). <P> Registered listeners are notified of a general change to the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the new color/shade.</DL></DD></DL><HR><A NAME="getTickLabelInsets()"><!-- --></A><H3>getTickLabelInsets</H3><PRE>public java.awt.Insets <B>getTickLabelInsets</B>()</PRE><DL><DD>Returns the insets for the tick labels.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the insets for the tick labels.</DL></DD></DL><HR><A NAME="setTickLabelInsets(java.awt.Insets)"><!-- --></A><H3>setTickLabelInsets</H3><PRE>public void <B>setTickLabelInsets</B>(java.awt.Insets&nbsp;insets)</PRE><DL><DD>Sets the insets for the tick labels, and notifies registered listeners that the axis has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>insets</CODE> - the new tick label insets.</DL></DD></DL><HR><A NAME="isTickMarksVisible()"><!-- --></A><H3>isTickMarksVisible</H3><PRE>public boolean <B>isTickMarksVisible</B>()</PRE><DL><DD>Returns the flag that indicates whether or not the tick marks are showing.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the flag that indicates whether or not the tick marks are showing.</DL></DD></DL><HR><A NAME="setTickMarksVisible(boolean)"><!-- --></A><H3>setTickMarksVisible</H3><PRE>public void <B>setTickMarksVisible</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets the flag that indicates whether or not the tick marks are showing. <P> Registered listeners are notified of a general change to the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="getTickMarkInsideLength()"><!-- --></A><H3>getTickMarkInsideLength</H3><PRE>public float <B>getTickMarkInsideLength</B>()</PRE><DL><DD>Returns the inside length of the tick marks.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the length.</DL></DD></DL><HR><A NAME="setTickMarkInsideLength(float)"><!-- --></A><H3>setTickMarkInsideLength</H3><PRE>public void <B>setTickMarkInsideLength</B>(float&nbsp;length)</PRE><DL><DD>Sets the inside length of the tick marks.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>length</CODE> - the new length.</DL></DD></DL><HR><A NAME="getTickMarkOutsideLength()"><!-- --></A><H3>getTickMarkOutsideLength</H3><PRE>public float <B>getTickMarkOutsideLength</B>()</PRE><DL><DD>Returns the outside length of the tick marks.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the length.</DL></DD></DL><HR><A NAME="setTickMarkOutsideLength(float)"><!-- --></A><H3>setTickMarkOutsideLength</H3><PRE>public void <B>setTickMarkOutsideLength</B>(float&nbsp;length)</PRE><DL><DD>Sets the outside length of the tick marks.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>length</CODE> - the new length.</DL></DD></DL><HR><A NAME="getTickMarkStroke()"><!-- --></A><H3>getTickMarkStroke</H3><PRE>public java.awt.Stroke <B>getTickMarkStroke</B>()</PRE><DL><DD>Returns the pen/brush used to draw tick marks (if they are showing).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the pen/brush used to draw tick marks.</DL></DD></DL><HR><A NAME="setTickMarkStroke(java.awt.Stroke)"><!-- --></A><H3>setTickMarkStroke</H3><PRE>public void <B>setTickMarkStroke</B>(java.awt.Stroke&nbsp;stroke)</PRE><DL><DD>Sets the pen/brush used to draw tick marks (if they are showing). <P> Registered listeners are notified of a general change to the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the new pen/brush (null not permitted).</DL></DD></DL><HR><A NAME="getTickMarkPaint()"><!-- --></A><H3>getTickMarkPaint</H3><PRE>public java.awt.Paint <B>getTickMarkPaint</B>()</PRE><DL><DD>Returns the paint used to draw tick marks (if they are showing).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the paint.</DL></DD></DL><HR><A NAME="setTickMarkPaint(java.awt.Paint)"><!-- --></A><H3>setTickMarkPaint</H3><PRE>public void <B>setTickMarkPaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the paint used to draw tick marks (if they are showing). <P> Registered listeners are notified of a general change to the axis.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the new paint (null not permitted).</DL></DD></DL><HR><A NAME="getTicks()"><!-- --></A><H3>getTicks</H3><PRE>public java.util.List <B>getTicks</B>()</PRE><DL><DD>Returns the current list of ticks.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ticks.</DL></DD></DL><HR><A NAME="getPlot()"><!-- --></A><H3>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?