⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drawablelegenditem.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<PRE>public <A HREF="../../../org/jfree/chart/LegendItem.html" title="class in org.jfree.chart">LegendItem</A> <B>getItem</B>()</PRE><DL><DD>Returns the legend item.<P><DD><DL><DT><B>Returns:</B><DD>the legend item.</DL></DD></DL><HR><A NAME="getX()"><!-- --></A><H3>getX</H3><PRE>public double <B>getX</B>()</PRE><DL><DD>Get the x-coordinate for the item's location.<P><DD><DL><DT><B>Returns:</B><DD>the x-coordinate for the item's location.</DL></DD></DL><HR><A NAME="setX(double)"><!-- --></A><H3>setX</H3><PRE>public void <B>setX</B>(double&nbsp;x)</PRE><DL><DD>Set the x-coordinate for the item's location.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x-coordinate.</DL></DD></DL><HR><A NAME="getY()"><!-- --></A><H3>getY</H3><PRE>public double <B>getY</B>()</PRE><DL><DD>Get the y-coordinate for the item's location.<P><DD><DL><DT><B>Returns:</B><DD>the y-coordinate for the item's location.</DL></DD></DL><HR><A NAME="setY(double)"><!-- --></A><H3>setY</H3><PRE>public void <B>setY</B>(double&nbsp;y)</PRE><DL><DD>Set the y-coordinate for the item's location.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>y</CODE> - the y-coordinate.</DL></DD></DL><HR><A NAME="getWidth()"><!-- --></A><H3>getWidth</H3><PRE>public double <B>getWidth</B>()</PRE><DL><DD>Get the width of this item.<P><DD><DL><DT><B>Returns:</B><DD>the width.</DL></DD></DL><HR><A NAME="getHeight()"><!-- --></A><H3>getHeight</H3><PRE>public double <B>getHeight</B>()</PRE><DL><DD>Get the height of this item.<P><DD><DL><DT><B>Returns:</B><DD>the height.</DL></DD></DL><HR><A NAME="getMaxX()"><!-- --></A><H3>getMaxX</H3><PRE>public double <B>getMaxX</B>()</PRE><DL><DD>Returns the largest X coordinate of the framing rectangle of this legend  item.<P><DD><DL><DT><B>Returns:</B><DD>the largest x coordinate of the framing rectangle of this legend          item.</DL></DD></DL><HR><A NAME="getMaxY()"><!-- --></A><H3>getMaxY</H3><PRE>public double <B>getMaxY</B>()</PRE><DL><DD>Returns the largest Y coordinate of the framing rectangle of this legend  item.<P><DD><DL><DT><B>Returns:</B><DD>the largest Y coordinate of the framing rectangle of this legend          item.</DL></DD></DL><HR><A NAME="getMarker()"><!-- --></A><H3>getMarker</H3><PRE>public java.awt.Shape <B>getMarker</B>()</PRE><DL><DD>Get the marker.<P><DD><DL><DT><B>Returns:</B><DD>the shape used to indicate color on the legend for this item.</DL></DD></DL><HR><A NAME="setMarker(java.awt.Shape)"><!-- --></A><H3>setMarker</H3><PRE>public void <B>setMarker</B>(java.awt.Shape&nbsp;marker)</PRE><DL><DD>Set the marker.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>marker</CODE> - a shape used to indicate color on the legend for this item.</DL></DD></DL><HR><A NAME="isMarkerFilled()"><!-- --></A><H3>isMarkerFilled</H3><PRE>public boolean <B>isMarkerFilled</B>()</PRE><DL><DD>Returns a flag that controls whether or not the marker is filled.<P><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="setMarkerFilled(boolean)"><!-- --></A><H3>setMarkerFilled</H3><PRE>public void <B>setMarkerFilled</B>(boolean&nbsp;filled)</PRE><DL><DD>Sets a flag that controls whether or not the marker is filled.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>filled</CODE> - the flag.</DL></DD></DL><HR><A NAME="getLineStroke()"><!-- --></A><H3>getLineStroke</H3><PRE>public java.awt.Stroke <B>getLineStroke</B>()</PRE><DL><DD>Returns the stroke used to render the line for this series.<P><DD><DL><DT><B>Returns:</B><DD>The stroke.</DL></DD></DL><HR><A NAME="setLineStroke(java.awt.Stroke)"><!-- --></A><H3>setLineStroke</H3><PRE>public void <B>setLineStroke</B>(java.awt.Stroke&nbsp;s)</PRE><DL><DD>Sets the line stroke used to render the line for this series.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the new stroke to use.</DL></DD></DL><HR><A NAME="setLine(java.awt.geom.Line2D)"><!-- --></A><H3>setLine</H3><PRE>public void <B>setLine</B>(java.awt.geom.Line2D&nbsp;l)</PRE><DL><DD>Sets the line used to label this series.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - the new line to use.</DL></DD></DL><HR><A NAME="getLine()"><!-- --></A><H3>getLine</H3><PRE>public java.awt.geom.Line2D <B>getLine</B>()</PRE><DL><DD>Returns the list.<P><DD><DL><DT><B>Returns:</B><DD>The line.</DL></DD></DL><HR><A NAME="getLabelPosition()"><!-- --></A><H3>getLabelPosition</H3><PRE>public java.awt.geom.Point2D <B>getLabelPosition</B>()</PRE><DL><DD>Returns the label position.<P><DD><DL><DT><B>Returns:</B><DD>the label position.</DL></DD></DL><HR><A NAME="setLabelPosition(java.awt.geom.Point2D)"><!-- --></A><H3>setLabelPosition</H3><PRE>public void <B>setLabelPosition</B>(java.awt.geom.Point2D&nbsp;position)</PRE><DL><DD>Sets the label position.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the label position.</DL></DD></DL><HR><A NAME="setBounds(double, double, double, double)"><!-- --></A><H3>setBounds</H3><PRE>public void <B>setBounds</B>(double&nbsp;x,                      double&nbsp;y,                      double&nbsp;width,                      double&nbsp;height)</PRE><DL><DD>Set the bounds of this item.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - x-coordinate for the item's location.<DD><CODE>y</CODE> - y-coordinate for the item's location.<DD><CODE>width</CODE> - the width of this item.<DD><CODE>height</CODE> - the height of this item.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, double, double)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(java.awt.Graphics2D&nbsp;g2,                 double&nbsp;xOffset,                 double&nbsp;yOffset)</PRE><DL><DD>Draw the item. Currently it does nothing.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>xOffset</CODE> - offset for the x-coordinate.<DD><CODE>yOffset</CODE> - offset for the y-coordinate.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/jfree/chart/DefaultShapeFactory.html" title="class in org.jfree.chart"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart"><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>  &nbsp;&nbsp;<A HREF="DrawableLegendItem.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -