~ubuntu-branches/ubuntu/saucy/libjgraph-java/saucy

« back to all changes in this revision

Viewing changes to doc/api/org/jgraph/graph/EdgeRenderer.html

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2011-02-09 18:37:22 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110209183722-9so2kaovf53l6lx4
* New upstream release.
* debian/control: 
  - set Section to java
  - change build dependency from default-jdk-builddep to default-jdk
  - add ${misc:Depends} to Depends:.
* Change source URL in debian/copyright and debian/watch.
* Switch from dh_wraporig to repack.sh for repackaging.
* Switch to source format 3.0 (quilt).
* Set Standards-Version to 3.9.1 (no changes).
* Use debhelper 7 (debian/{rules,compat,control})
* Update patch and patch headers.
* debian/rules: don't build apidocs twice.
* debian/copyright: update years of copyright and formatting.
* Register API specification with doc-base system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!--NewPage-->
3
3
<HTML>
4
4
<HEAD>
5
 
<!-- Generated by javadoc (build 1.4.2_17) on Thu Nov 13 00:41:59 GMT 2008 -->
 
5
<!-- Generated by javadoc (build 1.4.2_17) on Thu Sep 24 15:03:21 BST 2009 -->
6
6
<TITLE>
7
 
EdgeRenderer (JGraph v5.12.2.1 API Specification)
 
7
EdgeRenderer (JGraph v5.12.4.2 API Specification)
8
8
</TITLE>
9
9
 
10
10
<META NAME="keywords" CONTENT="org.jgraph.graph.EdgeRenderer class">
14
14
<SCRIPT type="text/javascript">
15
15
function windowTitle()
16
16
{
17
 
    parent.document.title="EdgeRenderer (JGraph v5.12.2.1 API Specification)";
 
17
    parent.document.title="EdgeRenderer (JGraph v5.12.4.2 API Specification)";
18
18
}
19
19
</SCRIPT>
20
20
 
44
44
</TABLE>
45
45
</TD>
46
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47
 
<p><b>JGraph</b><br>v5.12.2.1</p></EM>
 
47
<p><b>JGraph</b><br>v5.12.4.2</p></EM>
48
48
</TD>
49
49
</TR>
50
50
 
316
316
</TR>
317
317
<TR BGCOLOR="white" CLASS="TableRowColor">
318
318
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
319
<CODE>static&nbsp;boolean</CODE></FONT></TD>
 
320
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#HIT_LABEL_EXACT">HIT_LABEL_EXACT</A></B></CODE>
 
321
 
 
322
<BR>
 
323
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switch for exact label hit detection on rotated labels.</TD>
 
324
</TR>
 
325
<TR BGCOLOR="white" CLASS="TableRowColor">
 
326
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319
327
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
320
328
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#isMoveBelowZero">isMoveBelowZero</A></B></CODE>
321
329
 
498
506
</TR>
499
507
<TR BGCOLOR="white" CLASS="TableRowColor">
500
508
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
509
<CODE>protected &nbsp;void</CODE></FONT></TD>
 
510
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#afterEdgePaint(java.awt.Graphics)">afterEdgePaint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
 
511
 
 
512
<BR>
 
513
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hook method for painting after the default painting</TD>
 
514
</TR>
 
515
<TR BGCOLOR="white" CLASS="TableRowColor">
 
516
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
517
<CODE>protected &nbsp;void</CODE></FONT></TD>
 
518
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#beforeEdgePaint(java.awt.Graphics)">beforeEdgePaint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
 
519
 
 
520
<BR>
 
521
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hook method for painting prior to default painting</TD>
 
522
</TR>
 
523
<TR BGCOLOR="white" CLASS="TableRowColor">
 
524
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
501
525
<CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
502
526
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#createLineEnd(int, int, java.awt.geom.Point2D, java.awt.geom.Point2D)">createLineEnd</A></B>(int&nbsp;size,
503
527
              int&nbsp;style,
752
776
<TR BGCOLOR="white" CLASS="TableRowColor">
753
777
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
754
778
<CODE>protected &nbsp;void</CODE></FONT></TD>
 
779
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#paintEdge(java.awt.Graphics)">paintEdge</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
 
780
 
 
781
<BR>
 
782
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints the edge itself</TD>
 
783
</TR>
 
784
<TR BGCOLOR="white" CLASS="TableRowColor">
 
785
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
786
<CODE>protected &nbsp;void</CODE></FONT></TD>
755
787
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#paintLabel(java.awt.Graphics, java.lang.String, java.awt.geom.Point2D, boolean)">paintLabel</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g,
756
788
           <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;label,
757
789
           <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;p,
763
795
<TR BGCOLOR="white" CLASS="TableRowColor">
764
796
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
765
797
<CODE>protected &nbsp;void</CODE></FONT></TD>
 
798
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#paintLabels(java.awt.Graphics)">paintLabels</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
 
799
 
 
800
<BR>
 
801
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the edge labels</TD>
 
802
</TR>
 
803
<TR BGCOLOR="white" CLASS="TableRowColor">
 
804
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
805
<CODE>protected &nbsp;void</CODE></FONT></TD>
 
806
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#paintSelection(java.awt.Graphics)">paintSelection</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
 
807
 
 
808
<BR>
 
809
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints any selection effect applied to the edge</TD>
 
810
</TR>
 
811
<TR BGCOLOR="white" CLASS="TableRowColor">
 
812
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
813
<CODE>protected &nbsp;void</CODE></FONT></TD>
766
814
<TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeRenderer.html#paintSelectionBorder(java.awt.Graphics)">paintSelectionBorder</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
767
815
 
768
816
<BR>
870
918
</TR>
871
919
</TABLE>
872
920
 
 
921
<A NAME="HIT_LABEL_EXACT"><!-- --></A><H3>
 
922
HIT_LABEL_EXACT</H3>
 
923
<PRE>
 
924
public static boolean <B>HIT_LABEL_EXACT</B></PRE>
 
925
<DL>
 
926
<DD>Switch for exact label hit detection on rotated labels. Default is false.
 
927
<P>
 
928
<DL>
 
929
</DL>
 
930
</DL>
 
931
<HR>
 
932
 
873
933
<A NAME="fontGraphics"><!-- --></A><H3>
874
934
fontGraphics</H3>
875
935
<PRE>
1618
1678
</DL>
1619
1679
<HR>
1620
1680
 
 
1681
<A NAME="paintLabels(java.awt.Graphics)"><!-- --></A><H3>
 
1682
paintLabels</H3>
 
1683
<PRE>
 
1684
protected void <B>paintLabels</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
 
1685
<DL>
 
1686
<DD>Draws the edge labels
 
1687
<P>
 
1688
<DD><DL>
 
1689
</DL>
 
1690
</DD>
 
1691
<DD><DL>
 
1692
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics object being painted to</DL>
 
1693
</DD>
 
1694
</DL>
 
1695
<HR>
 
1696
 
 
1697
<A NAME="paintEdge(java.awt.Graphics)"><!-- --></A><H3>
 
1698
paintEdge</H3>
 
1699
<PRE>
 
1700
protected void <B>paintEdge</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
 
1701
<DL>
 
1702
<DD>Paints the edge itself
 
1703
<P>
 
1704
<DD><DL>
 
1705
</DL>
 
1706
</DD>
 
1707
<DD><DL>
 
1708
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics object being painted to</DL>
 
1709
</DD>
 
1710
</DL>
 
1711
<HR>
 
1712
 
 
1713
<A NAME="paintSelection(java.awt.Graphics)"><!-- --></A><H3>
 
1714
paintSelection</H3>
 
1715
<PRE>
 
1716
protected void <B>paintSelection</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
 
1717
<DL>
 
1718
<DD>Paints any selection effect applied to the edge
 
1719
<P>
 
1720
<DD><DL>
 
1721
</DL>
 
1722
</DD>
 
1723
<DD><DL>
 
1724
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics object being painted to</DL>
 
1725
</DD>
 
1726
</DL>
 
1727
<HR>
 
1728
 
 
1729
<A NAME="beforeEdgePaint(java.awt.Graphics)"><!-- --></A><H3>
 
1730
beforeEdgePaint</H3>
 
1731
<PRE>
 
1732
protected void <B>beforeEdgePaint</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
 
1733
<DL>
 
1734
<DD>Hook method for painting prior to default painting
 
1735
<P>
 
1736
<DD><DL>
 
1737
</DL>
 
1738
</DD>
 
1739
<DD><DL>
 
1740
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics object being painted to</DL>
 
1741
</DD>
 
1742
</DL>
 
1743
<HR>
 
1744
 
 
1745
<A NAME="afterEdgePaint(java.awt.Graphics)"><!-- --></A><H3>
 
1746
afterEdgePaint</H3>
 
1747
<PRE>
 
1748
protected void <B>afterEdgePaint</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
 
1749
<DL>
 
1750
<DD>Hook method for painting after the default painting
 
1751
<P>
 
1752
<DD><DL>
 
1753
</DL>
 
1754
</DD>
 
1755
<DD><DL>
 
1756
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics object being painted to</DL>
 
1757
</DD>
 
1758
</DL>
 
1759
<HR>
 
1760
 
1621
1761
<A NAME="paintSelectionBorder(java.awt.Graphics)"><!-- --></A><H3>
1622
1762
paintSelectionBorder</H3>
1623
1763
<PRE>
2001
2141
</TABLE>
2002
2142
</TD>
2003
2143
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2004
 
<p><b>JGraph</b><br>v5.12.2.1</p></EM>
 
2144
<p><b>JGraph</b><br>v5.12.4.2</p></EM>
2005
2145
</TD>
2006
2146
</TR>
2007
2147