📄 rectangleconstraint.html
字号:
<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 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 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> 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> 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 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> </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/RectangleConstraint.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/block/LengthConstraintType.html" title="class in org.jfree.chart.block"><B>PREV CLASS</B></A> 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> <A HREF="RectangleConstraint.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -