Java Doc for ScalablePanel.java in  » UML » jrefactory » org » acm » seguin » uml » line » 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 » UML » jrefactory » org.acm.seguin.uml.line 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.acm.seguin.uml.line.ScalablePanel

All known Subclasses:   org.acm.seguin.uml.line.SizableLabel,  org.acm.seguin.uml.line.EndPointPanel,  org.acm.seguin.uml.RoleHolder,
ScalablePanel
abstract public class ScalablePanel extends JPanel (Code)
Panel that can be scaled and shifted
author:
   Chris Seguin
author:
   Mike Atkinson
version:
   $Id: ScalablePanel.java,v 1.4 2003/07/29 20:51:57 mikeatkinson Exp $



Constructor Summary
public  ScalablePanel()
    
public  ScalablePanel(boolean doubleBuffered)
    
public  ScalablePanel(LayoutManager layout)
    
public  ScalablePanel(LayoutManager layout, boolean doubleBuffered)
    

Method Summary
protected  doublegetScale()
    
public  RectanglegetUnscaledBounds()
    
public  PointgetUnscaledLocation()
    
public  voidmove(int x, int y)
    
public  voidreshape(int x, int y, int w, int h)
    
public  voidresize(int w, int h)
    
public  voidresize(Dimension dim)
    
public  voidscale(double value)
    
protected  intscaleInteger(int value)
    
public  voidsetBounds(int x, int y, int w, int h)
    
public  voidsetBounds(Rectangle rect)
    
public  voidsetLocation(int x, int y)
    
public  voidsetLocation(Point pt)
    
public  voidsetSize(int w, int h)
    
public  voidsetSize(Dimension dim)
    
public  voidshift(int x, int y)
    
protected  intunscaleInteger(int value)
    


Constructor Detail
ScalablePanel
public ScalablePanel()(Code)
Constructor for the ScalablePanel object



ScalablePanel
public ScalablePanel(boolean doubleBuffered)(Code)
Constructor for the ScalablePanel object
Parameters:
  doubleBuffered - Description of Parameter



ScalablePanel
public ScalablePanel(LayoutManager layout)(Code)
Constructor for the ScalablePanel object
Parameters:
  layout - Description of Parameter



ScalablePanel
public ScalablePanel(LayoutManager layout, boolean doubleBuffered)(Code)
Constructor for the ScalablePanel object
Parameters:
  layout - Description of Parameter
Parameters:
  doubleBuffered - Description of Parameter




Method Detail
getScale
protected double getScale()(Code)
Return the scaling factor the scaling factor



getUnscaledBounds
public Rectangle getUnscaledBounds()(Code)
Get the bounds without scaling factors the rectangle containing the boundaries



getUnscaledLocation
public Point getUnscaledLocation()(Code)
Computes the location without the scaling factor the unscaled location



move
public void move(int x, int y)(Code)
Invokes old version of setLocation
Parameters:
  x - Description of Parameter
Parameters:
  y - Description of Parameter



reshape
public void reshape(int x, int y, int w, int h)(Code)
Description of the Method
Parameters:
  x - Description of Parameter
Parameters:
  y - Description of Parameter
Parameters:
  w - Description of Parameter
Parameters:
  h - Description of Parameter



resize
public void resize(int w, int h)(Code)
Description of the Method
Parameters:
  w - Description of Parameter
Parameters:
  h - Description of Parameter



resize
public void resize(Dimension dim)(Code)
Description of the Method
Parameters:
  dim - Description of Parameter



scale
public void scale(double value)(Code)
Scales the image
Parameters:
  value - the amount to scale



scaleInteger
protected int scaleInteger(int value)(Code)
Scale the integer
Parameters:
  value - the value to be converted the scaled version



setBounds
public void setBounds(int x, int y, int w, int h)(Code)
Sets the Bounds attribute of the ScalablePanel object
Parameters:
  x - The new Bounds value
Parameters:
  y - The new Bounds value
Parameters:
  w - The new Bounds value
Parameters:
  h - The new Bounds value



setBounds
public void setBounds(Rectangle rect)(Code)
Sets the Bounds attribute of the ScalablePanel object
Parameters:
  rect - The new Bounds value



setLocation
public void setLocation(int x, int y)(Code)
Sets the Location attribute of the ScalablePanel object
Parameters:
  x - The new Location value
Parameters:
  y - The new Location value



setLocation
public void setLocation(Point pt)(Code)
Sets the Location attribute of the ScalablePanel object
Parameters:
  pt - The new Location value



setSize
public void setSize(int w, int h)(Code)
Sets the Size attribute of the ScalablePanel object
Parameters:
  w - The new Size value
Parameters:
  h - The new Size value



setSize
public void setSize(Dimension dim)(Code)
Sets the Size attribute of the ScalablePanel object
Parameters:
  dim - The new Size value



shift
public void shift(int x, int y)(Code)
This method moves the class diagram around on the screen
Parameters:
  x - the x coordinate (scaled value)
Parameters:
  y - the y coordinate (scaled value)



unscaleInteger
protected int unscaleInteger(int value)(Code)
Inverse of the scaleInteger operation
Parameters:
  value - the input value the result of the unscape operation



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(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.