meterplot.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,724 行 · 第 1/5 页
HTML
1,724 行
<HR><A NAME="getDialShape()"><!-- --></A><H3>getDialShape</H3><PRE>public <A HREF="../../../../org/jfree/chart/plot/DialShape.html">DialShape</A> <B>getDialShape</B>()</PRE><DL><DD>Returns the dial shape.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The dial shape.</DL></DD></DL><HR><A NAME="setDialShape(org.jfree.chart.plot.DialShape)"><!-- --></A><H3>setDialShape</H3><PRE>public void <B>setDialShape</B>(<A HREF="../../../../org/jfree/chart/plot/DialShape.html">DialShape</A> shape)</PRE><DL><DD>Sets the dial shape.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>shape</CODE> - the shape.</DL></DD></DL><HR><A NAME="getDialBackgroundPaint()"><!-- --></A><H3>getDialBackgroundPaint</H3><PRE>public java.awt.Paint <B>getDialBackgroundPaint</B>()</PRE><DL><DD>Returns the paint for the dial background.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setDialBackgroundPaint(java.awt.Paint)"><!-- --></A><H3>setDialBackgroundPaint</H3><PRE>public void <B>setDialBackgroundPaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to fill the dial background. <P> If you set this to null, it will revert to the default color.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - The paint.</DL></DD></DL><HR><A NAME="getNeedlePaint()"><!-- --></A><H3>getNeedlePaint</H3><PRE>public java.awt.Paint <B>getNeedlePaint</B>()</PRE><DL><DD>Returns the paint for the needle.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setNeedlePaint(java.awt.Paint)"><!-- --></A><H3>setNeedlePaint</H3><PRE>public void <B>setNeedlePaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to display the needle. <P> If you set this to null, it will revert to the default color.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - The paint.</DL></DD></DL><HR><A NAME="getValueFont()"><!-- --></A><H3>getValueFont</H3><PRE>public java.awt.Font <B>getValueFont</B>()</PRE><DL><DD>Returns the font for the value label.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The font.</DL></DD></DL><HR><A NAME="setValueFont(java.awt.Font)"><!-- --></A><H3>setValueFont</H3><PRE>public void <B>setValueFont</B>(java.awt.Font font)</PRE><DL><DD>Sets the font used to display the value label. <P> If you set this to null, it will revert to the default font.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - The font.</DL></DD></DL><HR><A NAME="getValuePaint()"><!-- --></A><H3>getValuePaint</H3><PRE>public java.awt.Paint <B>getValuePaint</B>()</PRE><DL><DD>Returns the paint for the value label.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setValuePaint(java.awt.Paint)"><!-- --></A><H3>setValuePaint</H3><PRE>public void <B>setValuePaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to display the value label. <P> If you set this to null, it will revert to the default paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - The paint.</DL></DD></DL><HR><A NAME="getNormalPaint()"><!-- --></A><H3>getNormalPaint</H3><PRE>public java.awt.Paint <B>getNormalPaint</B>()</PRE><DL><DD>Returns the paint for the 'normal' level.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setNormalPaint(java.awt.Paint)"><!-- --></A><H3>setNormalPaint</H3><PRE>public void <B>setNormalPaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to display the 'normal' range. <P> If you set this to null, it will revert to the default color.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - The paint.</DL></DD></DL><HR><A NAME="getWarningPaint()"><!-- --></A><H3>getWarningPaint</H3><PRE>public java.awt.Paint <B>getWarningPaint</B>()</PRE><DL><DD>Returns the paint used to display the 'warning' range.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setWarningPaint(java.awt.Paint)"><!-- --></A><H3>setWarningPaint</H3><PRE>public void <B>setWarningPaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to display the 'warning' range. <P> If you set this to null, it will revert to the default color.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - The paint.</DL></DD></DL><HR><A NAME="getCriticalPaint()"><!-- --></A><H3>getCriticalPaint</H3><PRE>public java.awt.Paint <B>getCriticalPaint</B>()</PRE><DL><DD>Returns the paint used to display the 'critical' range.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setCriticalPaint(java.awt.Paint)"><!-- --></A><H3>setCriticalPaint</H3><PRE>public void <B>setCriticalPaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint used to display the 'critical' range. <P> If you set this to null, it will revert to the default color.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - The paint.</DL></DD></DL><HR><A NAME="getTickLabelType()"><!-- --></A><H3>getTickLabelType</H3><PRE>public int <B>getTickLabelType</B>()</PRE><DL><DD>Returns the tick label type. Defined by the constants: NO_LABELS, VALUE_LABELS.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The tick label type.</DL></DD></DL><HR><A NAME="setTickLabelType(int)"><!-- --></A><H3>setTickLabelType</H3><PRE>public void <B>setTickLabelType</B>(int type)</PRE><DL><DD>Sets the tick label type.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of tick labels - either <code>NO_LABELS</code> or <code>VALUE_LABELS</code></DL></DD></DL><HR><A NAME="getTickLabelFont()"><!-- --></A><H3>getTickLabelFont</H3><PRE>public java.awt.Font <B>getTickLabelFont</B>()</PRE><DL><DD>Returns the tick label font.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The tick label font.</DL></DD></DL><HR><A NAME="setTickLabelFont(java.awt.Font)"><!-- --></A><H3>setTickLabelFont</H3><PRE>public void <B>setTickLabelFont</B>(java.awt.Font font)</PRE><DL><DD>Sets the tick label font and notifies registered listeners that the plot has been changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - The new tick label font.</DL></DD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?