12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:28 CEST 2014 -->
- <title>AbstractBlock (JFreeChart Class Library (version 1.0.19-fx))</title>
- <meta name="date" content="2014-07-31">
- <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
- <script type="text/javascript" src="../../../../script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AbstractBlock (JFreeChart Class Library (version 1.0.19-fx))";
- }
- }
- catch(err) {
- }
- //-->
- var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":42,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/AbstractBlock.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li>Prev Class</li>
- <li><a href="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../index.html?org/jfree/chart/block/AbstractBlock.html" target="_top">Frames</a></li>
- <li><a href="AbstractBlock.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">org.jfree.chart.block</div>
- <h2 title="Class AbstractBlock" class="title">Class AbstractBlock</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>org.jfree.chart.block.AbstractBlock</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>All Implemented Interfaces:</dt>
- <dd>java.io.Serializable, java.lang.Cloneable</dd>
- </dl>
- <dl>
- <dt>Direct Known Subclasses:</dt>
- <dd><a href="../../../../org/jfree/chart/block/BlockContainer.html" title="class in org.jfree.chart.block">BlockContainer</a>, <a href="../../../../org/jfree/chart/block/ColorBlock.html" title="class in org.jfree.chart.block">ColorBlock</a>, <a href="../../../../org/jfree/chart/block/EmptyBlock.html" title="class in org.jfree.chart.block">EmptyBlock</a>, <a href="../../../../org/jfree/chart/block/LabelBlock.html" title="class in org.jfree.chart.block">LabelBlock</a>, <a href="../../../../org/jfree/chart/title/LegendGraphic.html" title="class in org.jfree.chart.title">LegendGraphic</a>, <a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></dd>
- </dl>
- <hr>
- <br>
- <pre>public class <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.72">AbstractBlock</a>
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable</pre>
- <div class="block">A convenience class for creating new classes that implement
- the <a href="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block"><code>Block</code></a> interface.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../serialized-form.html#org.jfree.chart.block.AbstractBlock">Serialized Form</a></dd>
- </dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier</th>
- <th class="colLast" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>protected </code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#AbstractBlock--">AbstractBlock</a></span>()</code>
- <div class="block">Creates a new block.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>org.jfree.ui.Size2D</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#arrange-java.awt.Graphics2D-">arrange</a></span>(java.awt.Graphics2D g2)</code>
- <div class="block">Arranges the contents of the block, with no constraints, and returns
- the block size.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>org.jfree.ui.Size2D</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#arrange-java.awt.Graphics2D-org.jfree.chart.block.RectangleConstraint-">arrange</a></span>(java.awt.Graphics2D g2,
- <a href="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</a> constraint)</code>
- <div class="block">Arranges the contents of the block, within the given constraints, and
- returns the block size.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>protected double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#calculateTotalHeight-double-">calculateTotalHeight</a></span>(double contentHeight)</code>
- <div class="block">Adds the margin, border and padding to the specified content height.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>protected double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#calculateTotalWidth-double-">calculateTotalWidth</a></span>(double contentWidth)</code>
- <div class="block">Adds the margin, border and padding to the specified content width.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>java.lang.Object</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#clone--">clone</a></span>()</code>
- <div class="block">Returns a clone of this block.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>protected void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#drawBorder-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">drawBorder</a></span>(java.awt.Graphics2D g2,
- java.awt.geom.Rectangle2D area)</code>
- <div class="block">Draws the border around the perimeter of the specified area.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object obj)</code>
- <div class="block">Tests this block for equality with an arbitrary object.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code><a href="../../../../org/jfree/chart/block/BlockBorder.html" title="class in org.jfree.chart.block">BlockBorder</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBorder--">getBorder</a></span>()</code>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span>
- <div class="block"><span class="deprecationComment">Use <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getFrame--"><code>getFrame()</code></a> instead.</span></div>
- </div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>java.awt.geom.Rectangle2D</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBounds--">getBounds</a></span>()</code>
- <div class="block">Returns the current bounds of the block.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentXOffset--">getContentXOffset</a></span>()</code>
- <div class="block">Returns the x-offset for the content within the block.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentYOffset--">getContentYOffset</a></span>()</code>
- <div class="block">Returns the y-offset for the content within the block.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code><a href="../../../../org/jfree/chart/block/BlockFrame.html" title="interface in org.jfree.chart.block">BlockFrame</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getFrame--">getFrame</a></span>()</code>
- <div class="block">Returns the current frame (border).</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getHeight--">getHeight</a></span>()</code>
- <div class="block">Returns the natural height of the block, if this is known in advance.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getID--">getID</a></span>()</code>
- <div class="block">Returns the id.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>org.jfree.ui.RectangleInsets</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getMargin--">getMargin</a></span>()</code>
- <div class="block">Returns the margin.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>org.jfree.ui.RectangleInsets</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getPadding--">getPadding</a></span>()</code>
- <div class="block">Returns the padding.</div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getWidth--">getWidth</a></span>()</code>
- <div class="block">Returns the natural width of the block, if this is known in advance.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBorder-org.jfree.chart.block.BlockBorder-">setBorder</a></span>(<a href="../../../../org/jfree/chart/block/BlockBorder.html" title="class in org.jfree.chart.block">BlockBorder</a> border)</code>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span>
- <div class="block"><span class="deprecationComment">Use <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setFrame-org.jfree.chart.block.BlockFrame-"><code>setFrame(BlockFrame)</code></a> instead.</span></div>
- </div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBorder-double-double-double-double-">setBorder</a></span>(double top,
- double left,
- double bottom,
- double right)</code>
- <div class="block">Sets a black border with the specified line widths.</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBounds-java.awt.geom.Rectangle2D-">setBounds</a></span>(java.awt.geom.Rectangle2D bounds)</code>
- <div class="block">Sets the bounds of the block.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setFrame-org.jfree.chart.block.BlockFrame-">setFrame</a></span>(<a href="../../../../org/jfree/chart/block/BlockFrame.html" title="interface in org.jfree.chart.block">BlockFrame</a> frame)</code>
- <div class="block">Sets the frame (or border).</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setHeight-double-">setHeight</a></span>(double height)</code>
- <div class="block">Sets the natural width of the block, if this is known in advance.</div>
- </td>
- </tr>
- <tr id="i22" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setID-java.lang.String-">setID</a></span>(java.lang.String id)</code>
- <div class="block">Sets the id for the block.</div>
- </td>
- </tr>
- <tr id="i23" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setMargin-double-double-double-double-">setMargin</a></span>(double top,
- double left,
- double bottom,
- double right)</code>
- <div class="block">Sets the margin.</div>
- </td>
- </tr>
- <tr id="i24" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setMargin-org.jfree.ui.RectangleInsets-">setMargin</a></span>(org.jfree.ui.RectangleInsets margin)</code>
- <div class="block">Sets the margin (use <code>RectangleInsets.ZERO_INSETS</code> for no
- padding).</div>
- </td>
- </tr>
- <tr id="i25" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setPadding-double-double-double-double-">setPadding</a></span>(double top,
- double left,
- double bottom,
- double right)</code>
- <div class="block">Sets the padding.</div>
- </td>
- </tr>
- <tr id="i26" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setPadding-org.jfree.ui.RectangleInsets-">setPadding</a></span>(org.jfree.ui.RectangleInsets padding)</code>
- <div class="block">Sets the padding (use <code>RectangleInsets.ZERO_INSETS</code> for no
- padding).</div>
- </td>
- </tr>
- <tr id="i27" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setWidth-double-">setWidth</a></span>(double width)</code>
- <div class="block">Sets the natural width of the block, if this is known in advance.</div>
- </td>
- </tr>
- <tr id="i28" class="altColor">
- <td class="colFirst"><code>protected <a href="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#toContentConstraint-org.jfree.chart.block.RectangleConstraint-">toContentConstraint</a></span>(<a href="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</a> c)</code>
- <div class="block">Returns a constraint for the content of this block that will result in
- the bounds of the block matching the specified constraint.</div>
- </td>
- </tr>
- <tr id="i29" class="rowColor">
- <td class="colFirst"><code>protected java.awt.geom.Rectangle2D</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimBorder-java.awt.geom.Rectangle2D-">trimBorder</a></span>(java.awt.geom.Rectangle2D area)</code>
- <div class="block">Reduces the specified area by the amount of space consumed
- by the border.</div>
- </td>
- </tr>
- <tr id="i30" class="altColor">
- <td class="colFirst"><code>protected java.awt.geom.Rectangle2D</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimMargin-java.awt.geom.Rectangle2D-">trimMargin</a></span>(java.awt.geom.Rectangle2D area)</code>
- <div class="block">Reduces the specified area by the amount of space consumed
- by the margin.</div>
- </td>
- </tr>
- <tr id="i31" class="rowColor">
- <td class="colFirst"><code>protected java.awt.geom.Rectangle2D</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimPadding-java.awt.geom.Rectangle2D-">trimPadding</a></span>(java.awt.geom.Rectangle2D area)</code>
- <div class="block">Reduces the specified area by the amount of space consumed
- by the padding.</div>
- </td>
- </tr>
- <tr id="i32" class="altColor">
- <td class="colFirst"><code>protected double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentHeight-double-">trimToContentHeight</a></span>(double fixedHeight)</code>
- <div class="block">Calculate the height available for content after subtracting
- the margin, border and padding space from the specified fixed
- height.</div>
- </td>
- </tr>
- <tr id="i33" class="rowColor">
- <td class="colFirst"><code>protected double</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentWidth-double-">trimToContentWidth</a></span>(double fixedWidth)</code>
- <div class="block">Calculate the width available for content after subtracting
- the margin, border and padding space from the specified fixed
- width.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="AbstractBlock--">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>AbstractBlock</h4>
- <pre>protected <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.109">AbstractBlock</a>()</pre>
- <div class="block">Creates a new block.</div>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="getID--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getID</h4>
- <pre>public java.lang.String <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.126">getID</a>()</pre>
- <div class="block">Returns the id.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The id (possibly <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setID-java.lang.String-"><code>setID(String)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setID-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setID</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.137">setID</a>(java.lang.String id)</pre>
- <div class="block">Sets the id for the block.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>id</code> - the id (<code>null</code> permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getID--"><code>getID()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getWidth--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getWidth</h4>
- <pre>public double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.150">getWidth</a>()</pre>
- <div class="block">Returns the natural width of the block, if this is known in advance.
- The actual width of the block may be overridden if layout constraints
- make this necessary.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The width.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setWidth-double-"><code>setWidth(double)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setWidth-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setWidth</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.161">setWidth</a>(double width)</pre>
- <div class="block">Sets the natural width of the block, if this is known in advance.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>width</code> - the width (in Java2D units)</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getWidth--"><code>getWidth()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getHeight--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getHeight</h4>
- <pre>public double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.174">getHeight</a>()</pre>
- <div class="block">Returns the natural height of the block, if this is known in advance.
- The actual height of the block may be overridden if layout constraints
- make this necessary.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The height.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setHeight-double-"><code>setHeight(double)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setHeight-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setHeight</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.185">setHeight</a>(double height)</pre>
- <div class="block">Sets the natural width of the block, if this is known in advance.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>height</code> - the width (in Java2D units)</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getHeight--"><code>getHeight()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getMargin--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMargin</h4>
- <pre>public org.jfree.ui.RectangleInsets <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.196">getMargin</a>()</pre>
- <div class="block">Returns the margin.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The margin (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getMargin--"><code>getMargin()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setMargin-org.jfree.ui.RectangleInsets-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setMargin</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.208">setMargin</a>(org.jfree.ui.RectangleInsets margin)</pre>
- <div class="block">Sets the margin (use <code>RectangleInsets.ZERO_INSETS</code> for no
- padding).</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>margin</code> - the margin (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getMargin--"><code>getMargin()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setMargin-double-double-double-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setMargin</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.223">setMargin</a>(double top,
- double left,
- double bottom,
- double right)</pre>
- <div class="block">Sets the margin.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>top</code> - the top margin.</dd>
- <dd><code>left</code> - the left margin.</dd>
- <dd><code>bottom</code> - the bottom margin.</dd>
- <dd><code>right</code> - the right margin.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getMargin--"><code>getMargin()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getBorder--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBorder</h4>
- <pre>public <a href="../../../../org/jfree/chart/block/BlockBorder.html" title="class in org.jfree.chart.block">BlockBorder</a> <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.235">getBorder</a>()</pre>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getFrame--"><code>getFrame()</code></a> instead.</span></div>
- <div class="block">Returns the border.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The border (never <code>null</code>).</dd>
- </dl>
- </li>
- </ul>
- <a name="setBorder-org.jfree.chart.block.BlockBorder-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setBorder</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.254">setBorder</a>(<a href="../../../../org/jfree/chart/block/BlockBorder.html" title="class in org.jfree.chart.block">BlockBorder</a> border)</pre>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setFrame-org.jfree.chart.block.BlockFrame-"><code>setFrame(BlockFrame)</code></a> instead.</span></div>
- <div class="block">Sets the border for the block (use <a href="../../../../org/jfree/chart/block/BlockBorder.html#NONE"><code>BlockBorder.NONE</code></a> for
- no border).</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>border</code> - the border (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBorder--"><code>getBorder()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setBorder-double-double-double-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setBorder</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.266">setBorder</a>(double top,
- double left,
- double bottom,
- double right)</pre>
- <div class="block">Sets a black border with the specified line widths.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>top</code> - the top border line width.</dd>
- <dd><code>left</code> - the left border line width.</dd>
- <dd><code>bottom</code> - the bottom border line width.</dd>
- <dd><code>right</code> - the right border line width.</dd>
- </dl>
- </li>
- </ul>
- <a name="getFrame--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFrame</h4>
- <pre>public <a href="../../../../org/jfree/chart/block/BlockFrame.html" title="interface in org.jfree.chart.block">BlockFrame</a> <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.279">getFrame</a>()</pre>
- <div class="block">Returns the current frame (border).</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The frame.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>1.0.5</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setFrame-org.jfree.chart.block.BlockFrame-"><code>setFrame(BlockFrame)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setFrame-org.jfree.chart.block.BlockFrame-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setFrame</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.291">setFrame</a>(<a href="../../../../org/jfree/chart/block/BlockFrame.html" title="interface in org.jfree.chart.block">BlockFrame</a> frame)</pre>
- <div class="block">Sets the frame (or border).</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>frame</code> - the frame (<code>null</code> not permitted).</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>1.0.5</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getFrame--"><code>getFrame()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getPadding--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getPadding</h4>
- <pre>public org.jfree.ui.RectangleInsets <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.303">getPadding</a>()</pre>
- <div class="block">Returns the padding.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The padding (never <code>null</code>).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setPadding-org.jfree.ui.RectangleInsets-"><code>setPadding(RectangleInsets)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setPadding-org.jfree.ui.RectangleInsets-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setPadding</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.315">setPadding</a>(org.jfree.ui.RectangleInsets padding)</pre>
- <div class="block">Sets the padding (use <code>RectangleInsets.ZERO_INSETS</code> for no
- padding).</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>padding</code> - the padding (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getPadding--"><code>getPadding()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setPadding-double-double-double-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setPadding</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.328">setPadding</a>(double top,
- double left,
- double bottom,
- double right)</pre>
- <div class="block">Sets the padding.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>top</code> - the top padding.</dd>
- <dd><code>left</code> - the left padding.</dd>
- <dd><code>bottom</code> - the bottom padding.</dd>
- <dd><code>right</code> - the right padding.</dd>
- </dl>
- </li>
- </ul>
- <a name="getContentXOffset--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getContentXOffset</h4>
- <pre>public double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.340">getContentXOffset</a>()</pre>
- <div class="block">Returns the x-offset for the content within the block.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The x-offset.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentYOffset--"><code>getContentYOffset()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getContentYOffset--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getContentYOffset</h4>
- <pre>public double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.352">getContentYOffset</a>()</pre>
- <div class="block">Returns the y-offset for the content within the block.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The y-offset.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentXOffset--"><code>getContentXOffset()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="arrange-java.awt.Graphics2D-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>arrange</h4>
- <pre>public org.jfree.ui.Size2D <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.365">arrange</a>(java.awt.Graphics2D g2)</pre>
- <div class="block">Arranges the contents of the block, with no constraints, and returns
- the block size.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>g2</code> - the graphics device.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The block size (in Java2D units, never <code>null</code>).</dd>
- </dl>
- </li>
- </ul>
- <a name="arrange-java.awt.Graphics2D-org.jfree.chart.block.RectangleConstraint-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>arrange</h4>
- <pre>public org.jfree.ui.Size2D <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.378">arrange</a>(java.awt.Graphics2D g2,
- <a href="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</a> constraint)</pre>
- <div class="block">Arranges the contents of the block, within the given constraints, and
- returns the block size.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>g2</code> - the graphics device.</dd>
- <dd><code>constraint</code> - the constraint (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The block size (in Java2D units, never <code>null</code>).</dd>
- </dl>
- </li>
- </ul>
- <a name="getBounds--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBounds</h4>
- <pre>public java.awt.geom.Rectangle2D <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.390">getBounds</a>()</pre>
- <div class="block">Returns the current bounds of the block.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The bounds.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBounds-java.awt.geom.Rectangle2D-"><code>setBounds(Rectangle2D)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="setBounds-java.awt.geom.Rectangle2D-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setBounds</h4>
- <pre>public void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.401">setBounds</a>(java.awt.geom.Rectangle2D bounds)</pre>
- <div class="block">Sets the bounds of the block.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>bounds</code> - the bounds (<code>null</code> not permitted).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBounds--"><code>getBounds()</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="trimToContentWidth-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>trimToContentWidth</h4>
- <pre>protected double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.417">trimToContentWidth</a>(double fixedWidth)</pre>
- <div class="block">Calculate the width available for content after subtracting
- the margin, border and padding space from the specified fixed
- width.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>fixedWidth</code> - the fixed width.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The available space.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentHeight-double-"><code>trimToContentHeight(double)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="trimToContentHeight-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>trimToContentHeight</h4>
- <pre>protected double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.435">trimToContentHeight</a>(double fixedHeight)</pre>
- <div class="block">Calculate the height available for content after subtracting
- the margin, border and padding space from the specified fixed
- height.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>fixedHeight</code> - the fixed height.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The available space.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentWidth-double-"><code>trimToContentWidth(double)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="toContentConstraint-org.jfree.chart.block.RectangleConstraint-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>toContentConstraint</h4>
- <pre>protected <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/AbstractBlock.html#line.450">toContentConstraint</a>(<a href="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</a> c)</pre>
- <div class="block">Returns a constraint for the content of this block that will result in
- the bounds of the block matching the specified constraint.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>c</code> - the outer constraint (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The content constraint.</dd>
- </dl>
- </li>
- </ul>
- <a name="calculateTotalWidth-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>calculateTotalWidth</h4>
- <pre>protected double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.504">calculateTotalWidth</a>(double contentWidth)</pre>
- <div class="block">Adds the margin, border and padding to the specified content width.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>contentWidth</code> - the content width.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The adjusted width.</dd>
- </dl>
- </li>
- </ul>
- <a name="calculateTotalHeight-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>calculateTotalHeight</h4>
- <pre>protected double <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.519">calculateTotalHeight</a>(double contentHeight)</pre>
- <div class="block">Adds the margin, border and padding to the specified content height.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>contentHeight</code> - the content height.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The adjusted height.</dd>
- </dl>
- </li>
- </ul>
- <a name="trimMargin-java.awt.geom.Rectangle2D-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>trimMargin</h4>
- <pre>protected java.awt.geom.Rectangle2D <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.535">trimMargin</a>(java.awt.geom.Rectangle2D area)</pre>
- <div class="block">Reduces the specified area by the amount of space consumed
- by the margin.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>area</code> - the area (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The trimmed area.</dd>
- </dl>
- </li>
- </ul>
- <a name="trimBorder-java.awt.geom.Rectangle2D-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>trimBorder</h4>
- <pre>protected java.awt.geom.Rectangle2D <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.549">trimBorder</a>(java.awt.geom.Rectangle2D area)</pre>
- <div class="block">Reduces the specified area by the amount of space consumed
- by the border.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>area</code> - the area (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The trimmed area.</dd>
- </dl>
- </li>
- </ul>
- <a name="trimPadding-java.awt.geom.Rectangle2D-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>trimPadding</h4>
- <pre>protected java.awt.geom.Rectangle2D <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.563">trimPadding</a>(java.awt.geom.Rectangle2D area)</pre>
- <div class="block">Reduces the specified area by the amount of space consumed
- by the padding.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>area</code> - the area (<code>null</code> not permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>The trimmed area.</dd>
- </dl>
- </li>
- </ul>
- <a name="drawBorder-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>drawBorder</h4>
- <pre>protected void <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.575">drawBorder</a>(java.awt.Graphics2D g2,
- java.awt.geom.Rectangle2D area)</pre>
- <div class="block">Draws the border around the perimeter of the specified area.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>g2</code> - the graphics device.</dd>
- <dd><code>area</code> - the area.</dd>
- </dl>
- </li>
- </ul>
- <a name="equals-java.lang.Object-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>equals</h4>
- <pre>public boolean <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.587">equals</a>(java.lang.Object obj)</pre>
- <div class="block">Tests this block for equality with an arbitrary object.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code>equals</code> in class <code>java.lang.Object</code></dd>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A boolean.</dd>
- </dl>
- </li>
- </ul>
- <a name="clone--">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>clone</h4>
- <pre>public java.lang.Object <a href="../../../../src-html/org/jfree/chart/block/AbstractBlock.html#line.628">clone</a>()
- throws java.lang.CloneNotSupportedException</pre>
- <div class="block">Returns a clone of this block.</div>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code>clone</code> in class <code>java.lang.Object</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>A clone.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.lang.CloneNotSupportedException</code> - if there is a problem creating the
- clone.</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/AbstractBlock.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../index-files/index-1.html">Index</a></li>
- <li><a href="../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li>Prev Class</li>
- <li><a href="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../index.html?org/jfree/chart/block/AbstractBlock.html" target="_top">Frames</a></li>
- <li><a href="AbstractBlock.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- </body>
- </html>
|