📄 rectangleconstraint.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#getWidthRange()">getWidthRange</A></B>()</CODE><BR> Returns the width range.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#toFixedHeight(double)">toFixedHeight</A></B>(double height)</CODE><BR> Returns a constraint that matches this one on the width attributes, but has a fixed height constraint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#toFixedWidth(double)">toFixedWidth</A></B>(double width)</CODE><BR> Returns a constraint that matches this one on the height attributes, but has a fixed width constraint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#toRangeHeight(org.jfree.data.Range)">toRangeHeight</A></B>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> range)</CODE><BR> Returns a constraint that matches this one on the width attributes, but has a range height constraint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#toRangeWidth(org.jfree.data.Range)">toRangeWidth</A></B>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> range)</CODE><BR> Returns a constraint that matches this one on the height attributes, but has a range width constraint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#toString()">toString</A></B>()</CODE><BR> Returns a string representation of this instance, mostly used for debugging purposes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#toUnconstrainedHeight()">toUnconstrainedHeight</A></B>()</CODE><BR> Returns a constraint that matches this one on the width attributes, but has no height constraint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html#toUnconstrainedWidth()">toUnconstrainedWidth</A></B>()</CODE><BR> Returns a constraint that matches this one on the height attributes, but has no width constraint.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="NONE"><!-- --></A><H3>NONE</H3><PRE>public static final <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.61"><B>NONE</B></A></PRE><DL><DD>An instance representing no constraint.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="RectangleConstraint(double, double)"><!-- --></A><H3>RectangleConstraint</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.89"><B>RectangleConstraint</B></A>(double w, double h)</PRE><DL><DD>Creates a new "fixed width and height" instance.<P><DL><DT><B>Parameters:</B><DD><CODE>w</CODE> - the fixed width.<DD><CODE>h</CODE> - the fixed height.</DL></DL><HR><A NAME="RectangleConstraint(org.jfree.data.Range, org.jfree.data.Range)"><!-- --></A><H3>RectangleConstraint</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.102"><B>RectangleConstraint</B></A>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> w, <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> h)</PRE><DL><DD>Creates a new "range width and height" instance.<P><DL><DT><B>Parameters:</B><DD><CODE>w</CODE> - the width range.<DD><CODE>h</CODE> - the height range.</DL></DL><HR><A NAME="RectangleConstraint(org.jfree.data.Range, double)"><!-- --></A><H3>RectangleConstraint</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.116"><B>RectangleConstraint</B></A>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> w, double h)</PRE><DL><DD>Creates a new constraint with a range for the width and a fixed height.<P><DL><DT><B>Parameters:</B><DD><CODE>w</CODE> - the width range.<DD><CODE>h</CODE> - the fixed height.</DL></DL><HR><A NAME="RectangleConstraint(double, org.jfree.data.Range)"><!-- --></A><H3>RectangleConstraint</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.130"><B>RectangleConstraint</B></A>(double w, <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> h)</PRE><DL><DD>Creates a new constraint with a fixed width and a range for the height.<P><DL><DT><B>Parameters:</B><DD><CODE>w</CODE> - the fixed width.<DD><CODE>h</CODE> - the height range.</DL></DL><HR><A NAME="RectangleConstraint(double, org.jfree.data.Range, org.jfree.chart.block.LengthConstraintType, double, org.jfree.data.Range, org.jfree.chart.block.LengthConstraintType)"><!-- --></A><H3>RectangleConstraint</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.147"><B>RectangleConstraint</B></A>(double w, <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> widthRange, <A HREF="../../../../org/jfree/chart/block/LengthConstraintType.html" title="class in org.jfree.chart.block">LengthConstraintType</A> widthConstraintType, double h, <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> heightRange, <A HREF="../../../../org/jfree/chart/block/LengthConstraintType.html" title="class in org.jfree.chart.block">LengthConstraintType</A> heightConstraintType)</PRE><DL><DD>Creates a new constraint.<P><DL><DT><B>Parameters:</B><DD><CODE>w</CODE> - the fixed or maximum width.<DD><CODE>widthRange</CODE> - the width range.<DD><CODE>widthConstraintType</CODE> - the width type.<DD><CODE>h</CODE> - the fixed or maximum height.<DD><CODE>heightRange</CODE> - the height range.<DD><CODE>heightConstraintType</CODE> - the height type.</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="getWidth()"><!-- --></A><H3>getWidth</H3><PRE>public double <A HREF="../../../../src-html/org/jfree/chart/block/RectangleConstraint.html#line.170"><B>getWidth</B></A>()</PRE><DL><DD>Returns the fixed width.<P><DD><DL><DT><B>Returns:</B><DD>The width.</DL></DD></DL><HR><A NAME="getWidthRange()"><!-- --></A><H3>getWidthRange</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.179"><B>getWidthRange</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="getWidthConstraintType()"><!-- --></A><H3>getWidthConstraintType</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.188"><B>getWidthConstraintType</B></A>()</PRE><DL><DD>Returns the constraint type.<P><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -