Java Doc for BifocalDistortion.java in  » Database-Client » prefuse » prefuse » action » distortion » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » prefuse » prefuse.action.distortion 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


prefuse.action.distortion.Distortion
   prefuse.action.distortion.BifocalDistortion

BifocalDistortion
public class BifocalDistortion extends Distortion (Code)

Computes a bifocal distortion of space, magnifying a focus region of space and uniformly demagnifying the rest of the space. The affect is akin to passing a magnifying glass over the data.

For more details on this form of transformation, see Y. K. Leung and M. D. Apperley, "A Review and Taxonomy of Distortion-Oriented Presentation Techniques", in Transactions of Computer-Human Interaction (TOCHI), 1(2): 126-160 (1994). Available online at portal.acm.org/citation.cfm?id=180173&dl=ACM.


author:
   jeffrey heer



Constructor Summary
public  BifocalDistortion()
     Create a new BifocalDistortion with default range and magnification.
public  BifocalDistortion(double range, double mag)
    

Create a new BifocalDistortion with the specified range and magnification.

public  BifocalDistortion(double xrange, double xmag, double yrange, double ymag)
    

Create a new BifocalDistortion with the specified range and magnification along both axes.

NOTE:if the range value times the magnification value is greater than 1, the resulting distortion can exceed the display bounds.


Parameters:
  xrange - the range around the focus that should be magnified alongthe x direction.

Method Summary
protected  doubledistortSize(Rectangle2D bbox, double x, double y, Point2D anchor, Rectangle2D bounds)
    
protected  doubledistortX(double x, Point2D a, Rectangle2D b)
    
protected  doubledistortY(double y, Point2D a, Rectangle2D b)
    
public  doublegetXMagnification()
     Returns the magnification factor for the x-axis.
public  doublegetXRange()
     Returns the range of the focal area along the x-axis.
public  doublegetYMagnification()
     Returns the magnification factor for the y-axis.
public  doublegetYRange()
     Returns the range of the focal area along the y-axis.
public  voidsetXMagnification(double mx)
     Sets the magnification factor for the x-axis.
public  voidsetXRange(double rx)
     Sets the range of the focal area along the x-axis.
public  voidsetYMagnification(double my)
     Sets the magnification factor for the y-axis.
public  voidsetYRange(double ry)
     Sets the range of the focal area along the y-axis.


Constructor Detail
BifocalDistortion
public BifocalDistortion()(Code)
Create a new BifocalDistortion with default range and magnification.



BifocalDistortion
public BifocalDistortion(double range, double mag)(Code)

Create a new BifocalDistortion with the specified range and magnification. The same range and magnification is used for both axes.

NOTE:if the range value times the magnification value is greater than 1, the resulting distortion can exceed the display bounds.


Parameters:
  range - the range around the focus that should be magnified. Thisspecifies the size of the magnified focus region, and should be in therange of 0 to 1, 0 being no magnification range and 1 being the wholedisplay.
Parameters:
  mag - how much magnification should be used in the focal area



BifocalDistortion
public BifocalDistortion(double xrange, double xmag, double yrange, double ymag)(Code)

Create a new BifocalDistortion with the specified range and magnification along both axes.

NOTE:if the range value times the magnification value is greater than 1, the resulting distortion can exceed the display bounds.


Parameters:
  xrange - the range around the focus that should be magnified alongthe x direction. This specifies the horizontal size of the magnified focus region, and should be a value between 0 and 1, 0 indicating nofocus region and 1 indicating the whole display.
Parameters:
  xmag - how much magnification along the x direction should be usedin the focal area
Parameters:
  yrange - the range around the focus that should be magnified alongthe y direction. This specifies the vertical size of the magnified focus region, and should be a value between 0 and 1, 0 indicating nofocus region and 1 indicating the whole display.
Parameters:
  ymag - how much magnification along the y direction should be usedin the focal area




Method Detail
distortSize
protected double distortSize(Rectangle2D bbox, double x, double y, Point2D anchor, Rectangle2D bounds)(Code)

See Also:   prefuse.action.distortion.Distortion.distortSize(java.awt.geom.Rectangle2Ddoubledoublejava.awt.geom.Point2Djava.awt.geom.Rectangle2D)



distortX
protected double distortX(double x, Point2D a, Rectangle2D b)(Code)

See Also:   prefuse.action.distortion.Distortion.distortX(doublejava.awt.geom.Point2Djava.awt.geom.Rectangle2D)



distortY
protected double distortY(double y, Point2D a, Rectangle2D b)(Code)

See Also:   prefuse.action.distortion.Distortion.distortY(doublejava.awt.geom.Point2Djava.awt.geom.Rectangle2D)



getXMagnification
public double getXMagnification()(Code)
Returns the magnification factor for the x-axis. Returns the magnification factor for the x-axis.



getXRange
public double getXRange()(Code)
Returns the range of the focal area along the x-axis. Returns the range of the focal area along the x-axis.



getYMagnification
public double getYMagnification()(Code)
Returns the magnification factor for the y-axis. Returns the magnification factor for the y-axis.



getYRange
public double getYRange()(Code)
Returns the range of the focal area along the y-axis. Returns the range of the focal area along the y-axis.



setXMagnification
public void setXMagnification(double mx)(Code)
Sets the magnification factor for the x-axis.
Parameters:
  mx - The magnification factor for the x-axis.



setXRange
public void setXRange(double rx)(Code)
Sets the range of the focal area along the x-axis.
Parameters:
  rx - The focal range for the x-axis, a value between 0 and 1.



setYMagnification
public void setYMagnification(double my)(Code)
Sets the magnification factor for the y-axis.
Parameters:
  my - The magnification factor for the y-axis.



setYRange
public void setYRange(double ry)(Code)
Sets the range of the focal area along the y-axis.
Parameters:
  ry - The focal range for the y-axis, a value between 0 and 1.



Fields inherited from prefuse.action.distortion.Distortion
protected boolean m_distortSize(Code)(Java Doc)
protected boolean m_distortX(Code)(Java Doc)
protected boolean m_distortY(Code)(Java Doc)

Methods inherited from prefuse.action.distortion.Distortion
protected Point2D correct(Point2D anchor, Rectangle2D bounds)(Code)(Java Doc)
abstract protected double distortSize(Rectangle2D bbox, double x, double y, Point2D anchor, Rectangle2D bounds)(Code)(Java Doc)
abstract protected double distortX(double x, Point2D anchor, Rectangle2D bounds)(Code)(Java Doc)
abstract protected double distortY(double y, Point2D anchor, Rectangle2D bounds)(Code)(Java Doc)
public boolean isSizeDistorted()(Code)(Java Doc)
public void run(double frac)(Code)(Java Doc)
public void setSizeDistorted(boolean s)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.