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

📄 rectangleconstraint.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>Returns:</B><DD>The constraint type (never <code>null</code>).</DL></DD></DL><HR><A NAME="getHeight()"><!-- --></A><H3>getHeight</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.197"><B>getHeight</B></A>()</PRE><DL><DD>Returns the fixed height.<P><DD><DL><DT><B>Returns:</B><DD>The height.</DL></DD></DL><HR><A NAME="getHeightRange()"><!-- --></A><H3>getHeightRange</H3><PRE>public <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.206"><B>getHeightRange</B></A>()</PRE><DL><DD>Returns the width range.<P><DD><DL><DT><B>Returns:</B><DD>The range (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="getHeightConstraintType()"><!-- --></A><H3>getHeightConstraintType</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/LengthConstraintType.html" title="class in org.jfree.chart.block">LengthConstraintType</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.215"><B>getHeightConstraintType</B></A>()</PRE><DL><DD>Returns the constraint type.<P><DD><DL><DT><B>Returns:</B><DD>The constraint type (never <code>null</code>).</DL></DD></DL><HR><A NAME="toUnconstrainedWidth()"><!-- --></A><H3>toUnconstrainedWidth</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.225"><B>toUnconstrainedWidth</B></A>()</PRE><DL><DD>Returns a constraint that matches this one on the height attributes, but has no width constraint.<P><DD><DL><DT><B>Returns:</B><DD>A new constraint.</DL></DD></DL><HR><A NAME="toUnconstrainedHeight()"><!-- --></A><H3>toUnconstrainedHeight</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.243"><B>toUnconstrainedHeight</B></A>()</PRE><DL><DD>Returns a constraint that matches this one on the width attributes, but has no height constraint.<P><DD><DL><DT><B>Returns:</B><DD>A new constraint.</DL></DD></DL><HR><A NAME="toFixedWidth(double)"><!-- --></A><H3>toFixedWidth</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.263"><B>toFixedWidth</B></A>(double&nbsp;width)</PRE><DL><DD>Returns a constraint that matches this one on the height attributes, but has a fixed width constraint.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the fixed width.<DT><B>Returns:</B><DD>A new constraint.</DL></DD></DL><HR><A NAME="toFixedHeight(double)"><!-- --></A><H3>toFixedHeight</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.278"><B>toFixedHeight</B></A>(double&nbsp;height)</PRE><DL><DD>Returns a constraint that matches this one on the width attributes, but has a fixed height constraint.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the fixed height.<DT><B>Returns:</B><DD>A new constraint.</DL></DD></DL><HR><A NAME="toRangeWidth(org.jfree.data.Range)"><!-- --></A><H3>toRangeWidth</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.293"><B>toRangeWidth</B></A>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A>&nbsp;range)</PRE><DL><DD>Returns a constraint that matches this one on the height attributes, but has a range width constraint.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>range</CODE> - the width range (<code>null</code> not permitted).<DT><B>Returns:</B><DD>A new constraint.</DL></DD></DL><HR><A NAME="toRangeHeight(org.jfree.data.Range)"><!-- --></A><H3>toRangeHeight</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.311"><B>toRangeHeight</B></A>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A>&nbsp;range)</PRE><DL><DD>Returns a constraint that matches this one on the width attributes, but has a range height constraint.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>range</CODE> - the height range (<code>null</code> not permitted).<DT><B>Returns:</B><DD>A new constraint.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.327"><B>toString</B></A>()</PRE><DL><DD>Returns a string representation of this instance, mostly used for debugging purposes.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A string.</DL></DD></DL><HR><A NAME="calculateConstrainedSize(org.jfree.ui.Size2D)"><!-- --></A><H3>calculateConstrainedSize</H3><PRE>public org.jfree.ui.Size2D <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.341"><B>calculateConstrainedSize</B></A>(org.jfree.ui.Size2D&nbsp;base)</PRE><DL><DD>Returns the new size that reflects the constraints defined by this  instance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>base</CODE> - the base size.<DT><B>Returns:</B><DD>The constrained size.</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>&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="class-use/RectangleConstraint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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-files/index-1.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/block/LengthConstraintType.html" title="class in org.jfree.chart.block"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/jfree/chart/block/RectangleConstraint.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RectangleConstraint.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -