📄 categorylabelposition.html
字号:
<A NAME="CategoryLabelPosition(org.jfree.ui.RectangleAnchor, org.jfree.text.TextBlockAnchor)"><!-- --></A><H3>CategoryLabelPosition</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.104"><B>CategoryLabelPosition</B></A>(org.jfree.ui.RectangleAnchor categoryAnchor, org.jfree.text.TextBlockAnchor labelAnchor)</PRE><DL><DD>Creates a new category label position record.<P><DL><DT><B>Parameters:</B><DD><CODE>categoryAnchor</CODE> - the category anchor (<code>null</code> not permitted).<DD><CODE>labelAnchor</CODE> - the label anchor (<code>null</code> not permitted).</DL></DL><HR><A NAME="CategoryLabelPosition(org.jfree.ui.RectangleAnchor, org.jfree.text.TextBlockAnchor, org.jfree.chart.axis.CategoryLabelWidthType, float)"><!-- --></A><H3>CategoryLabelPosition</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.123"><B>CategoryLabelPosition</B></A>(org.jfree.ui.RectangleAnchor categoryAnchor, org.jfree.text.TextBlockAnchor labelAnchor, <A HREF="../../../../org/jfree/chart/axis/CategoryLabelWidthType.html" title="class in org.jfree.chart.axis">CategoryLabelWidthType</A> widthType, float widthRatio)</PRE><DL><DD>Creates a new category label position record.<P><DL><DT><B>Parameters:</B><DD><CODE>categoryAnchor</CODE> - the category anchor (<code>null</code> not permitted).<DD><CODE>labelAnchor</CODE> - the label anchor (<code>null</code> not permitted).<DD><CODE>widthType</CODE> - the width type (<code>null</code> not permitted).<DD><CODE>widthRatio</CODE> - the maximum label width as a percentage (of the category space or the range space).</DL></DL><HR><A NAME="CategoryLabelPosition(org.jfree.ui.RectangleAnchor, org.jfree.text.TextBlockAnchor, org.jfree.ui.TextAnchor, double, org.jfree.chart.axis.CategoryLabelWidthType, float)"><!-- --></A><H3>CategoryLabelPosition</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.150"><B>CategoryLabelPosition</B></A>(org.jfree.ui.RectangleAnchor categoryAnchor, org.jfree.text.TextBlockAnchor labelAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle, <A HREF="../../../../org/jfree/chart/axis/CategoryLabelWidthType.html" title="class in org.jfree.chart.axis">CategoryLabelWidthType</A> widthType, float widthRatio)</PRE><DL><DD>Creates a new position record. The item label anchor is a point relative to the data item (dot, bar or other visual item) on a chart. The item label is aligned by aligning the text anchor with the item label anchor.<P><DL><DT><B>Parameters:</B><DD><CODE>categoryAnchor</CODE> - the category anchor (<code>null</code> not permitted).<DD><CODE>labelAnchor</CODE> - the label anchor (<code>null</code> not permitted).<DD><CODE>rotationAnchor</CODE> - the rotation anchor (<code>null</code> not permitted).<DD><CODE>angle</CODE> - the rotation angle (<code>null</code> not permitted).<DD><CODE>widthType</CODE> - the width type (<code>null</code> not permitted).<DD><CODE>widthRatio</CODE> - the maximum label width as a percentage (of the category space or the range space).</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getCategoryAnchor()"><!-- --></A><H3>getCategoryAnchor</H3><PRE>public org.jfree.ui.RectangleAnchor <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.190"><B>getCategoryAnchor</B></A>()</PRE><DL><DD>Returns the item label anchor.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The item label anchor (never <code>null</code>).</DL></DD></DL><HR><A NAME="getLabelAnchor()"><!-- --></A><H3>getLabelAnchor</H3><PRE>public org.jfree.text.TextBlockAnchor <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.199"><B>getLabelAnchor</B></A>()</PRE><DL><DD>Returns the text block anchor.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The text block anchor (never <code>null</code>).</DL></DD></DL><HR><A NAME="getRotationAnchor()"><!-- --></A><H3>getRotationAnchor</H3><PRE>public org.jfree.ui.TextAnchor <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.208"><B>getRotationAnchor</B></A>()</PRE><DL><DD>Returns the rotation anchor point.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The rotation anchor point (never <code>null</code>).</DL></DD></DL><HR><A NAME="getAngle()"><!-- --></A><H3>getAngle</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.217"><B>getAngle</B></A>()</PRE><DL><DD>Returns the angle of rotation for the label.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The angle (in radians).</DL></DD></DL><HR><A NAME="getWidthType()"><!-- --></A><H3>getWidthType</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/CategoryLabelWidthType.html" title="class in org.jfree.chart.axis">CategoryLabelWidthType</A> <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.226"><B>getWidthType</B></A>()</PRE><DL><DD>Returns the width calculation type.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The width calculation type.</DL></DD></DL><HR><A NAME="getWidthRatio()"><!-- --></A><H3>getWidthRatio</H3><PRE>public float <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.235"><B>getWidthRatio</B></A>()</PRE><DL><DD>Returns the ratio used to calculate the maximum category label width.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The ratio.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.246"><B>equals</B></A>(java.lang.Object obj)</PRE><DL><DD>Tests this instance for equality with an arbitrary object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/chart/axis/CategoryLabelPosition.html#line.280"><B>hashCode</B></A>()</PRE><DL><DD>Returns a hash code for this object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A hash code.</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=2 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="class-use/CategoryLabelPosition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-files/index-1.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/CategoryAxis3D.html" title="class in org.jfree.chart.axis"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/axis/CategoryLabelPositions.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?org/jfree/chart/axis/CategoryLabelPosition.html" target="_top"><B>FRAMES</B></A> <A HREF="CategoryLabelPosition.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -